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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.901/0.901, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 180.2 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 221.5 MB / 436.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008971/0.0008974, allocations: 84.09 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001698, allocations: 281.8 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.237e-05/1.237e-05, allocations: 0 / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3396, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1239/0.4636, allocations: 108.5 MB / 0.8634 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.4638, allocations: 79.83 kB / 0.8634 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005051/0.4689, allocations: 1.87 MB / 0.8653 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4689, allocations: 0 / 0.8653 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.053e-05/0.4689, allocations: 4 kB / 0.8653 GB, free: 1.379 MB / 0.5261 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.0005164/0.4694, allocations: 414.2 kB / 0.8657 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4695, allocations: 8.031 kB / 0.8657 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.4695, allocations: 23.8 kB / 0.8657 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.4698, allocations: 204.3 kB / 0.8659 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.4698, allocations: 4 kB / 0.8659 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.4698, allocations: 8 kB / 0.8659 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000151/0.47, allocations: 59.92 kB / 0.866 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.4701, allocations: 91.33 kB / 0.866 GB, free: 500 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.4702, allocations: 0 / 0.866 GB, free: 500 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.4702, allocations: 3.984 kB / 0.866 GB, free: 496 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4702, allocations: 0 / 0.866 GB, free: 496 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.4709, allocations: 453.2 kB / 0.8665 GB, free: 0 / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.4711, allocations: 101.5 kB / 0.8666 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.591e-05/0.4712, allocations: 53.69 kB / 0.8666 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.4712, allocations: 0 / 0.8666 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.4713, allocations: 30.56 kB / 0.8667 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.4713, allocations: 0 / 0.8667 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0002611/0.4715, allocations: 93.64 kB / 0.8667 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.4716, allocations: 85.05 kB / 0.8668 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.4717, allocations: 146.4 kB / 0.867 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.4718, allocations: 29.7 kB / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.4718, allocations: 108 kB / 0.8671 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.4719, allocations: 27.56 kB / 0.8671 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.4719, allocations: 0 / 0.8671 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.472, allocations: 326.8 kB / 0.8674 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/0.472, allocations: 20 kB / 0.8675 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.4721, allocations: 41.7 kB / 0.8675 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.751e-05/0.4722, allocations: 32 kB / 0.8675 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4722, allocations: 0 / 0.8675 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001742/0.4724, allocations: 105.6 kB / 0.8676 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.4724, allocations: 8 kB / 0.8676 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4724, allocations: 3.938 kB / 0.8676 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.4724, allocations: 0 / 0.8676 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.4726, allocations: 27.97 kB / 0.8677 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.4726, allocations: 5.016 kB / 0.8677 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.4727, allocations: 15.98 kB / 0.8677 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.4727, allocations: 4.188 kB / 0.8677 GB, free: 14.66 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.717e-05/0.4728, allocations: 112.8 kB / 0.8678 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.4729, allocations: 11.91 kB / 0.8678 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.4731, allocations: 115.2 kB / 0.8679 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4731, allocations: 0 / 0.8679 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4731, allocations: 4 kB / 0.8679 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.4731, allocations: 7.984 kB / 0.8679 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.4734, allocations: 198.1 kB / 0.8681 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4734, allocations: 3.938 kB / 0.8681 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.4736, allocations: 23.98 kB / 0.8681 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4736, allocations: 0 / 0.8681 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.4736, allocations: 7.984 kB / 0.8681 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4736, allocations: 4 kB / 0.8682 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4736, allocations: 0 / 0.8682 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.4738, allocations: 280.3 kB / 0.8684 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.4739, allocations: 92.92 kB / 0.8685 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.4739, allocations: 0 / 0.8685 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.4741, allocations: 15.98 kB / 0.8685 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.4742, allocations: 11.98 kB / 0.8685 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.4742, allocations: 0 / 0.8685 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.035e-05/0.4743, allocations: 112 kB / 0.8686 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4743, allocations: 0 / 0.8686 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002945/0.4746, allocations: 27.94 kB / 0.8687 GB, free: 13.57 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.283e-05/0.4747, allocations: 95.25 kB / 0.8688 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.4748, allocations: 71.92 kB / 0.8688 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4749, allocations: 0 / 0.8688 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.4749, allocations: 43.94 kB / 0.8689 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.4753, allocations: 40.14 kB / 0.8689 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.4756, allocations: 145.2 kB / 0.869 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.4759, allocations: 0.708 MB / 0.8697 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.636e-05/0.476, allocations: 12.56 kB / 0.8698 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.4761, allocations: 15.42 kB / 0.8698 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.4761, allocations: 0 / 0.8698 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of Templates: time 0.003923/0.48, allocations: 1.631 MB / 0.8714 GB, free: 10.8 MB / 0.5417 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)