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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8773/0.8773, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001565/0.001565, allocations: 233.9 kB / 260.2 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6548/0.6548, allocations: 138.4 MB / 455.2 MB, free: 1.492 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.377e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003854/0.003888, allocations: 1.867 MB / 0.5569 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004539/0.004342, allocations: 119.6 kB / 0.557 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.004455, allocations: 0 / 0.557 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.004598, allocations: 19.73 kB / 0.557 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.004731, allocations: 55.48 kB / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.004909, allocations: 39.89 kB / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.005191, allocations: 179 kB / 0.5573 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.005329, allocations: 17.3 kB / 0.5573 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.005492, allocations: 75.88 kB / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.005605, allocations: 59.8 kB / 0.5574 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.005643, allocations: 8 kB / 0.5574 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.772e-05/0.005671, allocations: 12 kB / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.005703, allocations: 19.92 kB / 0.5575 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.264e-05/0.005776, allocations: 47.89 kB / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.005925, allocations: 99.66 kB / 0.5576 GB, free: 13.92 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.005929, allocations: 4 kB / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.005931, allocations: 0 / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.005937, allocations: 0 / 0.5576 GB, free: 13.91 MB / 490.7 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.0005272/0.006464, allocations: 476 kB / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.006507, allocations: 8.75 kB / 0.5581 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/0.006563, allocations: 20.84 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.006757, allocations: 160.3 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.006768, allocations: 8.312 kB / 0.5583 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.006782, allocations: 8.375 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.006974, allocations: 114.1 kB / 0.5584 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.006981, allocations: 192 / 0.5584 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.006994, allocations: 8.312 kB / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.007002, allocations: 384 / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.33e-05/0.007075, allocations: 31.92 kB / 0.5584 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.00758, allocations: 490.4 kB / 0.5589 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.007797, allocations: 102.2 kB / 0.559 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/0.007848, allocations: 39.45 kB / 0.559 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.007868, allocations: 0 / 0.559 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.007892, allocations: 41.39 kB / 0.5591 GB, free: 12.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.007893, allocations: 0 / 0.5591 GB, free: 12.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002348/0.008128, allocations: 97.56 kB / 0.5592 GB, free: 12.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.008163, allocations: 77.11 kB / 0.5592 GB, free: 12.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.008271, allocations: 210.6 kB / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.008287, allocations: 37.7 kB / 0.5595 GB, free: 11.81 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.008352, allocations: 158.7 kB / 0.5596 GB, free: 11.65 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.008373, allocations: 31.73 kB / 0.5596 GB, free: 11.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.008435, allocations: 27.38 kB / 0.5597 GB, free: 11.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.008542, allocations: 0.4923 MB / 0.5602 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/0.008581, allocations: 11.98 kB / 0.5602 GB, free: 11.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.329e-05/0.008624, allocations: 39.3 kB / 0.5602 GB, free: 11.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.449e-05/0.008709, allocations: 47.38 kB / 0.5602 GB, free: 10.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.008712, allocations: 8.188 kB / 0.5603 GB, free: 10.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001197/0.008831, allocations: 97.47 kB / 0.5603 GB, free: 10.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.008846, allocations: 4 kB / 0.5604 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.008851, allocations: 4 kB / 0.5604 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.008865, allocations: 4 kB / 0.5604 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.008951, allocations: 19.98 kB / 0.5604 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.008957, allocations: 0 / 0.5604 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.009, allocations: 7.984 kB / 0.5604 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.009009, allocations: 4 kB / 0.5604 GB, free: 10.82 MB / 490.7 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.322e-05/0.009082, allocations: 164.5 kB / 0.5605 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.009116, allocations: 23.84 kB / 0.5606 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.009294, allocations: 106.7 kB / 0.5607 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.009297, allocations: 0 / 0.5607 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.009301, allocations: 4 kB / 0.5607 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.009305, allocations: 0 / 0.5607 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.00946, allocations: 144.6 kB / 0.5608 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.009462, allocations: 240 / 0.5608 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.454e-05/0.009527, allocations: 23.92 kB / 0.5608 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.00953, allocations: 0 / 0.5608 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.009542, allocations: 8 kB / 0.5608 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.009544, allocations: 0 / 0.5608 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.009547, allocations: 3.984 kB / 0.5608 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.009736, allocations: 355 kB / 0.5612 GB, free: 9.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.009755, allocations: 15.89 kB / 0.5612 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.009771, allocations: 4 kB / 0.5612 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.009847, allocations: 7.984 kB / 0.5612 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.009889, allocations: 8.172 kB / 0.5612 GB, free: 9.895 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.009894, allocations: 8 kB / 0.5612 GB, free: 9.887 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.076e-05/0.009955, allocations: 155.9 kB / 0.5614 GB, free: 9.734 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009955, allocations: 0 / 0.5614 GB, free: 9.734 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001763/0.01013, allocations: 31.95 kB / 0.5614 GB, free: 9.703 MB / 490.7 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.881e-05/0.01022, allocations: 107.1 kB / 0.5615 GB, free: 9.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.01035, allocations: 51.61 kB / 0.5616 GB, free: 9.535 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01036, allocations: 0 / 0.5616 GB, free: 9.535 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/0.0104, allocations: 31.95 kB / 0.5616 GB, free: 9.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.0107, allocations: 43.78 kB / 0.5616 GB, free: 9.457 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.01128, allocations: 245.9 kB / 0.5619 GB, free: 9.184 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.251e-05/0.01132, allocations: 63.34 kB / 0.5619 GB, free: 9.102 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.397e-05/0.01137, allocations: 8.5 kB / 0.5619 GB, free: 9.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.01142, allocations: 20.5 kB / 0.562 GB, free: 9.07 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01142, allocations: 0 / 0.562 GB, free: 9.07 MB / 490.7 MB Notification: Performance of Templates: time 0.003993/0.01541, allocations: 2.307 MB / 0.5642 GB, free: 6.84 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.503622710239142]