Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001514/0.001514, allocations: 102.7 kB / 16.27 MB, free: 5.973 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.001695/0.001695, allocations: 188.6 kB / 17.19 MB, free: 5.602 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.319/1.319, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7633/0.7633, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 0.4911 GB, free: 7.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3642, allocations: 77.93 MB / 0.5672 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003095/0.3673, allocations: 1.807 MB / 0.569 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003184/0.3677, allocations: 119.8 kB / 0.5691 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.031e-05/0.3678, allocations: 1.188 kB / 0.5691 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.3679, allocations: 16.61 kB / 0.5691 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.368, allocations: 51.47 kB / 0.5692 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.3682, allocations: 31.92 kB / 0.5692 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.3684, allocations: 167.9 kB / 0.5694 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.3686, allocations: 33.52 kB / 0.5694 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.093e-05/0.3687, allocations: 49.3 kB / 0.5694 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.3688, allocations: 68.28 kB / 0.5695 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.588e-05/0.3689, allocations: 10.5 kB / 0.5695 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.613e-05/0.3689, allocations: 13.62 kB / 0.5695 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.369, allocations: 25.22 kB / 0.5695 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.018e-05/0.3691, allocations: 62.25 kB / 0.5696 GB, free: 31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.3693, allocations: 129.5 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3693, allocations: 0 / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.3693, allocations: 1.281 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3693, allocations: 0 / 0.5697 GB, free: 30.95 MB / 446.1 MB 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.0008327/0.3702, allocations: 452.5 kB / 0.5702 GB, free: 30.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.3702, allocations: 9.906 kB / 0.5702 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.3703, allocations: 15.56 kB / 0.5702 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.3705, allocations: 210 kB / 0.5704 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3705, allocations: 3 kB / 0.5704 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.3705, allocations: 10.28 kB / 0.5704 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.3708, allocations: 115.5 kB / 0.5705 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3709, allocations: 3 kB / 0.5705 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.3709, allocations: 9.5 kB / 0.5705 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3709, allocations: 1.25 kB / 0.5705 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.3712, allocations: 95 kB / 0.5706 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007037/0.3719, allocations: 478 kB / 0.5711 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.3723, allocations: 131.3 kB / 0.5712 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.3725, allocations: 62.66 kB / 0.5712 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.3726, allocations: 2.578 kB / 0.5713 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.3726, allocations: 33.95 kB / 0.5713 GB, free: 29.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.945e-06/0.3726, allocations: 0 / 0.5713 GB, free: 29.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006698/0.3733, allocations: 191.5 kB / 0.5715 GB, free: 29.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.3734, allocations: 80.73 kB / 0.5715 GB, free: 29.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.3735, allocations: 169.1 kB / 0.5717 GB, free: 29.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.3736, allocations: 25.7 kB / 0.5717 GB, free: 29.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.3736, allocations: 106.1 kB / 0.5718 GB, free: 29.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.3736, allocations: 30.67 kB / 0.5719 GB, free: 29.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.3737, allocations: 25.48 kB / 0.5719 GB, free: 29.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.41e-05/0.3738, allocations: 326.9 kB / 0.5722 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3739, allocations: 44.69 kB / 0.5722 GB, free: 28.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.3741, allocations: 61.02 kB / 0.5723 GB, free: 28.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.3744, allocations: 102.3 kB / 0.5724 GB, free: 28.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3744, allocations: 1.281 kB / 0.5724 GB, free: 28.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003682/0.3748, allocations: 143.2 kB / 0.5725 GB, free: 28.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3748, allocations: 7.125 kB / 0.5725 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3748, allocations: 192 / 0.5725 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3748, allocations: 2.719 kB / 0.5725 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.375, allocations: 26.45 kB / 0.5726 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.375, allocations: 1.219 kB / 0.5726 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.3751, allocations: 18.86 kB / 0.5726 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.3752, allocations: 6.375 kB / 0.5726 GB, free: 28.68 MB / 446.1 MB 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 8.977e-05/0.3753, allocations: 120.9 kB / 0.5727 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.3753, allocations: 15.83 kB / 0.5727 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.3758, allocations: 153.7 kB / 0.5729 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.3758, allocations: 1.938 kB / 0.5729 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.3758, allocations: 5.438 kB / 0.5729 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.3758, allocations: 5.312 kB / 0.5729 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.3761, allocations: 228.4 kB / 0.5731 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3762, allocations: 1.281 kB / 0.5731 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.3763, allocations: 22.8 kB / 0.5731 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3763, allocations: 1.188 kB / 0.5731 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3763, allocations: 1.656 kB / 0.5731 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3763, allocations: 2.109 kB / 0.5731 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3763, allocations: 0 / 0.5731 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.3768, allocations: 315.6 kB / 0.5734 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.3768, allocations: 89.02 kB / 0.5735 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.3769, allocations: 6.562 kB / 0.5735 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.377, allocations: 12.52 kB / 0.5735 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.3771, allocations: 7.5 kB / 0.5735 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.3771, allocations: 6.75 kB / 0.5735 GB, free: 27.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.928e-05/0.3772, allocations: 129 kB / 0.5737 GB, free: 27.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3772, allocations: 0 / 0.5737 GB, free: 27.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.3775, allocations: 32.75 kB / 0.5737 GB, free: 27.8 MB / 446.1 MB 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.0001147/0.3776, allocations: 102.7 kB / 0.5738 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004053/0.3781, allocations: 109.3 kB / 0.5739 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3781, allocations: 4.406 kB / 0.5739 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.3782, allocations: 52.66 kB / 0.574 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.3788, allocations: 51.34 kB / 0.574 GB, free: 27.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005546/0.3793, allocations: 231.1 kB / 0.5742 GB, free: 27.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.3795, allocations: 0.7056 MB / 0.5749 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.286e-05/0.3796, allocations: 15.98 kB / 0.5749 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.3797, allocations: 13.44 kB / 0.5749 GB, free: 26.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3797, allocations: 1.438 kB / 0.5749 GB, free: 26.76 MB / 446.1 MB Notification: Performance of Templates: time 0.005601/0.3853, allocations: 2.097 MB / 0.577 GB, free: 26.66 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)