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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 175.3 kB / 8.477 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.201/1.201, allocations: 205.2 MB / 214.1 MB, free: 5.453 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.0008672/0.000867, allocations: 90.75 kB / 262.1 MB, free: 5.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.154e-06/7.174e-06, allocations: 4 kB / 315 MB, free: 41.44 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0764/0.07642, allocations: 47.59 MB / 362.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.231/0.3075, allocations: 81.18 MB / 443.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.3077, allocations: 69.69 kB / 443.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04473/0.3525, allocations: 19.07 MB / 462.9 MB, free: 4.613 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.885e-05/0.3526, allocations: 19.53 kB / 462.9 MB, free: 4.613 MB / 314.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.001667/0.3542, allocations: 1.165 MB / 464 MB, free: 3.777 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3543, allocations: 12.25 kB / 464.1 MB, free: 3.773 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.3545, allocations: 123.6 kB / 464.2 MB, free: 3.719 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008218/0.3553, allocations: 0.6038 MB / 464.8 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.3555, allocations: 141.6 kB / 464.9 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.578e-05/0.3556, allocations: 41.25 kB / 465 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009046/0.3565, allocations: 0.5239 MB / 465.5 MB, free: 3.211 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.3575, allocations: 0.8135 MB / 466.3 MB, free: 2.766 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.3575, allocations: 4 kB / 466.3 MB, free: 2.762 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.915e-05/0.3576, allocations: 6.531 kB / 466.3 MB, free: 2.758 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.3576, allocations: 15.56 kB / 466.3 MB, free: 2.758 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003433/0.3611, allocations: 2.433 MB / 468.8 MB, free: 1.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.3622, allocations: 0.681 MB / 469.4 MB, free: 1.316 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004847/0.3627, allocations: 309.6 kB / 469.7 MB, free: 1.289 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.005e-05/0.3628, allocations: 20.62 kB / 469.8 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.3628, allocations: 47.09 kB / 469.8 MB, free: 1.246 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 2.094e-06/0.3628, allocations: 0 / 469.8 MB, free: 1.246 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.001278/0.3641, allocations: 0.6728 MB / 470.5 MB, free: 1.059 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000217/0.3643, allocations: 0.9544 MB / 471.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008003/0.3652, allocations: 0.5799 MB / 472 MB, free: 15.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.187e-05/0.3652, allocations: 29.73 kB / 472 MB, free: 15.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.3655, allocations: 290.7 kB / 472.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.3657, allocations: 243.9 kB / 472.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.3657, allocations: 1.594 kB / 472.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3659, allocations: 345.2 kB / 472.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.3662, allocations: 208.2 kB / 473.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007012/0.367, allocations: 0.5254 MB / 473.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/0.3674, allocations: 267 kB / 473.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-06/0.3675, allocations: 1.219 kB / 473.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001534/0.369, allocations: 0.7885 MB / 474.7 MB, free: 14.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.369, allocations: 8.531 kB / 474.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.369, allocations: 2.031 kB / 474.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005809/0.3696, allocations: 162.1 kB / 474.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008007/0.3704, allocations: 164.5 kB / 475 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005397/0.3759, allocations: 6.487 MB / 481.5 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009206/0.3768, allocations: 95.38 kB / 481.6 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.3769, allocations: 31.12 kB / 481.6 MB, free: 7.609 MB / 330.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.000283/0.3772, allocations: 138.9 kB / 481.8 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.3773, allocations: 90.97 kB / 481.9 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.3776, allocations: 86.73 kB / 481.9 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.3776, allocations: 8 kB / 481.9 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/0.3776, allocations: 7.984 kB / 482 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009821/0.3786, allocations: 0.8779 MB / 482.8 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.3808, allocations: 1.577 MB / 484.4 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3808, allocations: 4 kB / 484.4 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008377/0.3816, allocations: 163.3 kB / 484.6 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.4e-05/0.3817, allocations: 31.47 kB / 484.6 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.3818, allocations: 11.05 kB / 484.6 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007186/0.3825, allocations: 1.245 MB / 485.9 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3825, allocations: 4.062 kB / 485.9 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001262/0.3838, allocations: 0.9516 MB / 486.8 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.3841, allocations: 256.6 kB / 487.1 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.3843, allocations: 4 kB / 487.1 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/0.3848, allocations: 31.97 kB / 487.1 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/0.3849, allocations: 40.16 kB / 487.1 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.3849, allocations: 27.73 kB / 487.2 MB, free: 2.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0004738/0.3854, allocations: 448.8 kB / 487.6 MB, free: 2.438 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007181/0.3861, allocations: 275.4 kB / 487.9 MB, free: 2.168 MB / 330.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.0002002/0.3864, allocations: 119.2 kB / 488 MB, free: 2.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.3883, allocations: 1.187 MB / 489.2 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3883, allocations: 3.859 kB / 489.2 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004454/0.3887, allocations: 382.5 kB / 489.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008581/0.3896, allocations: 217.8 kB / 489.8 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.3922, allocations: 1.265 MB / 491 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000747/0.3929, allocations: 1.094 MB / 492.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3929, allocations: 0 / 492.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of Templates: time 0.02413/0.4171, allocations: 15.22 MB / 0.4955 GB, free: 15.05 MB / 362.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)