Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4779/0.4779, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 349.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 101.4 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001154, allocations: 59.91 kB / 0.4891 GB, free: 7.68 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.4727, allocations: 70.05 MB / 0.5575 GB, free: 44.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6064/1.079, allocations: 173.5 MB / 0.7269 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01587/1.095, allocations: 12.67 MB / 0.7393 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/1.098, allocations: 30.97 kB / 0.7393 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001417/1.099, allocations: 362.5 kB / 0.7397 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003517/1.103, allocations: 0.8298 MB / 0.7405 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005542/1.108, allocations: 1.632 MB / 0.7421 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004239/1.112, allocations: 2.649 MB / 0.7447 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002633/1.115, allocations: 1.446 MB / 0.7461 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005959/1.121, allocations: 1.231 MB / 0.7473 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/1.123, allocations: 0.7957 MB / 0.7481 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002661/1.123, allocations: 86.88 kB / 0.7481 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003512/1.127, allocations: 1.457 MB / 0.7496 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000501/1.127, allocations: 400.4 kB / 0.7499 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/1.128, allocations: 0.728 MB / 0.7507 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003919/1.132, allocations: 2.571 MB / 0.7532 GB, free: 296 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.132, allocations: 0 / 0.7532 GB, free: 296 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.174e-06/1.132, allocations: 0 / 0.7532 GB, free: 296 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.062e-05/1.132, allocations: 2.906 kB / 0.7532 GB, free: 296 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003384/1.136, allocations: 1.9 MB / 0.755 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.136, allocations: 13.94 kB / 0.755 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/1.138, allocations: 392.9 kB / 0.7554 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/1.14, allocations: 0.9572 MB / 0.7563 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.989e-05/1.14, allocations: 97.5 kB / 0.7564 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/1.14, allocations: 130.2 kB / 0.7566 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/1.142, allocations: 1.46 MB / 0.758 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/1.142, allocations: 4 kB / 0.758 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/1.143, allocations: 57.41 kB / 0.758 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/1.143, allocations: 35.66 kB / 0.7581 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002818/1.145, allocations: 1.531 MB / 0.7596 GB, free: 14.62 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00776/1.153, allocations: 4.907 MB / 0.7644 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/1.156, allocations: 1.42 MB / 0.7658 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008303/1.156, allocations: 455.2 kB / 0.7662 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007242/1.157, allocations: 425.7 kB / 0.7666 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/1.158, allocations: 0.6201 MB / 0.7672 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=98): time 3.466e-06/1.158, allocations: 0 / 0.7672 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=98): time 0.004001/1.162, allocations: 1.54 MB / 0.7687 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/1.162, allocations: 191.9 kB / 0.7689 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/1.164, allocations: 0.853 MB / 0.7697 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.048e-05/1.164, allocations: 45.52 kB / 0.7698 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000576/1.164, allocations: 0.5642 MB / 0.7703 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000356/1.165, allocations: 335.7 kB / 0.7706 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/1.165, allocations: 204.5 kB / 0.7708 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.165, allocations: 345.7 kB / 0.7712 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007427/1.166, allocations: 357.8 kB / 0.7715 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009584/1.167, allocations: 0.5367 MB / 0.772 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/1.169, allocations: 0.904 MB / 0.7729 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.169, allocations: 0 / 0.7729 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002582/1.171, allocations: 1.154 MB / 0.774 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.171, allocations: 7.906 kB / 0.774 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.171, allocations: 2.25 kB / 0.774 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006003/1.172, allocations: 88.8 kB / 0.7741 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1.173, allocations: 238.8 kB / 0.7744 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/1.175, allocations: 1.545 MB / 0.7759 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.176, allocations: 137.3 kB / 0.776 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/1.176, allocations: 44.91 kB / 0.776 GB, free: 6.883 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000762/1.177, allocations: 329.4 kB / 0.7764 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003679/1.177, allocations: 114.7 kB / 0.7765 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003547/1.181, allocations: 1.324 MB / 0.7778 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/1.181, allocations: 18.8 kB / 0.7778 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.181, allocations: 6.094 kB / 0.7778 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/1.181, allocations: 3.984 kB / 0.7778 GB, free: 5.84 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005443/1.186, allocations: 2.69 MB / 0.7804 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.186, allocations: 0 / 0.7804 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/1.188, allocations: 218 kB / 0.7806 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005787/1.188, allocations: 81.09 kB / 0.7807 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/1.188, allocations: 33.94 kB / 0.7807 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/1.19, allocations: 1.557 MB / 0.7822 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.19, allocations: 0 / 0.7822 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005068/1.195, allocations: 2.483 MB / 0.7847 GB, free: 304 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009432/1.196, allocations: 337.2 kB / 0.785 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003131/1.197, allocations: 19.94 kB / 0.785 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/1.198, allocations: 91.83 kB / 0.7851 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/1.198, allocations: 72.89 kB / 0.7852 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/1.198, allocations: 51.97 kB / 0.7852 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001102/1.199, allocations: 0.5892 MB / 0.7858 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.8e-07/1.199, allocations: 0 / 0.7858 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00182/1.201, allocations: 466.9 kB / 0.7862 GB, free: 14.66 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001999/1.203, allocations: 0.713 MB / 0.7869 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002457/1.206, allocations: 1.064 MB / 0.788 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.206, allocations: 0 / 0.788 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/1.207, allocations: 0.6364 MB / 0.7886 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/1.21, allocations: 493.4 kB / 0.7891 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007271/1.217, allocations: 3.459 MB / 0.7924 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.218, allocations: 1.212 MB / 0.7936 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00199/1.22, allocations: 369.3 kB / 0.794 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004404/1.221, allocations: 131.4 kB / 0.7941 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of SimCode: time 1.293e-06/1.221, allocations: 4 kB / 0.7941 GB, free: 6.777 MB / 0.5417 GB Notification: Performance of Templates: time 0.0426/1.263, allocations: 22.56 MB / 0.8161 GB, free: 0.5234 MB / 0.5573 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)