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.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) 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.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 106.7 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 191 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7987/0.7987, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 66.69 kB / 0.582 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1565, allocations: 80.22 MB / 0.6603 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003146/0.1597, allocations: 1.804 MB / 0.6621 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004186/0.1601, allocations: 123.6 kB / 0.6622 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1603, allocations: 3.938 kB / 0.6622 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.1604, allocations: 19.84 kB / 0.6622 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.1605, allocations: 43.56 kB / 0.6622 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.1607, allocations: 35.95 kB / 0.6623 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.1609, allocations: 175.1 kB / 0.6624 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.1611, allocations: 25.09 kB / 0.6625 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1612, allocations: 55.84 kB / 0.6625 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.1613, allocations: 67.69 kB / 0.6626 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.1614, allocations: 16 kB / 0.6626 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.872e-05/0.1614, allocations: 8 kB / 0.6626 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.1615, allocations: 23.92 kB / 0.6626 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.003e-05/0.1615, allocations: 71.59 kB / 0.6627 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.1617, allocations: 127.5 kB / 0.6628 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1618, allocations: 0 / 0.6628 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.896e-06/0.1618, allocations: 0 / 0.6628 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.1618, allocations: 0 / 0.6628 GB, free: 7.805 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.000827/0.1626, allocations: 454.8 kB / 0.6633 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1627, allocations: 15.97 kB / 0.6633 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.1627, allocations: 12.84 kB / 0.6633 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.163, allocations: 208.9 kB / 0.6635 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1631, allocations: 12.31 kB / 0.6635 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1631, allocations: 4.375 kB / 0.6635 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.1634, allocations: 119.9 kB / 0.6636 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1634, allocations: 192 / 0.6636 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1634, allocations: 7.922 kB / 0.6636 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1634, allocations: 4 kB / 0.6636 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.1637, allocations: 95.88 kB / 0.6637 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007579/0.1645, allocations: 472.7 kB / 0.6642 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.1649, allocations: 125.2 kB / 0.6643 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.1651, allocations: 61.78 kB / 0.6643 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1651, allocations: 4 kB / 0.6643 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1651, allocations: 38.5 kB / 0.6644 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.1651, allocations: 0 / 0.6644 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005776/0.1657, allocations: 181.5 kB / 0.6646 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.1658, allocations: 81.05 kB / 0.6646 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.1659, allocations: 174.4 kB / 0.6648 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.166, allocations: 25.7 kB / 0.6648 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.166, allocations: 112 kB / 0.6649 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.1661, allocations: 31.55 kB / 0.665 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.1661, allocations: 25.66 kB / 0.665 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1662, allocations: 330.8 kB / 0.6653 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.1664, allocations: 39.97 kB / 0.6653 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.1666, allocations: 53.69 kB / 0.6654 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.1668, allocations: 117.8 kB / 0.6655 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1669, allocations: 0 / 0.6655 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003503/0.1672, allocations: 141.6 kB / 0.6656 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1672, allocations: 4 kB / 0.6656 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1672, allocations: 0 / 0.6656 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1673, allocations: 4 kB / 0.6656 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1674, allocations: 27.91 kB / 0.6657 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.1674, allocations: 3.984 kB / 0.6657 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.1676, allocations: 16 kB / 0.6657 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1676, allocations: 8.125 kB / 0.6657 GB, free: 4.59 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 0.0001036/0.1677, allocations: 121.8 kB / 0.6658 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.1678, allocations: 15.75 kB / 0.6658 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/0.1682, allocations: 162.5 kB / 0.666 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1682, allocations: 0 / 0.666 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.1682, allocations: 4 kB / 0.666 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1682, allocations: 0 / 0.666 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.1685, allocations: 225.5 kB / 0.6662 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1685, allocations: 4 kB / 0.6662 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.1687, allocations: 20.17 kB / 0.6662 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1687, allocations: 4 kB / 0.6662 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1687, allocations: 7.938 kB / 0.6662 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1687, allocations: 0 / 0.6662 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1687, allocations: 8 kB / 0.6662 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.1691, allocations: 310.5 kB / 0.6665 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1692, allocations: 92.91 kB / 0.6666 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.1692, allocations: 0 / 0.6666 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.1694, allocations: 15.98 kB / 0.6666 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.1695, allocations: 8 kB / 0.6667 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.1695, allocations: 7.922 kB / 0.6667 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.016e-05/0.1696, allocations: 124.2 kB / 0.6668 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1696, allocations: 0 / 0.6668 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003054/0.1699, allocations: 28 kB / 0.6668 GB, free: 3.355 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 0.0001068/0.17, allocations: 99.19 kB / 0.6669 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003549/0.1704, allocations: 107.9 kB / 0.667 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1704, allocations: 0 / 0.667 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.1705, allocations: 55.89 kB / 0.6671 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.171, allocations: 50.09 kB / 0.6671 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.1715, allocations: 249.2 kB / 0.6673 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.1718, allocations: 0.7045 MB / 0.668 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.469e-05/0.1719, allocations: 15.44 kB / 0.668 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1719, allocations: 0 / 0.668 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of Templates: time 0.00354/0.1754, allocations: 1.767 MB / 0.6698 GB, free: 276 kB / 0.4981 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)