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.001392/0.001392, allocations: 109.7 kB / 16.52 MB, free: 6.664 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.001417/0.001417, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.299/1.299, allocations: 222.9 MB / 241.1 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6952/0.6952, allocations: 115.3 MB / 406.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 59.91 kB / 493.5 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3455, allocations: 76.17 MB / 0.5564 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002945/0.3485, allocations: 1.865 MB / 0.5582 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002577/0.3488, allocations: 125.7 kB / 0.5583 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.807e-05/0.3489, allocations: 0 / 0.5583 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.349, allocations: 10.17 kB / 0.5583 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.144e-05/0.3491, allocations: 41.84 kB / 0.5584 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.3493, allocations: 35.31 kB / 0.5584 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.3495, allocations: 163.3 kB / 0.5585 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3496, allocations: 35 kB / 0.5586 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.3497, allocations: 48.66 kB / 0.5586 GB, free: 34.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.3498, allocations: 59.75 kB / 0.5587 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.3498, allocations: 5.25 kB / 0.5587 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.608e-05/0.3499, allocations: 17.62 kB / 0.5587 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.3499, allocations: 21.94 kB / 0.5587 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.35, allocations: 57.72 kB / 0.5588 GB, free: 34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.3501, allocations: 84.55 kB / 0.5589 GB, free: 33.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3501, allocations: 1.156 kB / 0.5589 GB, free: 33.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3501, allocations: 2.844 kB / 0.5589 GB, free: 33.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.3501, allocations: 3.938 kB / 0.5589 GB, free: 33.97 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.0007244/0.3509, allocations: 449 kB / 0.5593 GB, free: 33.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3509, allocations: 13.53 kB / 0.5593 GB, free: 33.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.351, allocations: 11.5 kB / 0.5593 GB, free: 33.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.3511, allocations: 210.4 kB / 0.5595 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3512, allocations: 10 kB / 0.5595 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.3512, allocations: 4.812 kB / 0.5595 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.3515, allocations: 117.4 kB / 0.5596 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3515, allocations: 0.6875 kB / 0.5596 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.3515, allocations: 10.66 kB / 0.5597 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3515, allocations: 1.906 kB / 0.5597 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/0.3518, allocations: 88.88 kB / 0.5597 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006889/0.3525, allocations: 486.7 kB / 0.5602 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.3529, allocations: 131 kB / 0.5603 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.3531, allocations: 56.7 kB / 0.5604 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.3531, allocations: 3.375 kB / 0.5604 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.3532, allocations: 38.47 kB / 0.5604 GB, free: 32.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.3532, allocations: 0 / 0.5604 GB, free: 32.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005846/0.3538, allocations: 177.9 kB / 0.5606 GB, free: 32.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.3538, allocations: 79.58 kB / 0.5607 GB, free: 32.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.354, allocations: 173.5 kB / 0.5608 GB, free: 32.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.354, allocations: 25.7 kB / 0.5609 GB, free: 32.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.354, allocations: 111.9 kB / 0.561 GB, free: 32.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.3541, allocations: 31.31 kB / 0.561 GB, free: 32.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.3541, allocations: 21.3 kB / 0.561 GB, free: 32.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.3542, allocations: 330.2 kB / 0.5613 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.3544, allocations: 48.17 kB / 0.5614 GB, free: 31.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.3545, allocations: 55.81 kB / 0.5614 GB, free: 31.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.3548, allocations: 100.5 kB / 0.5615 GB, free: 31.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3548, allocations: 0.7812 kB / 0.5615 GB, free: 31.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003327/0.3551, allocations: 152.1 kB / 0.5617 GB, free: 31.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3552, allocations: 9.688 kB / 0.5617 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3552, allocations: 0.5625 kB / 0.5617 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3552, allocations: 2.469 kB / 0.5617 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.3554, allocations: 28.86 kB / 0.5617 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3554, allocations: 1.5 kB / 0.5617 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.3555, allocations: 17.92 kB / 0.5617 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.3555, allocations: 10.5 kB / 0.5617 GB, free: 31.7 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 7.081e-05/0.3556, allocations: 116.3 kB / 0.5619 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.3557, allocations: 14.41 kB / 0.5619 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.3561, allocations: 160 kB / 0.562 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3561, allocations: 1.344 kB / 0.562 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3561, allocations: 0 / 0.562 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3561, allocations: 1.469 kB / 0.562 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.3564, allocations: 225 kB / 0.5622 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3564, allocations: 2.281 kB / 0.5622 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.3565, allocations: 20.42 kB / 0.5623 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3565, allocations: 3.484 kB / 0.5623 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3565, allocations: 2.125 kB / 0.5623 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3566, allocations: 0 / 0.5623 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3566, allocations: 3.031 kB / 0.5623 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.3569, allocations: 319.8 kB / 0.5626 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.357, allocations: 93.31 kB / 0.5627 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.357, allocations: 2.016 kB / 0.5627 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.3572, allocations: 8.016 kB / 0.5627 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.3572, allocations: 11.23 kB / 0.5627 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3573, allocations: 11.41 kB / 0.5627 GB, free: 30.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.431e-05/0.3574, allocations: 122.6 kB / 0.5628 GB, free: 30.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3574, allocations: 0 / 0.5628 GB, free: 30.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.3577, allocations: 33.81 kB / 0.5628 GB, free: 30.82 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 8.415e-05/0.3577, allocations: 96.27 kB / 0.5629 GB, free: 30.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003358/0.3581, allocations: 105 kB / 0.563 GB, free: 30.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3581, allocations: 0 / 0.563 GB, free: 30.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.3583, allocations: 65.25 kB / 0.5631 GB, free: 30.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.3588, allocations: 42.53 kB / 0.5631 GB, free: 30.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.3592, allocations: 291.7 kB / 0.5634 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.3594, allocations: 0.7054 MB / 0.5641 GB, free: 29.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.3594, allocations: 14.22 kB / 0.5641 GB, free: 29.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3594, allocations: 1.281 kB / 0.5641 GB, free: 29.73 MB / 446.1 MB Notification: Performance of Templates: time 0.003637/0.3631, allocations: 1.751 MB / 0.5658 GB, free: 29.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)