Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001499/0.001498, allocations: 181 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.495/1.495, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0016/0.0016, allocations: 122.2 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.215e-05/3.218e-05, allocations: 3.984 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09611/0.09616, allocations: 44.5 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2986/0.3948, allocations: 77.17 MB / 426.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.3951, allocations: 74.48 kB / 426.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03627/0.4314, allocations: 15.7 MB / 442.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4314, allocations: 0 / 442.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.276e-05/0.4315, allocations: 12 kB / 442.4 MB, free: 4.168 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.001552/0.433, allocations: 1.042 MB / 443.4 MB, free: 3.121 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4331, allocations: 8.031 kB / 443.4 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.4332, allocations: 114.1 kB / 443.6 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007197/0.434, allocations: 0.511 MB / 444.1 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.4341, allocations: 156.2 kB / 444.2 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.091e-05/0.4342, allocations: 53.31 kB / 444.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009221/0.4352, allocations: 0.7736 MB / 445 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.4352, allocations: 0 / 445 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/0.4353, allocations: 25.44 kB / 445.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.4353, allocations: 12 kB / 445.1 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007287/0.436, allocations: 0.4883 MB / 445.6 MB, free: 1.355 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/0.4388, allocations: 2.06 MB / 447.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.4399, allocations: 0.9178 MB / 448.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004618/0.4404, allocations: 325.7 kB / 448.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-05/0.4405, allocations: 16.39 kB / 448.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.4405, allocations: 54.83 kB / 448.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 2.825e-06/0.4405, allocations: 0 / 448.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.002141/0.4427, allocations: 0.8835 MB / 449.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004052/0.4431, allocations: 0.8234 MB / 450.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006624/0.4438, allocations: 0.5258 MB / 451.2 MB, free: 12.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.339e-05/0.4439, allocations: 43.83 kB / 451.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.4441, allocations: 322.2 kB / 451.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.4443, allocations: 256.2 kB / 451.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.4444, allocations: 13.56 kB / 451.8 MB, free: 12.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.4445, allocations: 382.9 kB / 452.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.4449, allocations: 224.4 kB / 452.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/0.4455, allocations: 491.9 kB / 452.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00049/0.446, allocations: 347.4 kB / 453.2 MB, free: 10.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.446, allocations: 4 kB / 453.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00211/0.4481, allocations: 1.024 MB / 454.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.163e-05/0.4482, allocations: 89.09 kB / 454.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4482, allocations: 3.938 kB / 454.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/0.4488, allocations: 207.9 kB / 454.5 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.4495, allocations: 143 kB / 454.7 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006616/0.4561, allocations: 6.223 MB / 460.9 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009075/0.4571, allocations: 112 kB / 461 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/0.4572, allocations: 31.05 kB / 461 MB, free: 3.449 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 () * 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.0002094/0.4574, allocations: 156.9 kB / 461.2 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.4575, allocations: 83.06 kB / 461.3 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.4578, allocations: 86.8 kB / 461.3 MB, free: 3.184 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.4578, allocations: 8 kB / 461.4 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/0.4578, allocations: 3.953 kB / 461.4 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001973/0.4598, allocations: 1.181 MB / 462.5 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/0.4631, allocations: 1.842 MB / 464.4 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4631, allocations: 0 / 464.4 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007013/0.4638, allocations: 154 kB / 464.5 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004261/0.4642, allocations: 172.2 kB / 464.7 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.4643, allocations: 18.62 kB / 464.7 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005388/0.4697, allocations: 4.779 MB / 469.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4697, allocations: 0 / 469.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.4724, allocations: 1.272 MB / 470.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/0.4727, allocations: 172 kB / 470.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.4729, allocations: 31.94 kB / 471 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005197/0.4734, allocations: 55.95 kB / 471 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.4736, allocations: 64.69 kB / 471.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.4737, allocations: 23.98 kB / 471.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006217/0.4743, allocations: 427.2 kB / 471.5 MB, free: 9.949 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4743, allocations: 0 / 471.5 MB, free: 9.949 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001003/0.4753, allocations: 283.7 kB / 471.8 MB, free: 9.672 MB / 330.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 () * 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.0002857/0.4756, allocations: 131.1 kB / 471.9 MB, free: 9.535 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.4776, allocations: 1.235 MB / 473.2 MB, free: 8.211 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.4776, allocations: 0 / 473.2 MB, free: 8.211 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.4788, allocations: 0.7306 MB / 473.9 MB, free: 7.441 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009939/0.4798, allocations: 195.3 kB / 474.1 MB, free: 7.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.4826, allocations: 1.237 MB / 475.3 MB, free: 5.984 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006846/0.4833, allocations: 0.9479 MB / 476.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005129/0.4838, allocations: 90.06 kB / 476.4 MB, free: 4.922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.484, allocations: 63.42 kB / 476.4 MB, free: 4.859 MB / 330.7 MB Notification: Performance of SimCode: time 1.392e-06/0.484, allocations: 0 / 476.4 MB, free: 4.859 MB / 330.7 MB Notification: Performance of Templates: time 0.0274/0.5114, allocations: 15.84 MB / 492.3 MB, free: 5.02 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1)