Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 108.8 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 184 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002398/0.002398, allocations: 284.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 95.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5654/0.5682, allocations: 86.97 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003152/0.5713, allocations: 1.827 MB / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000305/0.5716, allocations: 117.4 kB / 0.7689 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.64e-05/0.5717, allocations: 4 kB / 0.7689 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.5718, allocations: 19.8 kB / 0.7689 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.102e-05/0.5719, allocations: 43.56 kB / 0.769 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.572, allocations: 31.95 kB / 0.769 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.5723, allocations: 175.1 kB / 0.7692 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.5724, allocations: 20.91 kB / 0.7692 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.316e-05/0.5725, allocations: 63.78 kB / 0.7693 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.5726, allocations: 67.69 kB / 0.7693 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.5726, allocations: 12 kB / 0.7693 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.452e-05/0.5726, allocations: 8 kB / 0.7693 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.126e-05/0.5727, allocations: 23.92 kB / 0.7694 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.5728, allocations: 67.66 kB / 0.7694 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.5729, allocations: 125.4 kB / 0.7695 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5729, allocations: 0 / 0.7695 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5729, allocations: 3.938 kB / 0.7695 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.5729, allocations: 0 / 0.7695 GB, free: 1.336 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008176/0.5738, allocations: 450.8 kB / 0.77 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5738, allocations: 12.03 kB / 0.77 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.5738, allocations: 16.84 kB / 0.77 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.5741, allocations: 206.5 kB / 0.7702 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.5741, allocations: 8.375 kB / 0.7702 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.5742, allocations: 12.36 kB / 0.7702 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.5744, allocations: 115 kB / 0.7703 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5744, allocations: 192 / 0.7703 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.5745, allocations: 3.938 kB / 0.7703 GB, free: 444 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.5745, allocations: 4 kB / 0.7703 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.5748, allocations: 99.86 kB / 0.7704 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007976/0.5756, allocations: 480.7 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.576, allocations: 125.1 kB / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.5761, allocations: 57.72 kB / 0.7711 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.5762, allocations: 4 kB / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.5762, allocations: 34.56 kB / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 3.156e-06/0.5762, allocations: 3.984 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0005895/0.5768, allocations: 185.5 kB / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.5768, allocations: 81.09 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.577, allocations: 164.1 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.577, allocations: 25.7 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.855e-05/0.5771, allocations: 112.1 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.5772, allocations: 31.73 kB / 0.7717 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.5772, allocations: 21.72 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5774, allocations: 330.8 kB / 0.772 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.5775, allocations: 39.97 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.5777, allocations: 53.69 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.5779, allocations: 109.6 kB / 0.7722 GB, free: 14.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.578, allocations: 4.25 kB / 0.7722 GB, free: 14.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003676/0.5783, allocations: 149.5 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5783, allocations: 4 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5783, allocations: 0 / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.5783, allocations: 0 / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.5785, allocations: 27.98 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5785, allocations: 3.938 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.5786, allocations: 19.92 kB / 0.7724 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.5786, allocations: 3.938 kB / 0.7724 GB, free: 14.14 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.5788, allocations: 117.8 kB / 0.7725 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.5788, allocations: 15.91 kB / 0.7725 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004492/0.5793, allocations: 162.5 kB / 0.7727 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.5793, allocations: 0 / 0.7727 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.5793, allocations: 0 / 0.7727 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5793, allocations: 0 / 0.7727 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.5796, allocations: 229.5 kB / 0.7729 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5796, allocations: 0 / 0.7729 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.5797, allocations: 27.92 kB / 0.7729 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.5797, allocations: 4 kB / 0.7729 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.5797, allocations: 4 kB / 0.7729 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5797, allocations: 192 / 0.7729 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.5797, allocations: 0 / 0.7729 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.5802, allocations: 314.5 kB / 0.7732 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.473e-05/0.5803, allocations: 96.94 kB / 0.7733 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.5803, allocations: 4 kB / 0.7733 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.5805, allocations: 12.17 kB / 0.7734 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.5805, allocations: 4 kB / 0.7734 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.5805, allocations: 11.94 kB / 0.7734 GB, free: 13.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001101/0.5806, allocations: 137.7 kB / 0.7735 GB, free: 12.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5806, allocations: 0 / 0.7735 GB, free: 12.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002938/0.5809, allocations: 24 kB / 0.7735 GB, free: 12.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001069/0.581, allocations: 99.25 kB / 0.7736 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003605/0.5814, allocations: 103.9 kB / 0.7737 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5814, allocations: 0 / 0.7737 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.5815, allocations: 55.91 kB / 0.7738 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.582, allocations: 46.33 kB / 0.7738 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.5825, allocations: 219.5 kB / 0.774 GB, free: 12.35 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.5828, allocations: 0.7083 MB / 0.7747 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.181e-05/0.5829, allocations: 16.97 kB / 0.7747 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.583, allocations: 15.44 kB / 0.7748 GB, free: 11.58 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.583, allocations: 7.938 kB / 0.7748 GB, free: 11.57 MB / 0.545 GB Notification: Performance of Templates: time 0.005373/0.5883, allocations: 2.123 MB / 0.7768 GB, free: 9.508 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)