Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006159/0.006159, allocations: 166.7 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.328/1.328, allocations: 170.8 MB / 186.6 MB, free: 1.027 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001582/0.001582, allocations: 114.2 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003038, allocations: 11.98 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2121, allocations: 38.77 MB / 312.9 MB, free: 38.82 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08816/0.3003, allocations: 71.41 MB / 384.3 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.3006, allocations: 71.97 kB / 384.4 MB, free: 3.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04081/0.3414, allocations: 15.5 MB / 399.9 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3414, allocations: 4 kB / 399.9 MB, free: 3.441 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.581e-05/0.3415, allocations: 16 kB / 399.9 MB, free: 3.426 MB / 298.7 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.002002/0.3435, allocations: 1.123 MB / 401 MB, free: 2.234 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.3435, allocations: 12.03 kB / 401 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.3437, allocations: 98.97 kB / 401.1 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007906/0.3445, allocations: 0.4998 MB / 401.6 MB, free: 1.578 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.3447, allocations: 158.7 kB / 401.8 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.091e-05/0.3448, allocations: 63.91 kB / 401.8 MB, free: 1.344 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.3461, allocations: 0.8244 MB / 402.7 MB, free: 428 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.3462, allocations: 0 / 402.7 MB, free: 428 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.408e-05/0.3462, allocations: 32 kB / 402.7 MB, free: 396 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.3463, allocations: 12 kB / 402.7 MB, free: 384 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.3474, allocations: 0.5713 MB / 403.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/0.3507, allocations: 2.061 MB / 405.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.3527, allocations: 1.029 MB / 406.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.066e-05/0.3527, allocations: 20.7 kB / 406.4 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.3528, allocations: 47.22 kB / 406.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 2.615e-06/0.3528, allocations: 0 / 406.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.004804/0.3576, allocations: 1.842 MB / 408.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000437/0.3581, allocations: 0.8273 MB / 409.1 MB, free: 9.516 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007345/0.3588, allocations: 0.5346 MB / 409.6 MB, free: 8.977 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.391e-05/0.3589, allocations: 45.7 kB / 409.7 MB, free: 8.926 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.3591, allocations: 317.1 kB / 410 MB, free: 8.613 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.3594, allocations: 259.7 kB / 410.2 MB, free: 8.359 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.3594, allocations: 16 kB / 410.3 MB, free: 8.344 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.3596, allocations: 386.7 kB / 410.6 MB, free: 7.957 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/0.3602, allocations: 255.5 kB / 410.9 MB, free: 7.707 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007831/0.3609, allocations: 0.53 MB / 411.4 MB, free: 7.082 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006327/0.3616, allocations: 380 kB / 411.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3616, allocations: 0 / 411.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002475/0.3641, allocations: 1.106 MB / 412.9 MB, free: 5.547 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.443e-05/0.3642, allocations: 93.09 kB / 413 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3642, allocations: 0 / 413 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007094/0.3649, allocations: 251.3 kB / 413.2 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.3655, allocations: 127.8 kB / 413.4 MB, free: 5.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1858/0.5513, allocations: 6.577 MB / 419.9 MB, free: 82.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.5524, allocations: 106.5 kB / 420 MB, free: 82.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.58e-05/0.5525, allocations: 26.08 kB / 420.1 MB, free: 82.58 MB / 314.7 MB 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 () * Number of clocked 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 {3 3,1 3,1 1,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004529/0.553, allocations: 213.3 kB / 420.3 MB, free: 82.47 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.5532, allocations: 85.62 kB / 420.3 MB, free: 82.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.5534, allocations: 92.66 kB / 420.4 MB, free: 82.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.5535, allocations: 8.406 kB / 420.4 MB, free: 82.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.5535, allocations: 0.5625 kB / 420.4 MB, free: 82.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002601/0.5561, allocations: 1.257 MB / 421.7 MB, free: 81.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/0.5598, allocations: 1.904 MB / 423.6 MB, free: 81.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5598, allocations: 1.031 kB / 423.6 MB, free: 81.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006806/0.5605, allocations: 129.2 kB / 423.7 MB, free: 81.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005639/0.5611, allocations: 215.6 kB / 423.9 MB, free: 81.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.5611, allocations: 13.69 kB / 424 MB, free: 81.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005793/0.5669, allocations: 5.121 MB / 429.1 MB, free: 77.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.567, allocations: 2.25 kB / 429.1 MB, free: 77.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/0.57, allocations: 1.391 MB / 430.5 MB, free: 77.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.5702, allocations: 161.6 kB / 430.6 MB, free: 77.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.5703, allocations: 22.94 kB / 430.7 MB, free: 77.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/0.5708, allocations: 47.08 kB / 430.7 MB, free: 77.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.571, allocations: 63.28 kB / 430.8 MB, free: 77.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.571, allocations: 20.52 kB / 430.8 MB, free: 77.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000633/0.5717, allocations: 434 kB / 431.2 MB, free: 77.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5717, allocations: 0 / 431.2 MB, free: 77.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001064/0.5727, allocations: 278.7 kB / 431.5 MB, free: 77.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0002348/0.573, allocations: 132.4 kB / 431.6 MB, free: 77.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001886/0.5749, allocations: 1.315 MB / 432.9 MB, free: 76.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.5749, allocations: 2.594 kB / 432.9 MB, free: 76.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.576, allocations: 0.7732 MB / 433.7 MB, free: 75.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007482/0.5767, allocations: 195.8 kB / 433.9 MB, free: 75.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.5791, allocations: 1.85 MB / 435.7 MB, free: 74.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.5794, allocations: 0.9451 MB / 436.7 MB, free: 74.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003789/0.5798, allocations: 92.86 kB / 436.8 MB, free: 74.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.5799, allocations: 68.59 kB / 436.8 MB, free: 74 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.58, allocations: 0 / 436.8 MB, free: 74 MB / 314.7 MB Notification: Performance of Templates: time 0.02044/0.6004, allocations: 15.34 MB / 452.2 MB, free: 66.27 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1)