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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 121.2 kB / 17.81 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 193.5 kB / 20.75 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7967/0.7967, allocations: 128.4 MB / 432.4 MB, free: 13.16 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.89 kB / 0.5987 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3615, allocations: 83.27 MB / 0.68 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002245/0.3638, allocations: 1.829 MB / 0.6818 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002196/0.364, allocations: 115.3 kB / 0.6819 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.84e-05/0.3641, allocations: 0 / 0.6819 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.104e-05/0.3642, allocations: 16.95 kB / 0.6819 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.3642, allocations: 49.3 kB / 0.682 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001005/0.3643, allocations: 32.02 kB / 0.682 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000168/0.3645, allocations: 172.2 kB / 0.6821 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3646, allocations: 24.97 kB / 0.6822 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/0.3647, allocations: 53.12 kB / 0.6822 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.061e-05/0.3648, allocations: 65.02 kB / 0.6823 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.3648, allocations: 8.969 kB / 0.6823 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.509e-05/0.3648, allocations: 10.81 kB / 0.6823 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.3648, allocations: 26.16 kB / 0.6823 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.3649, allocations: 63.83 kB / 0.6824 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.365, allocations: 129.7 kB / 0.6825 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.365, allocations: 0.9375 kB / 0.6825 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.365, allocations: 0 / 0.6825 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.365, allocations: 4 kB / 0.6825 GB, free: 5.078 MB / 0.4981 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.0006033/0.3656, allocations: 455.9 kB / 0.683 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.3657, allocations: 9.125 kB / 0.683 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.3657, allocations: 15.56 kB / 0.683 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.3659, allocations: 208.8 kB / 0.6832 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3659, allocations: 12.56 kB / 0.6832 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.3659, allocations: 11.66 kB / 0.6832 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.3662, allocations: 120.7 kB / 0.6833 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3662, allocations: 192 / 0.6833 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3662, allocations: 5.219 kB / 0.6833 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3662, allocations: 1.438 kB / 0.6833 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.3665, allocations: 102.5 kB / 0.6834 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.3671, allocations: 469.4 kB / 0.6839 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.3674, allocations: 132.4 kB / 0.684 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.3675, allocations: 59.48 kB / 0.684 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.3675, allocations: 2.156 kB / 0.6841 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.3676, allocations: 31.53 kB / 0.6841 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.073e-06/0.3676, allocations: 5.125 kB / 0.6841 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005166/0.3681, allocations: 180 kB / 0.6843 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.3681, allocations: 83.02 kB / 0.6843 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.3682, allocations: 176.5 kB / 0.6845 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.3682, allocations: 29.7 kB / 0.6845 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.3683, allocations: 108.9 kB / 0.6846 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.3683, allocations: 32.05 kB / 0.6847 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.3683, allocations: 28.17 kB / 0.6847 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.059e-05/0.3684, allocations: 325.1 kB / 0.685 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3685, allocations: 39.41 kB / 0.685 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.3686, allocations: 55.03 kB / 0.6851 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.3689, allocations: 110.9 kB / 0.6852 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3689, allocations: 1.312 kB / 0.6852 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003064/0.3692, allocations: 138 kB / 0.6853 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3692, allocations: 4.875 kB / 0.6853 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3692, allocations: 1.25 kB / 0.6853 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3692, allocations: 4 kB / 0.6853 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.3694, allocations: 33.33 kB / 0.6854 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3694, allocations: 5.266 kB / 0.6854 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.3695, allocations: 18.69 kB / 0.6854 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3695, allocations: 6.188 kB / 0.6854 GB, free: 2.52 MB / 0.4981 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 5.463e-05/0.3695, allocations: 119.1 kB / 0.6855 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.3696, allocations: 14.19 kB / 0.6855 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.37, allocations: 160.9 kB / 0.6857 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.37, allocations: 2.562 kB / 0.6857 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.37, allocations: 0 / 0.6857 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.37, allocations: 1.031 kB / 0.6857 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.3702, allocations: 223.2 kB / 0.6859 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3702, allocations: 1.875 kB / 0.6859 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.3703, allocations: 23.8 kB / 0.6859 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3703, allocations: 5.453 kB / 0.6859 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3703, allocations: 0 / 0.6859 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3703, allocations: 5.438 kB / 0.6859 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3703, allocations: 1.469 kB / 0.6859 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.3707, allocations: 316.5 kB / 0.6862 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.3707, allocations: 88.52 kB / 0.6863 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.3707, allocations: 9.078 kB / 0.6863 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.3709, allocations: 9.312 kB / 0.6863 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.3709, allocations: 7.828 kB / 0.6863 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3709, allocations: 6.688 kB / 0.6864 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.79e-05/0.371, allocations: 128.3 kB / 0.6865 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.371, allocations: 3.938 kB / 0.6865 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002715/0.3713, allocations: 28.84 kB / 0.6865 GB, free: 1.539 MB / 0.4981 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 7.208e-05/0.3713, allocations: 106.1 kB / 0.6866 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.3716, allocations: 96.44 kB / 0.6867 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3716, allocations: 1.406 kB / 0.6867 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.3718, allocations: 53.03 kB / 0.6868 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.3722, allocations: 41.98 kB / 0.6868 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004158/0.3726, allocations: 257.4 kB / 0.687 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.3727, allocations: 0.7103 MB / 0.6877 GB, free: 428 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.3728, allocations: 14.75 kB / 0.6877 GB, free: 420 kB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.3728, allocations: 0 / 0.6877 GB, free: 420 kB / 0.4981 GB Notification: Performance of Templates: time 0.00311/0.3759, allocations: 1.762 MB / 0.6895 GB, free: 15.51 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.332401349907741] Failed to read output from testmodel.py, exit status != 0: 0.38342225016094744 0.39547496 0.027856962000000002 Calling exit ...