Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009868/0.0009868, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000873/0.000873, allocations: 100.3 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.487e-05/1.49e-05, allocations: 0 / 343.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 51.48 MB / 395.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3826/0.4972, allocations: 81.3 MB / 476.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.4975, allocations: 74.59 kB / 476.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04273/0.5402, allocations: 18.85 MB / 495.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5403, allocations: 0 / 495.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.034e-05/0.5403, allocations: 27.94 kB / 495.4 MB, free: 12.52 MB / 362.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.00187/0.5422, allocations: 1.149 MB / 496.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.5423, allocations: 8.031 kB / 496.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.5425, allocations: 130.4 kB / 496.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008399/0.5433, allocations: 0.5886 MB / 497.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.5435, allocations: 138.5 kB / 497.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.649e-05/0.5436, allocations: 40 kB / 497.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008476/0.5445, allocations: 0.5213 MB / 498 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.5456, allocations: 0.8175 MB / 498.8 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.5456, allocations: 0 / 498.8 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/0.5457, allocations: 4 kB / 498.8 MB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.5457, allocations: 16 kB / 498.8 MB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003557/0.5493, allocations: 2.431 MB / 0.4895 GB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/0.5516, allocations: 0.8454 MB / 0.4903 GB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004724/0.5521, allocations: 298.9 kB / 0.4906 GB, free: 6.645 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.283e-05/0.5522, allocations: 16.75 kB / 0.4906 GB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.5522, allocations: 53.22 kB / 0.4907 GB, free: 6.578 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.365e-06/0.5522, allocations: 4 kB / 0.4907 GB, free: 6.574 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.001364/0.5536, allocations: 0.6735 MB / 0.4913 GB, free: 6.027 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003952/0.554, allocations: 0.949 MB / 0.4923 GB, free: 4.852 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007532/0.5548, allocations: 0.5742 MB / 0.4928 GB, free: 4.273 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.5549, allocations: 33.7 kB / 0.4929 GB, free: 4.234 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.5552, allocations: 417.6 kB / 0.4933 GB, free: 3.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.5554, allocations: 248.2 kB / 0.4935 GB, free: 3.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.5554, allocations: 1.859 kB / 0.4935 GB, free: 3.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5556, allocations: 334 kB / 0.4938 GB, free: 3.242 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.5559, allocations: 213.5 kB / 0.494 GB, free: 3.035 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.5565, allocations: 0.5139 MB / 0.4945 GB, free: 2.395 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.557, allocations: 269.4 kB / 0.4948 GB, free: 2.133 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.557, allocations: 4 kB / 0.4948 GB, free: 2.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00141/0.5584, allocations: 0.7883 MB / 0.4956 GB, free: 1.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.989e-05/0.5585, allocations: 85.11 kB / 0.4956 GB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5585, allocations: 3.984 kB / 0.4956 GB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/0.5591, allocations: 168.2 kB / 0.4958 GB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007374/0.5598, allocations: 155.8 kB / 0.4959 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005635/0.5655, allocations: 6.54 MB / 0.5023 GB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008646/0.5664, allocations: 83.41 kB / 0.5024 GB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/0.5665, allocations: 27.98 kB / 0.5024 GB, free: 9.652 MB / 378.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.0002841/0.5667, allocations: 142.1 kB / 0.5026 GB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.5669, allocations: 94.97 kB / 0.5027 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.5672, allocations: 93.03 kB / 0.5028 GB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.5672, allocations: 7.938 kB / 0.5028 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.5672, allocations: 4 kB / 0.5028 GB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009951/0.5682, allocations: 0.8753 MB / 0.5036 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.5706, allocations: 1.575 MB / 0.5052 GB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5706, allocations: 0 / 0.5052 GB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/0.5714, allocations: 165.6 kB / 0.5053 GB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.5715, allocations: 28.8 kB / 0.5053 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.5715, allocations: 15.98 kB / 0.5054 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008322/0.5724, allocations: 1.252 MB / 0.5066 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5724, allocations: 0 / 0.5066 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.5738, allocations: 0.9518 MB / 0.5075 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.5742, allocations: 251.7 kB / 0.5078 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.5743, allocations: 0 / 0.5078 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000458/0.5747, allocations: 39.88 kB / 0.5078 GB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.5748, allocations: 44.72 kB / 0.5078 GB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.5749, allocations: 19.98 kB / 0.5079 GB, free: 3.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005715/0.5755, allocations: 451.2 kB / 0.5083 GB, free: 3.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5755, allocations: 0 / 0.5083 GB, free: 3.344 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008583/0.5763, allocations: 275.5 kB / 0.5085 GB, free: 3.074 MB / 378.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.0002716/0.5766, allocations: 127.8 kB / 0.5087 GB, free: 2.941 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002103/0.5787, allocations: 1.295 MB / 0.5099 GB, free: 1.562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.5788, allocations: 4.25 kB / 0.5099 GB, free: 1.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.5792, allocations: 380.6 kB / 0.5103 GB, free: 1.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000967/0.5802, allocations: 234.2 kB / 0.5105 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.5827, allocations: 1.225 MB / 0.5117 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.5832, allocations: 1.003 MB / 0.5127 GB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005032/0.5837, allocations: 110.8 kB / 0.5128 GB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.5839, allocations: 71.42 kB / 0.5129 GB, free: 14.49 MB / 394.7 MB Notification: Performance of SimCode: time 4e-07/0.5839, allocations: 0 / 0.5129 GB, free: 14.49 MB / 394.7 MB Notification: Performance of Templates: time 0.02417/0.6081, allocations: 14.51 MB / 0.527 GB, free: 320 kB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)