Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.5 MB / 230.3 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008067/0.0008067, allocations: 93.36 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.468e-05/1.469e-05, allocations: 0 / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 50.42 MB / 387.5 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3494/0.4578, allocations: 80.49 MB / 467.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.4581, allocations: 71.95 kB / 468 MB, free: 14.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04684/0.5049, allocations: 18.8 MB / 486.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.505, allocations: 0 / 486.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.792e-05/0.505, allocations: 24 kB / 486.8 MB, free: 11.36 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.001918/0.5069, allocations: 1.147 MB / 488 MB, free: 10.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.507, allocations: 16.03 kB / 488 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.5072, allocations: 130.5 kB / 488.1 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008566/0.5081, allocations: 0.5869 MB / 488.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.5083, allocations: 131.1 kB / 488.8 MB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.364e-05/0.5083, allocations: 44.59 kB / 488.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008808/0.5092, allocations: 0.5272 MB / 489.4 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5104, allocations: 0.8223 MB / 490.2 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.5104, allocations: 0 / 490.2 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.5105, allocations: 0 / 490.2 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.5105, allocations: 16 kB / 490.3 MB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003593/0.5141, allocations: 2.417 MB / 492.7 MB, free: 5.168 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.5165, allocations: 0.8526 MB / 493.5 MB, free: 4.285 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/0.517, allocations: 299.1 kB / 493.8 MB, free: 3.992 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.689e-05/0.517, allocations: 24.75 kB / 493.8 MB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.5171, allocations: 47.28 kB / 493.9 MB, free: 3.914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.725e-06/0.5171, allocations: 4 kB / 493.9 MB, free: 3.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.00135/0.5185, allocations: 0.6712 MB / 494.6 MB, free: 3.215 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003847/0.5189, allocations: 0.9451 MB / 495.5 MB, free: 2.043 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007018/0.5196, allocations: 0.5781 MB / 496.1 MB, free: 1.461 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.5196, allocations: 29.7 kB / 496.1 MB, free: 1.426 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.5199, allocations: 416.2 kB / 496.5 MB, free: 1.012 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.5201, allocations: 244.2 kB / 496.8 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.5202, allocations: 4 kB / 496.8 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5203, allocations: 333.9 kB / 497.1 MB, free: 444 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.5207, allocations: 213.5 kB / 497.3 MB, free: 232 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/0.5213, allocations: 0.5179 MB / 497.8 MB, free: 15.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.5217, allocations: 270.8 kB / 498.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5217, allocations: 3.938 kB / 498.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00135/0.5231, allocations: 0.7845 MB / 498.9 MB, free: 14.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.177e-05/0.5231, allocations: 89.06 kB / 499 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5232, allocations: 0 / 499 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005265/0.5237, allocations: 164.2 kB / 499.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007192/0.5244, allocations: 167.8 kB / 499.3 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005596/0.53, allocations: 6.547 MB / 0.494 GB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.5313, allocations: 87.3 kB / 0.4941 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.269e-05/0.5314, allocations: 31.98 kB / 0.4941 GB, free: 6.82 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.000329/0.5318, allocations: 124.9 kB / 0.4942 GB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.5319, allocations: 94.97 kB / 0.4943 GB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.5322, allocations: 92.98 kB / 0.4944 GB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.5322, allocations: 8.188 kB / 0.4944 GB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.5322, allocations: 4 kB / 0.4944 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/0.5333, allocations: 0.887 MB / 0.4953 GB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.5356, allocations: 1.571 MB / 0.4968 GB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.5356, allocations: 4 kB / 0.4968 GB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007675/0.5364, allocations: 163.8 kB / 0.497 GB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.5365, allocations: 28.84 kB / 0.497 GB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.5365, allocations: 3.984 kB / 0.497 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008246/0.5374, allocations: 1.249 MB / 0.4982 GB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5374, allocations: 0 / 0.4982 GB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.5388, allocations: 0.9517 MB / 0.4991 GB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.5392, allocations: 251.8 kB / 0.4994 GB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.5393, allocations: 4 kB / 0.4994 GB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/0.5397, allocations: 35.78 kB / 0.4994 GB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/0.5398, allocations: 52.94 kB / 0.4995 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.5399, allocations: 20 kB / 0.4995 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005805/0.5405, allocations: 455.2 kB / 0.4999 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5405, allocations: 0 / 0.4999 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008615/0.5414, allocations: 279.5 kB / 0.5002 GB, free: 244 kB / 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.0002311/0.5416, allocations: 123.1 kB / 0.5003 GB, free: 112 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.5437, allocations: 1.297 MB / 0.5016 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/0.5437, allocations: 4 kB / 0.5016 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004528/0.5442, allocations: 380.9 kB / 0.5019 GB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009408/0.5451, allocations: 218.1 kB / 0.5021 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.5475, allocations: 1.238 MB / 0.5033 GB, free: 12.87 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.548, allocations: 0.9993 MB / 0.5043 GB, free: 11.83 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004825/0.5485, allocations: 106.7 kB / 0.5044 GB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.5487, allocations: 83.36 kB / 0.5045 GB, free: 11.64 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5487, allocations: 0 / 0.5045 GB, free: 11.64 MB / 394.7 MB Notification: Performance of Templates: time 0.02432/0.573, allocations: 14.51 MB / 0.5187 GB, free: 13.39 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)