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.8635/0.8635, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001716/0.001716, allocations: 167.3 kB / 144 MB, free: 4.789 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.871e-05, allocations: 3.938 kB / 173.9 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05706/0.0571, allocations: 25.17 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05662/0.1138, allocations: 35.85 MB / 234.9 MB, free: 9.797 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.1141, allocations: 63.97 kB / 234.9 MB, free: 9.734 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01061/0.1248, allocations: 3.874 MB / 238.8 MB, free: 5.836 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1248, allocations: 0 / 238.8 MB, free: 5.836 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.1248, allocations: 4 kB / 238.8 MB, free: 5.832 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.0007714/0.1256, allocations: 498.2 kB / 239.3 MB, free: 5.301 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.1257, allocations: 8.031 kB / 239.3 MB, free: 5.293 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.1257, allocations: 23.72 kB / 239.3 MB, free: 5.27 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.126, allocations: 222.8 kB / 239.5 MB, free: 5.012 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1261, allocations: 4 kB / 239.6 MB, free: 5.008 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.1261, allocations: 12 kB / 239.6 MB, free: 4.996 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002506/0.1264, allocations: 116.9 kB / 239.7 MB, free: 4.883 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.1267, allocations: 173 kB / 239.8 MB, free: 4.703 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1267, allocations: 7.891 kB / 239.9 MB, free: 4.695 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.1267, allocations: 0 / 239.9 MB, free: 4.695 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1268, allocations: 8 kB / 239.9 MB, free: 4.688 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.128, allocations: 0.7693 MB / 240.6 MB, free: 3.863 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.1283, allocations: 134.6 kB / 240.8 MB, free: 3.723 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.968e-05/0.1284, allocations: 56.86 kB / 240.8 MB, free: 3.664 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.1285, allocations: 81.11 kB / 240.9 MB, free: 3.566 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1286, allocations: 42.55 kB / 240.9 MB, free: 3.516 MB / 186.7 MB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.1286, allocations: 0 / 240.9 MB, free: 3.516 MB / 186.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004266/0.129, allocations: 146.5 kB / 241.1 MB, free: 3.363 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.129, allocations: 59.36 kB / 241.1 MB, free: 3.293 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1292, allocations: 133.3 kB / 241.3 MB, free: 3.156 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.1292, allocations: 25.7 kB / 241.3 MB, free: 3.125 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.715e-05/0.1293, allocations: 144.1 kB / 241.4 MB, free: 2.98 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.1293, allocations: 59.2 kB / 241.5 MB, free: 2.922 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.1294, allocations: 0 / 241.5 MB, free: 2.922 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1295, allocations: 318.8 kB / 241.8 MB, free: 2.602 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.1296, allocations: 40.38 kB / 241.8 MB, free: 2.562 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1297, allocations: 68.92 kB / 241.9 MB, free: 2.484 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.506e-05/0.1298, allocations: 39.98 kB / 242 MB, free: 2.445 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1298, allocations: 0 / 242 MB, free: 2.445 MB / 186.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002934/0.1301, allocations: 173.4 kB / 242.1 MB, free: 2.27 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1301, allocations: 7.953 kB / 242.1 MB, free: 2.262 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1301, allocations: 4 kB / 242.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/0.1303, allocations: 28.78 kB / 242.2 MB, free: 2.227 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.1305, allocations: 51.98 kB / 242.2 MB, free: 2.176 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.1315, allocations: 1.299 MB / 243.5 MB, free: 0.7617 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.1317, allocations: 35.92 kB / 243.5 MB, free: 0.7266 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.1317, allocations: 4 kB / 243.5 MB, free: 0.7227 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 () * 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 9.334e-05/0.1318, allocations: 116.9 kB / 243.7 MB, free: 0.6016 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.1319, allocations: 7.906 kB / 243.7 MB, free: 0.5938 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.1322, allocations: 163 kB / 243.8 MB, free: 432 kB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1322, allocations: 4 kB / 243.8 MB, free: 428 kB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.1322, allocations: 0 / 243.8 MB, free: 428 kB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1322, allocations: 3.984 kB / 243.8 MB, free: 424 kB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1459/0.2781, allocations: 442 kB / 244.3 MB, free: 42.95 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.2782, allocations: 0 / 244.3 MB, free: 42.95 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.2784, allocations: 35.03 kB / 244.3 MB, free: 42.95 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/0.2785, allocations: 29.86 kB / 244.3 MB, free: 42.95 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.2786, allocations: 0 / 244.3 MB, free: 42.95 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009227/0.2795, allocations: 1.314 MB / 245.6 MB, free: 41.77 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.2795, allocations: 0 / 245.6 MB, free: 41.77 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.28, allocations: 295.2 kB / 245.9 MB, free: 41.63 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-05/0.2801, allocations: 104.9 kB / 246 MB, free: 41.54 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.2801, allocations: 5.859 kB / 246 MB, free: 41.54 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.2804, allocations: 30.34 kB / 246.1 MB, free: 41.54 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.2804, allocations: 20.53 kB / 246.1 MB, free: 41.54 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.2805, allocations: 2.75 kB / 246.1 MB, free: 41.54 MB / 186.7 MB Notification: Performance of sorting global known variables: time 7.208e-05/0.2805, allocations: 112.1 kB / 246.2 MB, free: 41.46 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2805, allocations: 0 / 246.2 MB, free: 41.46 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003559/0.2809, allocations: 57.67 kB / 246.3 MB, free: 41.46 MB / 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) * 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.0001588/0.2811, allocations: 105.6 kB / 246.4 MB, free: 41.38 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003563/0.2814, allocations: 222.5 kB / 246.6 MB, free: 41.27 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2815, allocations: 1.375 kB / 246.6 MB, free: 41.27 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.2816, allocations: 170.5 kB / 246.8 MB, free: 41.17 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.282, allocations: 39.06 kB / 246.8 MB, free: 41.17 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.2827, allocations: 288.7 kB / 247.1 MB, free: 41.05 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.283, allocations: 0.7423 MB / 247.8 MB, free: 40.35 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 8.978e-05/0.2831, allocations: 14.39 kB / 247.8 MB, free: 40.35 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.2831, allocations: 14.97 kB / 247.8 MB, free: 40.34 MB / 186.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2831, allocations: 0 / 247.8 MB, free: 40.34 MB / 186.7 MB Notification: Performance of Templates: time 0.00636/0.2895, allocations: 2.141 MB / 250 MB, free: 40.21 MB / 186.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)