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/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.001625/0.001625, allocations: 78.72 kB / 19.76 MB, free: 1.875 MB / 14.72 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.002002/0.002002, allocations: 162.4 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.505/1.505, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8136/0.8136, allocations: 101.3 MB / 361.1 MB, free: 9.531 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 66.25 kB / 0.5356 GB, free: 5.309 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1549, allocations: 85.89 MB / 0.6195 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003216/0.1582, allocations: 1.778 MB / 0.6212 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003103/0.1585, allocations: 115.6 kB / 0.6213 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.1585, allocations: 4 kB / 0.6213 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.983e-05/0.1586, allocations: 19.8 kB / 0.6213 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.841e-05/0.1587, allocations: 47.56 kB / 0.6214 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.1589, allocations: 31.95 kB / 0.6214 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.1591, allocations: 175.1 kB / 0.6216 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1592, allocations: 21.22 kB / 0.6216 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.838e-05/0.1593, allocations: 51.84 kB / 0.6216 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1594, allocations: 63.7 kB / 0.6217 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.1594, allocations: 12 kB / 0.6217 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.991e-05/0.1594, allocations: 8 kB / 0.6217 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.1595, allocations: 31.91 kB / 0.6218 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.1595, allocations: 51.73 kB / 0.6218 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.1598, allocations: 135.4 kB / 0.6219 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1598, allocations: 0 / 0.6219 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1598, allocations: 0 / 0.6219 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.1598, allocations: 0 / 0.6219 GB, free: 15.08 MB / 0.5294 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.0008442/0.1606, allocations: 385.6 kB / 0.6223 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1607, allocations: 12.03 kB / 0.6223 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.1607, allocations: 8.891 kB / 0.6223 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.161, allocations: 155.3 kB / 0.6225 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.161, allocations: 4.375 kB / 0.6225 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.161, allocations: 8.375 kB / 0.6225 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.1613, allocations: 123.7 kB / 0.6226 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1613, allocations: 4.172 kB / 0.6226 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.1613, allocations: 7.938 kB / 0.6226 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1613, allocations: 8 kB / 0.6226 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.1617, allocations: 87.94 kB / 0.6227 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/0.1624, allocations: 396.4 kB / 0.6231 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.1627, allocations: 121.2 kB / 0.6232 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.1629, allocations: 61.78 kB / 0.6233 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.1629, allocations: 0 / 0.6233 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.163, allocations: 34.56 kB / 0.6233 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 9.51e-07/0.163, allocations: 4 kB / 0.6233 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0005973/0.1636, allocations: 173.5 kB / 0.6235 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.1636, allocations: 89.11 kB / 0.6235 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1638, allocations: 159.3 kB / 0.6237 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1638, allocations: 25.7 kB / 0.6237 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.1639, allocations: 116 kB / 0.6238 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.1639, allocations: 27.75 kB / 0.6239 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.164, allocations: 25.7 kB / 0.6239 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1642, allocations: 330.8 kB / 0.6242 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.1643, allocations: 39.97 kB / 0.6242 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.1645, allocations: 61.69 kB / 0.6243 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.1648, allocations: 101.9 kB / 0.6244 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1648, allocations: 0 / 0.6244 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003728/0.1652, allocations: 149.5 kB / 0.6245 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1652, allocations: 11.94 kB / 0.6245 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1652, allocations: 0 / 0.6245 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1652, allocations: 4 kB / 0.6245 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.1653, allocations: 23.92 kB / 0.6246 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1654, allocations: 4 kB / 0.6246 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.1655, allocations: 7.984 kB / 0.6246 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.1655, allocations: 8 kB / 0.6246 GB, free: 12.14 MB / 0.5294 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 9.954e-05/0.1656, allocations: 117.8 kB / 0.6247 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.1656, allocations: 15.91 kB / 0.6247 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004488/0.1661, allocations: 162.6 kB / 0.6249 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1661, allocations: 4 kB / 0.6249 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1661, allocations: 192 / 0.6249 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1661, allocations: 0 / 0.6249 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.1664, allocations: 153.2 kB / 0.625 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.1664, allocations: 3.984 kB / 0.625 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.1665, allocations: 27.98 kB / 0.6251 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1665, allocations: 0 / 0.6251 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1665, allocations: 0 / 0.6251 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1665, allocations: 4.188 kB / 0.6251 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.1665, allocations: 8 kB / 0.6251 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.167, allocations: 310.6 kB / 0.6254 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.167, allocations: 16.12 kB / 0.6254 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.167, allocations: 4 kB / 0.6254 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.1672, allocations: 11.98 kB / 0.6254 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.1673, allocations: 11.92 kB / 0.6254 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.1673, allocations: 3.984 kB / 0.6254 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.499e-05/0.1674, allocations: 124.9 kB / 0.6255 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1674, allocations: 0 / 0.6255 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003001/0.1677, allocations: 32 kB / 0.6256 GB, free: 11.09 MB / 0.5294 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 0.0001058/0.1678, allocations: 91.25 kB / 0.6256 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000366/0.1682, allocations: 99.88 kB / 0.6257 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1682, allocations: 0 / 0.6257 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.1683, allocations: 59.91 kB / 0.6258 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.1687, allocations: 36.31 kB / 0.6258 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/0.1692, allocations: 231.4 kB / 0.626 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.484e-05/0.1693, allocations: 97.25 kB / 0.6261 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.894e-05/0.1694, allocations: 12.48 kB / 0.6262 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.1694, allocations: 16.5 kB / 0.6262 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1694, allocations: 0 / 0.6262 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of Templates: time 0.005304/0.1747, allocations: 2.158 MB / 0.6283 GB, free: 8.312 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.497047864948399] Failed to read output from testmodel.py, exit status != 0: 0.18291677604429424 0.19810175800000002 0.035231337 Calling exit ...