Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005709/0.005709, allocations: 165.4 kB / 15.11 MB, free: 5.973 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.087/1.087, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001714/0.001714, allocations: 111.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3029, allocations: 38.76 MB / 312.9 MB, free: 38.7 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.4227, allocations: 71.94 MB / 384.8 MB, free: 2.594 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.423, allocations: 71.95 kB / 384.9 MB, free: 2.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04287/0.4659, allocations: 15.67 MB / 400.6 MB, free: 2.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.466, allocations: 0 / 400.6 MB, free: 2.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.065e-05/0.466, allocations: 16 kB / 400.6 MB, free: 2.742 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002088/0.4681, allocations: 1.166 MB / 401.7 MB, free: 1.508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4682, allocations: 12.03 kB / 401.7 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.4683, allocations: 106.9 kB / 401.9 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/0.4692, allocations: 0.5077 MB / 402.4 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.4694, allocations: 146.7 kB / 402.5 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.092e-05/0.4695, allocations: 63.95 kB / 402.6 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.4708, allocations: 0.8479 MB / 403.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.4709, allocations: 0 / 403.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-05/0.4709, allocations: 28 kB / 403.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.471, allocations: 15.98 kB / 403.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.4723, allocations: 0.6376 MB / 404.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00322/0.4755, allocations: 2.045 MB / 406.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.4773, allocations: 1.068 MB / 407.2 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.706e-05/0.4773, allocations: 12.64 kB / 407.2 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.4774, allocations: 59.16 kB / 407.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 2.695e-06/0.4774, allocations: 0 / 407.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.005462/0.4829, allocations: 1.987 MB / 409.3 MB, free: 9.527 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003247/0.4832, allocations: 0.8195 MB / 410.1 MB, free: 8.512 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007322/0.4839, allocations: 0.5346 MB / 410.6 MB, free: 7.973 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-05/0.4841, allocations: 49.7 kB / 410.7 MB, free: 7.918 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.4843, allocations: 326.5 kB / 411 MB, free: 7.602 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.4846, allocations: 252.2 kB / 411.2 MB, free: 7.352 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.4846, allocations: 16 kB / 411.2 MB, free: 7.336 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.4849, allocations: 382.8 kB / 411.6 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006755/0.4855, allocations: 293.8 kB / 411.9 MB, free: 6.664 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000891/0.4864, allocations: 0.5686 MB / 412.5 MB, free: 6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007846/0.4872, allocations: 423.9 kB / 412.9 MB, free: 5.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4873, allocations: 0 / 412.9 MB, free: 5.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002739/0.49, allocations: 1.165 MB / 414.1 MB, free: 4.363 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.682e-05/0.4901, allocations: 93.09 kB / 414.1 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.4901, allocations: 0 / 414.1 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007452/0.4909, allocations: 255.2 kB / 414.4 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/0.4915, allocations: 151.8 kB / 414.5 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1561/0.6476, allocations: 6.564 MB / 421.1 MB, free: 81.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.6487, allocations: 121.2 kB / 421.2 MB, free: 81.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.487e-05/0.6488, allocations: 23.92 kB / 421.2 MB, free: 81.99 MB / 314.7 MB 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004443/0.6493, allocations: 217.3 kB / 421.5 MB, free: 81.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.6495, allocations: 80.33 kB / 421.5 MB, free: 81.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.6497, allocations: 90.92 kB / 421.6 MB, free: 81.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.6497, allocations: 7.844 kB / 421.6 MB, free: 81.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.6497, allocations: 0.6562 kB / 421.6 MB, free: 81.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002617/0.6523, allocations: 1.33 MB / 423 MB, free: 81.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003715/0.6561, allocations: 2.001 MB / 425 MB, free: 80.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.6561, allocations: 1.156 kB / 425 MB, free: 80.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007237/0.6568, allocations: 144.8 kB / 425.1 MB, free: 80.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005325/0.6574, allocations: 216.8 kB / 425.3 MB, free: 80.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/0.6574, allocations: 16.02 kB / 425.3 MB, free: 80.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005454/0.6629, allocations: 5.118 MB / 430.5 MB, free: 77.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.6629, allocations: 0 / 430.5 MB, free: 77.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/0.6664, allocations: 1.508 MB / 432 MB, free: 76.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.6668, allocations: 168.1 kB / 432.1 MB, free: 76.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.6669, allocations: 21.56 kB / 432.1 MB, free: 76.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/0.6675, allocations: 56.94 kB / 432.2 MB, free: 76.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.6677, allocations: 63.22 kB / 432.3 MB, free: 76.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/0.6677, allocations: 23.75 kB / 432.3 MB, free: 76.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005991/0.6683, allocations: 431.5 kB / 432.7 MB, free: 76.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6683, allocations: 0 / 432.7 MB, free: 76.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001132/0.6695, allocations: 276.2 kB / 433 MB, free: 76.51 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * 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 (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002762/0.6698, allocations: 141 kB / 433.1 MB, free: 76.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.6721, allocations: 1.4 MB / 434.5 MB, free: 75.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6721, allocations: 2.438 kB / 434.5 MB, free: 75.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.6733, allocations: 0.8055 MB / 435.3 MB, free: 75.06 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009012/0.6742, allocations: 201.8 kB / 435.5 MB, free: 75.01 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.6771, allocations: 1.937 MB / 437.5 MB, free: 73.97 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.6775, allocations: 0.9454 MB / 438.4 MB, free: 73.26 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004066/0.6779, allocations: 88.14 kB / 438.5 MB, free: 73.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.678, allocations: 59.98 kB / 438.5 MB, free: 73.24 MB / 314.7 MB Notification: Performance of SimCode: time 1.573e-06/0.678, allocations: 0 / 438.5 MB, free: 73.24 MB / 314.7 MB Notification: Performance of Templates: time 0.02126/0.6993, allocations: 15.7 MB / 454.3 MB, free: 64.8 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1)