Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 101.8 kB / 16.5 MB, free: 6.645 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.001144/0.001144, allocations: 194.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.1 MB / 223.3 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001839/0.00184, allocations: 47.92 kB / 279.3 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1441, allocations: 46.62 MB / 325.9 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.005781/0.1499, allocations: 2.523 MB / 328.5 MB, free: 2.363 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1517, allocations: 0.6398 MB / 329.1 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.1519, allocations: 4 kB / 329.1 MB, free: 1.711 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.1521, allocations: 23.78 kB / 329.1 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.1524, allocations: 59.52 kB / 329.2 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.1527, allocations: 51.95 kB / 329.2 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.1531, allocations: 258.8 kB / 329.5 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.1534, allocations: 83.31 kB / 329.6 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.1535, allocations: 99.56 kB / 329.7 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.1538, allocations: 103.5 kB / 329.8 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.1538, allocations: 16 kB / 329.8 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.154, allocations: 20 kB / 329.8 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.1541, allocations: 39.84 kB / 329.9 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.1542, allocations: 115.4 kB / 330 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.1545, allocations: 247.4 kB / 330.2 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1546, allocations: 0 / 330.2 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1546, allocations: 0 / 330.2 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1546, allocations: 0 / 330.2 MB, free: 0.6133 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009478/0.1555, allocations: 0.542 MB / 330.7 MB, free: 20 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1556, allocations: 11.97 kB / 330.8 MB, free: 8 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.1557, allocations: 28.83 kB / 330.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.156, allocations: 236.3 kB / 331 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.156, allocations: 16.81 kB / 331 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.1561, allocations: 16.38 kB / 331 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.1565, allocations: 234.2 kB / 331.3 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1565, allocations: 0 / 331.3 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.1565, allocations: 4 kB / 331.3 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.1566, allocations: 8 kB / 331.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.1569, allocations: 165.6 kB / 331.5 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.1581, allocations: 0.8204 MB / 332.3 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.1585, allocations: 162.6 kB / 332.4 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.1587, allocations: 80.77 kB / 332.5 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1587, allocations: 4 kB / 332.5 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.1588, allocations: 34.55 kB / 332.5 MB, free: 14.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.1588, allocations: 0 / 332.5 MB, free: 14.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008421/0.1596, allocations: 344.3 kB / 332.9 MB, free: 13.71 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.1597, allocations: 55.34 kB / 332.9 MB, free: 13.65 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1598, allocations: 174.7 kB / 333.1 MB, free: 13.47 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1598, allocations: 33.7 kB / 333.1 MB, free: 13.43 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/0.1599, allocations: 148 kB / 333.3 MB, free: 13.28 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.16, allocations: 55.27 kB / 333.3 MB, free: 13.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.16, allocations: 45.7 kB / 333.4 MB, free: 13.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1602, allocations: 326.8 kB / 333.7 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.1603, allocations: 51.97 kB / 333.8 MB, free: 12.8 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.1605, allocations: 92.25 kB / 333.8 MB, free: 12.69 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.1608, allocations: 143.2 kB / 334 MB, free: 12.54 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1608, allocations: 8 kB / 334 MB, free: 12.53 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004359/0.1612, allocations: 214.1 kB / 334.2 MB, free: 12.31 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1612, allocations: 8 kB / 334.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1613, allocations: 0 / 334.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.1614, allocations: 32.84 kB / 334.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.1616, allocations: 36.05 kB / 334.3 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.1627, allocations: 1.366 MB / 335.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.1629, allocations: 31.89 kB / 335.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1629, allocations: 8 kB / 335.7 MB, free: 10.69 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.163, allocations: 133.8 kB / 335.8 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.1631, allocations: 15.81 kB / 335.8 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.1631, allocations: 21.88 kB / 335.8 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1631, allocations: 4 kB / 335.9 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1631, allocations: 4 kB / 335.9 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1631, allocations: 7.922 kB / 335.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006939/0.1638, allocations: 0.5114 MB / 336.4 MB, free: 9.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1639, allocations: 4 kB / 336.4 MB, free: 9.926 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.164, allocations: 31.92 kB / 336.4 MB, free: 9.895 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/0.1642, allocations: 44.77 kB / 336.5 MB, free: 9.848 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1642, allocations: 0 / 336.5 MB, free: 9.848 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.1653, allocations: 1.355 MB / 337.8 MB, free: 8.363 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1653, allocations: 4.062 kB / 337.8 MB, free: 8.359 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.1659, allocations: 354.3 kB / 338.2 MB, free: 7.996 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.167e-05/0.166, allocations: 100.9 kB / 338.3 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.166, allocations: 4 kB / 338.3 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.1662, allocations: 35.91 kB / 338.3 MB, free: 7.84 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.1663, allocations: 19.91 kB / 338.3 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1664, allocations: 8 kB / 338.3 MB, free: 7.812 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.601e-05/0.1665, allocations: 119.2 kB / 338.4 MB, free: 7.695 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1665, allocations: 0 / 338.4 MB, free: 7.695 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000312/0.1668, allocations: 63.84 kB / 338.5 MB, free: 7.633 MB / 286.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001036/0.1669, allocations: 97.11 kB / 338.6 MB, free: 7.527 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005129/0.1674, allocations: 274.3 kB / 338.9 MB, free: 7.246 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1674, allocations: 0 / 338.9 MB, free: 7.246 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.1677, allocations: 186.9 kB / 339 MB, free: 7.051 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.1681, allocations: 27.98 kB / 339.1 MB, free: 7.023 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007718/0.1688, allocations: 0.5323 MB / 339.6 MB, free: 6.469 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.1691, allocations: 0.7359 MB / 340.3 MB, free: 5.707 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.611e-05/0.1692, allocations: 13.55 kB / 340.4 MB, free: 5.695 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.1693, allocations: 19.44 kB / 340.4 MB, free: 5.676 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1693, allocations: 0 / 340.4 MB, free: 5.676 MB / 286.1 MB Notification: Performance of Templates: time 0.004817/0.1741, allocations: 2.211 MB / 342.6 MB, free: 3.473 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1)