Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007999/0.0007997, allocations: 86.38 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.561e-05/1.563e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 47.59 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3334/0.4341, allocations: 81.51 MB / 444.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.4344, allocations: 64.84 kB / 444.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04933/0.4837, allocations: 19.17 MB / 463.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4838, allocations: 0 / 463.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.22e-05/0.4839, allocations: 20 kB / 463.8 MB, free: 14.4 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002587/0.4865, allocations: 1.163 MB / 465 MB, free: 13.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.4865, allocations: 8.031 kB / 465 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004823/0.487, allocations: 126.7 kB / 465.1 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.4883, allocations: 0.5914 MB / 465.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.4885, allocations: 135.1 kB / 465.8 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.4887, allocations: 47.88 kB / 465.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001042/0.4897, allocations: 0.5173 MB / 466.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.4909, allocations: 0.811 MB / 467.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.491, allocations: 0 / 467.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.746e-05/0.4911, allocations: 8 kB / 467.2 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.4911, allocations: 16 kB / 467.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/0.4953, allocations: 2.418 MB / 469.7 MB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.4978, allocations: 0.8513 MB / 470.5 MB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.4983, allocations: 303.9 kB / 470.8 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.467e-05/0.4984, allocations: 16.75 kB / 470.8 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.4985, allocations: 54.28 kB / 470.9 MB, free: 8.449 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 3.377e-06/0.4985, allocations: 336 / 470.9 MB, free: 8.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.001504/0.5, allocations: 0.6703 MB / 471.6 MB, free: 7.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005125/0.5005, allocations: 0.9556 MB / 472.5 MB, free: 6.742 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000837/0.5014, allocations: 0.5857 MB / 473.1 MB, free: 6.309 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.429e-05/0.5015, allocations: 29.7 kB / 473.1 MB, free: 6.273 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.5018, allocations: 408 kB / 473.5 MB, free: 6.016 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.5021, allocations: 250.6 kB / 473.8 MB, free: 5.797 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.5021, allocations: 0 / 473.8 MB, free: 5.797 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5022, allocations: 334.7 kB / 474.1 MB, free: 5.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.5026, allocations: 212.8 kB / 474.3 MB, free: 5.359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.5032, allocations: 0.5236 MB / 474.8 MB, free: 4.844 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.5036, allocations: 263 kB / 475.1 MB, free: 4.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.5036, allocations: 8 kB / 475.1 MB, free: 4.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001384/0.505, allocations: 0.7846 MB / 475.9 MB, free: 3.984 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.791e-05/0.5051, allocations: 81.11 kB / 476 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.5051, allocations: 12.11 kB / 476 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/0.5058, allocations: 168.1 kB / 476.1 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007274/0.5065, allocations: 159.8 kB / 476.3 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005504/0.512, allocations: 6.547 MB / 482.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008467/0.5129, allocations: 79.47 kB / 482.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.214e-05/0.513, allocations: 31.98 kB / 482.9 MB, free: 12.3 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: outerPump.flowPort_b.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absolutePressure.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: innerPipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003151/0.5133, allocations: 132.8 kB / 483.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.5136, allocations: 98.97 kB / 483.2 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.5138, allocations: 89.03 kB / 483.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5139, allocations: 4 kB / 483.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.5139, allocations: 4 kB / 483.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/0.5149, allocations: 0.8794 MB / 484.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.5174, allocations: 1.575 MB / 485.7 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5174, allocations: 3.938 kB / 485.7 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008009/0.5183, allocations: 163.8 kB / 485.9 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.5184, allocations: 32.8 kB / 485.9 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.5184, allocations: 7.984 kB / 485.9 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007907/0.5192, allocations: 1.245 MB / 487.2 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5192, allocations: 4.062 kB / 487.2 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.5206, allocations: 0.9555 MB / 488.1 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/0.5211, allocations: 251.8 kB / 488.4 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.5212, allocations: 0 / 488.4 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005418/0.5218, allocations: 35.89 kB / 488.4 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.881e-05/0.5219, allocations: 48.7 kB / 488.5 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.5219, allocations: 16 kB / 488.5 MB, free: 6.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005888/0.5225, allocations: 455.2 kB / 488.9 MB, free: 5.996 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5225, allocations: 0 / 488.9 MB, free: 5.996 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008951/0.5234, allocations: 279.5 kB / 489.2 MB, free: 5.723 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 71 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002366/0.5237, allocations: 123.3 kB / 489.3 MB, free: 5.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002194/0.5259, allocations: 1.29 MB / 490.6 MB, free: 4.215 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.5259, allocations: 11.92 kB / 490.6 MB, free: 4.203 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.5264, allocations: 376.6 kB / 491 MB, free: 3.828 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009904/0.5274, allocations: 220.8 kB / 491.2 MB, free: 3.617 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.5298, allocations: 1.241 MB / 492.4 MB, free: 2.344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/0.5304, allocations: 0.9993 MB / 493.4 MB, free: 1.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004964/0.5309, allocations: 114.7 kB / 493.5 MB, free: 1.195 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.5311, allocations: 71.42 kB / 493.6 MB, free: 1.125 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5311, allocations: 0 / 493.6 MB, free: 1.125 MB / 362.7 MB Notification: Performance of Templates: time 0.02376/0.5549, allocations: 14.51 MB / 0.4962 GB, free: 2.594 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)