Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001393/0.001394, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.503/1.503, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001655/0.001656, allocations: 110.2 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.477e-05/3.493e-05, allocations: 7.984 kB / 268.9 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09784/0.09789, allocations: 38.76 MB / 307.6 MB, free: 14.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2893/0.3872, allocations: 68.65 MB / 376.3 MB, free: 7.617 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.3875, allocations: 65.3 kB / 376.3 MB, free: 7.586 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01086/0.3984, allocations: 3.838 MB / 380.2 MB, free: 4.281 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3985, allocations: 0 / 380.2 MB, free: 4.281 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.3985, allocations: 8 kB / 380.2 MB, free: 4.273 MB / 266.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.0007205/0.3992, allocations: 492.9 kB / 380.7 MB, free: 3.766 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3993, allocations: 12.03 kB / 380.7 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.3994, allocations: 27.7 kB / 380.7 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.3997, allocations: 226.3 kB / 380.9 MB, free: 3.477 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.3997, allocations: 24.19 kB / 380.9 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.3997, allocations: 23.77 kB / 381 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.4001, allocations: 202.9 kB / 381.2 MB, free: 3.289 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.4001, allocations: 0 / 381.2 MB, free: 3.289 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.4002, allocations: 7.812 kB / 381.2 MB, free: 3.289 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.4002, allocations: 8 kB / 381.2 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.4004, allocations: 126.7 kB / 381.3 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.4016, allocations: 0.8259 MB / 382.1 MB, free: 2.434 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.4019, allocations: 140 kB / 382.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.4021, allocations: 71.97 kB / 382.3 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.4021, allocations: 4 kB / 382.3 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.4021, allocations: 30.56 kB / 382.4 MB, free: 2.238 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.4021, allocations: 3.938 kB / 382.4 MB, free: 2.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003873/0.4025, allocations: 158 kB / 382.5 MB, free: 2.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.4026, allocations: 55.22 kB / 382.6 MB, free: 2.039 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.4027, allocations: 153.1 kB / 382.7 MB, free: 1.895 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.4028, allocations: 37.52 kB / 382.8 MB, free: 1.855 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.4028, allocations: 147.3 kB / 382.9 MB, free: 1.727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.4029, allocations: 59.02 kB / 383 MB, free: 1.676 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.4029, allocations: 3.938 kB / 383 MB, free: 1.672 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.403, allocations: 330.6 kB / 383.3 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.4031, allocations: 40 kB / 383.3 MB, free: 1.324 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.923e-05/0.4032, allocations: 67 kB / 383.4 MB, free: 1.266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.18e-05/0.4033, allocations: 43.48 kB / 383.4 MB, free: 1.234 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4033, allocations: 0 / 383.4 MB, free: 1.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003109/0.4036, allocations: 191.8 kB / 383.6 MB, free: 1.078 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4037, allocations: 4 kB / 383.6 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4037, allocations: 4 kB / 383.6 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.4039, allocations: 36.55 kB / 383.7 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.404, allocations: 39.92 kB / 383.7 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.4052, allocations: 1.356 MB / 385.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.4054, allocations: 31.77 kB / 385.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.4054, allocations: 7.688 kB / 385.1 MB, free: 15.55 MB / 282.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 () * 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.0001065/0.4055, allocations: 124.7 kB / 385.2 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.4055, allocations: 15.81 kB / 385.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.4056, allocations: 20.84 kB / 385.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.4056, allocations: 7.938 kB / 385.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4056, allocations: 0 / 385.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.4056, allocations: 0 / 385.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/0.4062, allocations: 0.497 MB / 385.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4062, allocations: 0 / 385.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.4064, allocations: 35.97 kB / 385.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.4065, allocations: 32.41 kB / 385.8 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.4065, allocations: 0 / 385.8 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.4076, allocations: 1.368 MB / 387.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4076, allocations: 0 / 387.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.408, allocations: 314 kB / 387.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.11e-05/0.4081, allocations: 102.6 kB / 387.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.4081, allocations: 3.312 kB / 387.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.4084, allocations: 28.09 kB / 387.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.647e-05/0.4084, allocations: 23.16 kB / 387.7 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.4085, allocations: 7.938 kB / 387.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001141/0.4086, allocations: 131.9 kB / 387.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4086, allocations: 0 / 387.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003105/0.4089, allocations: 62.47 kB / 387.9 MB, free: 12.82 MB / 282.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) * 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.0001556/0.4091, allocations: 106.7 kB / 388 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003966/0.4095, allocations: 222.2 kB / 388.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4095, allocations: 4 kB / 388.2 MB, free: 12.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.4097, allocations: 180.1 kB / 388.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.41, allocations: 30.88 kB / 388.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.4106, allocations: 279.7 kB / 388.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.4111, allocations: 0.7402 MB / 389.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.407e-05/0.4112, allocations: 17.33 kB / 389.4 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.4113, allocations: 15.44 kB / 389.4 MB, free: 11.25 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.4113, allocations: 0 / 389.4 MB, free: 11.25 MB / 282.7 MB Notification: Performance of Templates: time 0.00587/0.4172, allocations: 2.182 MB / 391.6 MB, free: 9.082 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1)