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.001025/0.001026, allocations: 85.5 kB / 16.66 MB, free: 6.109 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.001132/0.001132, allocations: 180.6 kB / 17.58 MB, free: 5.812 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.385/1.385, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7792/0.7792, allocations: 115.5 MB / 408.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3865, allocations: 77.52 MB / 0.5606 GB, free: 36.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001799/0.3883, allocations: 1.523 MB / 0.5621 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002428/0.3886, allocations: 117.4 kB / 0.5622 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.073e-05/0.3887, allocations: 1.219 kB / 0.5622 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.736e-05/0.3888, allocations: 12.89 kB / 0.5622 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.555e-05/0.3889, allocations: 46 kB / 0.5622 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.389, allocations: 30.3 kB / 0.5623 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.3892, allocations: 162.8 kB / 0.5624 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3894, allocations: 32.22 kB / 0.5624 GB, free: 34.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.793e-05/0.3894, allocations: 52.53 kB / 0.5625 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3896, allocations: 57.75 kB / 0.5625 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.3896, allocations: 5.688 kB / 0.5626 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.542e-05/0.3896, allocations: 3.688 kB / 0.5626 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.3897, allocations: 24.95 kB / 0.5626 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.848e-05/0.3898, allocations: 78.28 kB / 0.5627 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.3899, allocations: 83.91 kB / 0.5627 GB, free: 34.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3899, allocations: 0 / 0.5627 GB, free: 34.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3899, allocations: 1.406 kB / 0.5627 GB, free: 34.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.3899, allocations: 0 / 0.5627 GB, free: 34.68 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.0006921/0.3906, allocations: 444.7 kB / 0.5632 GB, free: 34.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3907, allocations: 12.78 kB / 0.5632 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.3907, allocations: 17.47 kB / 0.5632 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.3909, allocations: 214.1 kB / 0.5634 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3909, allocations: 3.297 kB / 0.5634 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.391, allocations: 8.625 kB / 0.5634 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.3913, allocations: 122.1 kB / 0.5635 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3913, allocations: 0.875 kB / 0.5635 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3913, allocations: 9.125 kB / 0.5635 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3913, allocations: 4.375 kB / 0.5635 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.3916, allocations: 108.6 kB / 0.5636 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006668/0.3923, allocations: 486 kB / 0.5641 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.3927, allocations: 137.6 kB / 0.5642 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.393, allocations: 71.58 kB / 0.5643 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.393, allocations: 2.469 kB / 0.5643 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.393, allocations: 33.23 kB / 0.5643 GB, free: 33.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.393, allocations: 0 / 0.5643 GB, free: 33.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006167/0.3936, allocations: 204.2 kB / 0.5645 GB, free: 33.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.3937, allocations: 78.95 kB / 0.5646 GB, free: 33.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.3939, allocations: 165 kB / 0.5648 GB, free: 33.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3939, allocations: 29.7 kB / 0.5648 GB, free: 33.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.3939, allocations: 106.2 kB / 0.5649 GB, free: 32.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.394, allocations: 30.34 kB / 0.5649 GB, free: 32.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.394, allocations: 17.66 kB / 0.5649 GB, free: 32.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.34e-05/0.3941, allocations: 326.6 kB / 0.5653 GB, free: 32.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.3943, allocations: 51 kB / 0.5653 GB, free: 32.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.3944, allocations: 71.03 kB / 0.5654 GB, free: 32.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.3947, allocations: 121 kB / 0.5655 GB, free: 32.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3947, allocations: 0 / 0.5655 GB, free: 32.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003637/0.3951, allocations: 167.6 kB / 0.5656 GB, free: 32.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3951, allocations: 6.234 kB / 0.5656 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3951, allocations: 0 / 0.5656 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3952, allocations: 1.094 kB / 0.5656 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.3953, allocations: 28 kB / 0.5657 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.3953, allocations: 5.422 kB / 0.5657 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.3955, allocations: 17.61 kB / 0.5657 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.3955, allocations: 15.47 kB / 0.5657 GB, free: 32.41 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.137e-05/0.3956, allocations: 115.8 kB / 0.5658 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.3956, allocations: 15.7 kB / 0.5658 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004475/0.3961, allocations: 173.4 kB / 0.566 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3961, allocations: 0.9688 kB / 0.566 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3961, allocations: 1.031 kB / 0.566 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3961, allocations: 3.422 kB / 0.566 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.3964, allocations: 220 kB / 0.5662 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3964, allocations: 0 / 0.5662 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.3966, allocations: 30.23 kB / 0.5662 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3966, allocations: 2.188 kB / 0.5662 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3966, allocations: 5.094 kB / 0.5663 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3966, allocations: 4.641 kB / 0.5663 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3966, allocations: 0 / 0.5663 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.397, allocations: 330.5 kB / 0.5666 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.3971, allocations: 91.14 kB / 0.5667 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.3971, allocations: 1.906 kB / 0.5667 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.3973, allocations: 12.69 kB / 0.5667 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.3973, allocations: 11.92 kB / 0.5667 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.3973, allocations: 6.469 kB / 0.5667 GB, free: 31.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.026e-05/0.3974, allocations: 125.8 kB / 0.5668 GB, free: 31.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3975, allocations: 0 / 0.5668 GB, free: 31.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.3977, allocations: 37.09 kB / 0.5668 GB, free: 31.54 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.0001008/0.3979, allocations: 96.08 kB / 0.5669 GB, free: 31.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.3982, allocations: 124.7 kB / 0.5671 GB, free: 31.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3982, allocations: 4.469 kB / 0.5671 GB, free: 31.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.3984, allocations: 65.19 kB / 0.5671 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.3989, allocations: 44.97 kB / 0.5672 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005084/0.3995, allocations: 300 kB / 0.5675 GB, free: 31.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.3996, allocations: 0.7048 MB / 0.5681 GB, free: 30.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.248e-05/0.3997, allocations: 13.81 kB / 0.5682 GB, free: 30.43 MB / 446.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3997, allocations: 1.938 kB / 0.5682 GB, free: 30.43 MB / 446.1 MB Notification: Performance of Templates: time 0.004195/0.4039, allocations: 1.738 MB / 0.5699 GB, free: 30.35 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)