Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 182.5 kB / 7.65 MB, free: 1.43 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.746/0.746, allocations: 130.7 MB / 138.7 MB, free: 3.559 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009442/0.0009442, allocations: 91.78 kB / 473.9 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.048e-05, allocations: 4 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4906/0.4907, allocations: 81.57 MB / 0.6282 GB, free: 42.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.6448, allocations: 111 MB / 0.7365 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.6451, allocations: 71.95 kB / 0.7366 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006898/0.652, allocations: 1.875 MB / 0.7384 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6521, allocations: 0 / 0.7384 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.6521, allocations: 4 kB / 0.7384 GB, free: 13.82 MB / 0.5261 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.0006072/0.6527, allocations: 422.1 kB / 0.7388 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.6528, allocations: 8.031 kB / 0.7388 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.6529, allocations: 15.91 kB / 0.7389 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.6532, allocations: 201.1 kB / 0.739 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.6532, allocations: 7.938 kB / 0.7391 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.6533, allocations: 4.938 kB / 0.7391 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002348/0.6535, allocations: 59.98 kB / 0.7391 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.6538, allocations: 87.33 kB / 0.7392 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.6538, allocations: 3.984 kB / 0.7392 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.6538, allocations: 0 / 0.7392 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.6539, allocations: 7.984 kB / 0.7392 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009734/0.6548, allocations: 452.7 kB / 0.7396 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.6552, allocations: 101.3 kB / 0.7397 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.904e-05/0.6553, allocations: 41.72 kB / 0.7398 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.6553, allocations: 0 / 0.7398 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.6554, allocations: 46.44 kB / 0.7398 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.6554, allocations: 0 / 0.7398 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0002592/0.6556, allocations: 97.64 kB / 0.7399 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.6557, allocations: 81.11 kB / 0.74 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.6559, allocations: 148.1 kB / 0.7401 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.6559, allocations: 25.7 kB / 0.7402 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.656, allocations: 108 kB / 0.7403 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.6561, allocations: 23.56 kB / 0.7403 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.6561, allocations: 4 kB / 0.7403 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6563, allocations: 318.8 kB / 0.7406 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.659e-05/0.6564, allocations: 31.94 kB / 0.7406 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.6565, allocations: 45.7 kB / 0.7407 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.794e-05/0.6566, allocations: 20 kB / 0.7407 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6567, allocations: 0 / 0.7407 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000285/0.6569, allocations: 106.4 kB / 0.7408 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.657, allocations: 7.938 kB / 0.7408 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.657, allocations: 3.984 kB / 0.7408 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.657, allocations: 4 kB / 0.7408 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.6573, allocations: 28.73 kB / 0.7408 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.6573, allocations: 3.953 kB / 0.7408 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.6575, allocations: 11.98 kB / 0.7408 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.6575, allocations: 4 kB / 0.7408 GB, free: 11.11 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.6577, allocations: 104.9 kB / 0.7409 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-05/0.6578, allocations: 19.81 kB / 0.741 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.6581, allocations: 115.4 kB / 0.7411 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.6581, allocations: 8 kB / 0.7411 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6582, allocations: 4 kB / 0.7411 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.6582, allocations: 7.938 kB / 0.7411 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.6586, allocations: 190.2 kB / 0.7413 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.6586, allocations: 0 / 0.7413 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.6589, allocations: 31.91 kB / 0.7413 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.6589, allocations: 4 kB / 0.7413 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.6589, allocations: 4 kB / 0.7413 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6589, allocations: 0 / 0.7413 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6589, allocations: 0 / 0.7413 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.6593, allocations: 292.4 kB / 0.7416 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.6594, allocations: 85.02 kB / 0.7417 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.6594, allocations: 3.984 kB / 0.7417 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.6597, allocations: 12 kB / 0.7417 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.6598, allocations: 7.984 kB / 0.7417 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.6598, allocations: 3.953 kB / 0.7417 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001184/0.66, allocations: 120 kB / 0.7418 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/0.66, allocations: 0 / 0.7418 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004871/0.6605, allocations: 27.94 kB / 0.7418 GB, free: 10 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000141/0.6606, allocations: 95.25 kB / 0.7419 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.6609, allocations: 67.92 kB / 0.742 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6609, allocations: 0 / 0.742 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.661, allocations: 39.94 kB / 0.742 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.6615, allocations: 36.14 kB / 0.7421 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.662, allocations: 146.2 kB / 0.7422 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.6624, allocations: 0.708 MB / 0.7429 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.6626, allocations: 16.55 kB / 0.7429 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.389e-05/0.6626, allocations: 15.38 kB / 0.7429 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of SimCode: time 4.11e-07/0.6626, allocations: 0 / 0.7429 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of Templates: time 0.005563/0.6682, allocations: 1.625 MB / 0.7445 GB, free: 7.242 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)