Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7068/0.7068, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001607/0.001607, allocations: 142.7 kB / 151.8 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002367/0.0002367, allocations: 4 kB / 184.9 MB, free: 3.941 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1131, allocations: 25.16 MB / 210 MB, free: 29.74 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04087/0.154, allocations: 36.61 MB / 246.7 MB, free: 13.23 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.1542, allocations: 63.97 kB / 246.7 MB, free: 13.17 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01029/0.1645, allocations: 3.903 MB / 250.6 MB, free: 9.281 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1646, allocations: 0 / 250.6 MB, free: 9.281 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.1646, allocations: 4 kB / 250.6 MB, free: 9.277 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007357/0.1654, allocations: 0.5067 MB / 251.1 MB, free: 8.727 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1654, allocations: 8.031 kB / 251.1 MB, free: 8.719 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/0.1655, allocations: 23.72 kB / 251.2 MB, free: 8.695 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.1657, allocations: 230.6 kB / 251.4 MB, free: 8.43 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.1657, allocations: 16.44 kB / 251.4 MB, free: 8.414 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.1658, allocations: 16 kB / 251.4 MB, free: 8.398 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004141/0.1662, allocations: 229.8 kB / 251.6 MB, free: 8.164 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1662, allocations: 0 / 251.6 MB, free: 8.164 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.1663, allocations: 11.95 kB / 251.7 MB, free: 8.152 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1663, allocations: 8 kB / 251.7 MB, free: 8.145 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.1666, allocations: 169.6 kB / 251.8 MB, free: 7.98 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.1678, allocations: 0.8086 MB / 252.6 MB, free: 7.105 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.1682, allocations: 179.9 kB / 252.8 MB, free: 6.922 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.1684, allocations: 86.88 kB / 252.9 MB, free: 6.82 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.1684, allocations: 30.56 kB / 252.9 MB, free: 6.781 MB / 186.7 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.1684, allocations: 4 kB / 252.9 MB, free: 6.777 MB / 186.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008183/0.1692, allocations: 358.3 kB / 253.3 MB, free: 6.402 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.1693, allocations: 55.41 kB / 253.3 MB, free: 6.336 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1694, allocations: 157.8 kB / 253.5 MB, free: 6.172 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1694, allocations: 29.7 kB / 253.5 MB, free: 6.137 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.975e-05/0.1695, allocations: 144.1 kB / 253.7 MB, free: 5.992 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.1696, allocations: 55.2 kB / 253.7 MB, free: 5.938 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-06/0.1696, allocations: 4 kB / 253.7 MB, free: 5.934 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1697, allocations: 334.8 kB / 254 MB, free: 5.598 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.1699, allocations: 52.34 kB / 254.1 MB, free: 5.547 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.17, allocations: 88.09 kB / 254.2 MB, free: 5.449 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.1702, allocations: 67.53 kB / 254.2 MB, free: 5.387 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1702, allocations: 4 kB / 254.2 MB, free: 5.383 MB / 186.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004475/0.1706, allocations: 222 kB / 254.5 MB, free: 5.156 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1707, allocations: 4 kB / 254.5 MB, free: 5.152 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1707, allocations: 1 kB / 254.5 MB, free: 5.152 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/0.1709, allocations: 36.83 kB / 254.5 MB, free: 5.113 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1711, allocations: 37.95 kB / 254.5 MB, free: 5.078 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.1722, allocations: 1.363 MB / 255.9 MB, free: 3.578 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.1724, allocations: 43.88 kB / 255.9 MB, free: 3.535 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.1724, allocations: 8 kB / 256 MB, free: 3.527 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.1726, allocations: 130.3 kB / 256.1 MB, free: 3.395 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.1726, allocations: 28.05 kB / 256.1 MB, free: 3.367 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/0.1731, allocations: 204.2 kB / 256.3 MB, free: 3.152 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1731, allocations: 7.984 kB / 256.3 MB, free: 3.145 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1731, allocations: 0 / 256.3 MB, free: 3.145 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1731, allocations: 4 kB / 256.3 MB, free: 3.141 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/0.1738, allocations: 0.5265 MB / 256.8 MB, free: 2.555 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1738, allocations: 0 / 256.8 MB, free: 2.555 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.174, allocations: 31.98 kB / 256.9 MB, free: 2.523 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/0.1741, allocations: 32.83 kB / 256.9 MB, free: 2.488 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.1741, allocations: 10.89 kB / 256.9 MB, free: 2.48 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009779/0.1751, allocations: 1.366 MB / 258.3 MB, free: 0.9844 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1751, allocations: 0 / 258.3 MB, free: 0.9844 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.1757, allocations: 377.6 kB / 258.7 MB, free: 0.6016 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.1758, allocations: 104.9 kB / 258.8 MB, free: 492 kB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.1758, allocations: 3.984 kB / 258.8 MB, free: 488 kB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.176, allocations: 31.98 kB / 258.8 MB, free: 456 kB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.1761, allocations: 23.91 kB / 258.8 MB, free: 432 kB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1761, allocations: 4 kB / 258.8 MB, free: 428 kB / 186.7 MB Notification: Performance of sorting global known variables: time 8.625e-05/0.1762, allocations: 136.3 kB / 259 MB, free: 292 kB / 186.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1762, allocations: 0 / 259 MB, free: 292 kB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003001/0.1765, allocations: 63.84 kB / 259 MB, free: 228 kB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001293/0.1767, allocations: 119.5 kB / 259.1 MB, free: 96 kB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004964/0.1772, allocations: 267.7 kB / 259.4 MB, free: 15.82 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1772, allocations: 192 / 259.4 MB, free: 15.82 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.1774, allocations: 202.6 kB / 259.6 MB, free: 15.61 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.1779, allocations: 61.3 kB / 259.7 MB, free: 15.55 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.1786, allocations: 0.5464 MB / 260.2 MB, free: 14.98 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1788, allocations: 0.744 MB / 260.9 MB, free: 14.21 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 7.866e-05/0.1789, allocations: 15.05 kB / 261 MB, free: 14.2 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.179, allocations: 11.44 kB / 261 MB, free: 14.18 MB / 202.7 MB Notification: Performance of SimCode: time 1.573e-06/0.179, allocations: 8 kB / 261 MB, free: 14.18 MB / 202.7 MB Notification: Performance of Templates: time 0.005188/0.1842, allocations: 2.48 MB / 263.5 MB, free: 11.73 MB / 202.7 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1)