Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001666/0.001665, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.444/1.444, allocations: 194.3 MB / 203.1 MB, free: 9.328 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001567/0.001567, allocations: 117.7 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.927e-05, allocations: 0 / 298.1 MB, free: 8.258 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 44.49 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3568/0.4629, allocations: 76 MB / 418.6 MB, free: 19.89 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.4633, allocations: 63.84 kB / 418.6 MB, free: 19.86 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.036/0.4993, allocations: 15.37 MB / 434 MB, free: 7.34 MB / 315.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.4993, allocations: 4 kB / 434 MB, free: 7.336 MB / 315.1 MB Notification: Performance of Transformations before backend: time 6.581e-05/0.4994, allocations: 19.94 kB / 434 MB, free: 7.316 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.001971/0.5014, allocations: 1.011 MB / 435 MB, free: 6.293 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.5015, allocations: 8.031 kB / 435 MB, free: 6.285 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/0.5018, allocations: 106.9 kB / 435.1 MB, free: 6.18 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008886/0.5027, allocations: 0.4979 MB / 435.6 MB, free: 5.73 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.5029, allocations: 130.4 kB / 435.8 MB, free: 5.582 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.503, allocations: 36 kB / 435.8 MB, free: 5.547 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007713/0.5038, allocations: 469.4 kB / 436.3 MB, free: 5.258 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008726/0.5047, allocations: 0.6963 MB / 437 MB, free: 4.625 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.5047, allocations: 0 / 437 MB, free: 4.625 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-05/0.5048, allocations: 4 kB / 437 MB, free: 4.621 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.5048, allocations: 15.83 kB / 437 MB, free: 4.609 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003207/0.508, allocations: 1.93 MB / 438.9 MB, free: 3.113 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.5093, allocations: 0.8779 MB / 439.8 MB, free: 2.402 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004229/0.5097, allocations: 308.8 kB / 440.1 MB, free: 2.219 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.183e-05/0.5098, allocations: 20.84 kB / 440.1 MB, free: 2.199 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.5098, allocations: 49.27 kB / 440.2 MB, free: 2.152 MB / 315.1 MB Notification: Performance of pre-optimization done (n=74): time 3.888e-06/0.5098, allocations: 0 / 440.2 MB, free: 2.152 MB / 315.1 MB Notification: Performance of matching and sorting (n=74): time 0.001824/0.5117, allocations: 0.816 MB / 441 MB, free: 1.5 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/0.5119, allocations: 0.8263 MB / 441.8 MB, free: 492 kB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004872/0.5123, allocations: 459.7 kB / 442.2 MB, free: 140 kB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/0.5124, allocations: 29.7 kB / 442.3 MB, free: 104 kB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.5127, allocations: 314.3 kB / 442.6 MB, free: 15.9 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.5129, allocations: 251.4 kB / 442.8 MB, free: 15.68 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.513, allocations: 0 / 442.8 MB, free: 15.68 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.5132, allocations: 382.1 kB / 443.2 MB, free: 15.33 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.5135, allocations: 198.9 kB / 443.4 MB, free: 15.22 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005469/0.5141, allocations: 464.7 kB / 443.8 MB, free: 14.79 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.5145, allocations: 243.6 kB / 444.1 MB, free: 14.64 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5145, allocations: 0 / 444.1 MB, free: 14.64 MB / 331.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001996/0.5165, allocations: 0.8806 MB / 445 MB, free: 13.94 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.632e-05/0.5166, allocations: 81.11 kB / 445 MB, free: 13.84 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.5166, allocations: 0 / 445 MB, free: 13.84 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007027/0.5173, allocations: 210.9 kB / 445.3 MB, free: 13.67 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.5179, allocations: 138.2 kB / 445.4 MB, free: 13.54 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006524/0.5245, allocations: 6.036 MB / 451.4 MB, free: 7.613 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009537/0.5254, allocations: 85.47 kB / 451.5 MB, free: 7.531 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.5256, allocations: 19.31 kB / 451.5 MB, free: 7.516 MB / 331.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.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: 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 (70): * Single equations (assignments): 63 * 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 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004536/0.5261, allocations: 130.8 kB / 451.7 MB, free: 7.383 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003241/0.5264, allocations: 79.16 kB / 451.7 MB, free: 7.305 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.5267, allocations: 72.58 kB / 451.8 MB, free: 7.266 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.5267, allocations: 8 kB / 451.8 MB, free: 7.258 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.5267, allocations: 0 / 451.8 MB, free: 7.258 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002186/0.5289, allocations: 1.126 MB / 452.9 MB, free: 6.195 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003529/0.5325, allocations: 1.706 MB / 454.6 MB, free: 4.867 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.5325, allocations: 4.062 kB / 454.6 MB, free: 4.863 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000671/0.5332, allocations: 134.5 kB / 454.8 MB, free: 4.738 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/0.5336, allocations: 169.3 kB / 454.9 MB, free: 4.602 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.206e-05/0.5337, allocations: 7.984 kB / 454.9 MB, free: 4.594 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005221/0.5389, allocations: 4.641 MB / 459.6 MB, free: 36 kB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.5389, allocations: 0 / 459.6 MB, free: 36 kB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.5415, allocations: 1.224 MB / 460.8 MB, free: 15.09 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.5417, allocations: 166.9 kB / 461 MB, free: 14.92 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.5419, allocations: 0 / 461 MB, free: 14.92 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/0.5424, allocations: 31.89 kB / 461 MB, free: 14.89 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.5425, allocations: 71.02 kB / 461.1 MB, free: 14.83 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.5426, allocations: 23.3 kB / 461.1 MB, free: 14.81 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0004447/0.543, allocations: 346.2 kB / 461.4 MB, free: 14.57 MB / 347.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.543, allocations: 1.312 kB / 461.4 MB, free: 14.57 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0009525/0.544, allocations: 255.6 kB / 461.7 MB, free: 14.32 MB / 347.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0002293/0.5442, allocations: 123.2 kB / 461.8 MB, free: 14.19 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.546, allocations: 1.17 MB / 463 MB, free: 13.15 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.546, allocations: 4 kB / 463 MB, free: 13.15 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.547, allocations: 0.6752 MB / 463.7 MB, free: 12.54 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008967/0.5479, allocations: 174.9 kB / 463.8 MB, free: 12.38 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.5503, allocations: 1.172 MB / 465 MB, free: 11.17 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/0.5509, allocations: 0.9402 MB / 465.9 MB, free: 10.2 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0004103/0.5513, allocations: 85.64 kB / 466 MB, free: 10.11 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.5514, allocations: 59.42 kB / 466.1 MB, free: 10.05 MB / 347.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5514, allocations: 0 / 466.1 MB, free: 10.05 MB / 347.1 MB Notification: Performance of Templates: time 0.02391/0.5754, allocations: 13.95 MB / 480 MB, free: 12.15 MB / 363.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1)