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.0008839/0.0008839, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009259/0.0009259, allocations: 173 kB / 23.36 MB, free: 1.129 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.8812/0.8812, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.001622/0.001622, allocations: 250.4 kB / 260.5 MB, free: 12.68 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.703/0.703, allocations: 138.4 MB / 402.2 MB, free: 0.543 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 1.693e-06/1.693e-06, allocations: 0 / 462.3 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.89e-05, allocations: 2.312 kB / 462.3 MB, free: 0.832 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003153/0.003172, allocations: 1.864 MB / 464.1 MB, free: 15.62 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004041/0.003576, allocations: 128.5 kB / 464.3 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.615e-05/0.003662, allocations: 1.125 kB / 464.3 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.003779, allocations: 17.41 kB / 464.3 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.003909, allocations: 50.73 kB / 464.3 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.00406, allocations: 36.98 kB / 464.4 MB, free: 15.48 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.004306, allocations: 184.6 kB / 464.5 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.00441, allocations: 19.75 kB / 464.6 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.004557, allocations: 82.34 kB / 464.6 MB, free: 15.35 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.004673, allocations: 57.45 kB / 464.7 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.004708, allocations: 8.688 kB / 464.7 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.539e-05/0.004733, allocations: 9.75 kB / 464.7 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.004765, allocations: 26.5 kB / 464.7 MB, free: 15.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.004828, allocations: 48.41 kB / 464.8 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.004997, allocations: 88.41 kB / 464.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.004999, allocations: 2.141 kB / 464.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005, allocations: 0 / 464.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.005004, allocations: 0 / 464.9 MB, free: 15.27 MB / 426.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.0005606/0.005565, allocations: 350.2 kB / 465.2 MB, free: 14.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.0056, allocations: 14.59 kB / 465.2 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.005651, allocations: 19 kB / 465.3 MB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.005838, allocations: 150.1 kB / 465.4 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.005849, allocations: 7.656 kB / 465.4 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.005867, allocations: 4.219 kB / 465.4 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.006078, allocations: 107.7 kB / 465.5 MB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.006087, allocations: 192 / 465.5 MB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.006098, allocations: 2.062 kB / 465.5 MB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.006105, allocations: 4.25 kB / 465.5 MB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.671e-05/0.006182, allocations: 26.83 kB / 465.5 MB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.006695, allocations: 315.6 kB / 465.9 MB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.006894, allocations: 68.02 kB / 465.9 MB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.006946, allocations: 26.31 kB / 465.9 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.006966, allocations: 3.656 kB / 466 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.006996, allocations: 46.97 kB / 466 MB, free: 14.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.006998, allocations: 0 / 466 MB, free: 14.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002187/0.007216, allocations: 73.97 kB / 466.1 MB, free: 14.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.007259, allocations: 79.17 kB / 466.1 MB, free: 14.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.007381, allocations: 154.8 kB / 466.3 MB, free: 14.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.007396, allocations: 27.05 kB / 466.3 MB, free: 14.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.00745, allocations: 99.08 kB / 466.4 MB, free: 13.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.007479, allocations: 33.75 kB / 466.5 MB, free: 13.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.007529, allocations: 21.11 kB / 466.5 MB, free: 13.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.007625, allocations: 327.5 kB / 466.8 MB, free: 13.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.109e-05/0.007656, allocations: 8.453 kB / 466.8 MB, free: 13.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.343e-05/0.0077, allocations: 23.88 kB / 466.8 MB, free: 13.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.004e-05/0.00778, allocations: 43.23 kB / 466.9 MB, free: 13.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007782, allocations: 0 / 466.9 MB, free: 13.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001376/0.00792, allocations: 71.39 kB / 466.9 MB, free: 13.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.007932, allocations: 5.906 kB / 466.9 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.007937, allocations: 1.25 kB / 466.9 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.007949, allocations: 2.375 kB / 466.9 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.008063, allocations: 25.12 kB / 467 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.008068, allocations: 2.266 kB / 467 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/0.008139, allocations: 13.94 kB / 467 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.008147, allocations: 1.344 kB / 467 MB, free: 13.52 MB / 426.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.62e-05/0.008224, allocations: 121.4 kB / 467.1 MB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.008279, allocations: 14.11 kB / 467.1 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.008453, allocations: 89.28 kB / 467.2 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.008456, allocations: 1.312 kB / 467.2 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.008457, allocations: 3.312 kB / 467.2 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.008461, allocations: 0.8438 kB / 467.2 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.008694, allocations: 102.6 kB / 467.3 MB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.008696, allocations: 1.375 kB / 467.3 MB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.891e-05/0.008795, allocations: 21.25 kB / 467.3 MB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.008798, allocations: 2.125 kB / 467.3 MB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.008806, allocations: 1.312 kB / 467.3 MB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.008811, allocations: 5.812 kB / 467.3 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.008813, allocations: 0.6562 kB / 467.3 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.008995, allocations: 242.4 kB / 467.6 MB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.009016, allocations: 12.56 kB / 467.6 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.009036, allocations: 0.5 kB / 467.6 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.009168, allocations: 13.86 kB / 467.6 MB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.009206, allocations: 7.75 kB / 467.6 MB, free: 13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.009215, allocations: 4.797 kB / 467.6 MB, free: 13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.211e-05/0.009267, allocations: 37.25 kB / 467.7 MB, free: 12.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009268, allocations: 4 kB / 467.7 MB, free: 12.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003024/0.00957, allocations: 30.16 kB / 467.7 MB, free: 12.94 MB / 426.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 0.0001004/0.00967, allocations: 81.17 kB / 467.8 MB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.009791, allocations: 37.56 kB / 467.8 MB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.009796, allocations: 4 kB / 467.8 MB, free: 12.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.237e-05/0.009848, allocations: 32.83 kB / 467.8 MB, free: 12.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.01022, allocations: 43.59 kB / 467.9 MB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.01082, allocations: 221.4 kB / 468.1 MB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.247e-05/0.01087, allocations: 64.52 kB / 468.2 MB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.555e-05/0.01096, allocations: 15.3 kB / 468.2 MB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.0111, allocations: 83.97 kB / 468.3 MB, free: 12.36 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.0111, allocations: 0 / 468.3 MB, free: 12.36 MB / 426.7 MB Notification: Performance of Templates: time 0.005158/0.01626, allocations: 2.278 MB / 470.5 MB, free: 10.36 MB / 426.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.3049411769025028]