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.0009739/0.0009736, allocations: 157.5 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.073/1.073, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.001508/0.001508, allocations: 104.8 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.277e-05/1.28e-05, allocations: 4 kB / 262.2 MB, free: 3.074 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1941, allocations: 38.77 MB / 301 MB, free: 39.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08031/0.2745, allocations: 70.67 MB / 371.6 MB, free: 8.98 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.2747, allocations: 69.38 kB / 371.7 MB, free: 8.914 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04004/0.3148, allocations: 15.29 MB / 387 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3148, allocations: 0 / 387 MB, free: 9.645 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.893e-05/0.3149, allocations: 20 kB / 387 MB, free: 9.625 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.002062/0.317, allocations: 1.024 MB / 388 MB, free: 8.539 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.317, allocations: 12.03 kB / 388.1 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.3173, allocations: 94.97 kB / 388.2 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008403/0.3182, allocations: 0.5041 MB / 388.7 MB, free: 7.887 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.3184, allocations: 130.4 kB / 388.8 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-05/0.3185, allocations: 36 kB / 388.8 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009112/0.3194, allocations: 468.3 kB / 389.3 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.3205, allocations: 0.6923 MB / 390 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.3205, allocations: 4 kB / 390 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.3206, allocations: 0 / 390 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.3206, allocations: 16 kB / 390 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003121/0.3237, allocations: 1.93 MB / 391.9 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.3252, allocations: 0.8668 MB / 392.8 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004934/0.3257, allocations: 315.5 kB / 393.1 MB, free: 3.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.062e-05/0.3258, allocations: 20.83 kB / 393.1 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/0.3258, allocations: 56.28 kB / 393.2 MB, free: 3.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 2.194e-06/0.3258, allocations: 0 / 393.2 MB, free: 3.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.00205/0.3279, allocations: 0.811 MB / 394 MB, free: 2.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003848/0.3283, allocations: 0.8235 MB / 394.8 MB, free: 1.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/0.3289, allocations: 454.3 kB / 395.2 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/0.3289, allocations: 25.7 kB / 395.3 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.3292, allocations: 320.9 kB / 395.6 MB, free: 460 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.3294, allocations: 252.2 kB / 395.8 MB, free: 204 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.3295, allocations: 0 / 395.8 MB, free: 204 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002573/0.3297, allocations: 379.6 kB / 396.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.3301, allocations: 199.6 kB / 396.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005753/0.3307, allocations: 462.4 kB / 396.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.3311, allocations: 256.9 kB / 397.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3311, allocations: 0 / 397.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001964/0.3331, allocations: 0.8712 MB / 398 MB, free: 13.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.239e-05/0.3332, allocations: 89.06 kB / 398.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3332, allocations: 3.938 kB / 398.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006268/0.3338, allocations: 211.3 kB / 398.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005735/0.3344, allocations: 127.9 kB / 398.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006435/0.3409, allocations: 6.019 MB / 404.4 MB, free: 7.012 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006645/0.3416, allocations: 79.42 kB / 404.5 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/0.3417, allocations: 24 kB / 404.5 MB, free: 6.91 MB / 314.7 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.0002896/0.3419, allocations: 133.3 kB / 404.6 MB, free: 6.777 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.3421, allocations: 83.14 kB / 404.7 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.3423, allocations: 73.11 kB / 404.8 MB, free: 6.617 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.3424, allocations: 8 kB / 404.8 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.3424, allocations: 0 / 404.8 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001888/0.3443, allocations: 1.127 MB / 405.9 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003066/0.3473, allocations: 1.696 MB / 407.6 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3474, allocations: 0 / 407.6 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006141/0.348, allocations: 135.9 kB / 407.8 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004019/0.3484, allocations: 166.5 kB / 407.9 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.3484, allocations: 4 kB / 407.9 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005085/0.3535, allocations: 4.634 MB / 412.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.3536, allocations: 4.031 kB / 412.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.356, allocations: 1.225 MB / 413.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.3563, allocations: 160.1 kB / 413.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.3564, allocations: 4.234 kB / 413.9 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/0.3569, allocations: 23.98 kB / 414 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.3571, allocations: 64.69 kB / 414 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.3572, allocations: 28.09 kB / 414.1 MB, free: 12.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004767/0.3577, allocations: 354.9 kB / 414.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3577, allocations: 0 / 414.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001034/0.3587, allocations: 244.4 kB / 414.6 MB, free: 12.18 MB / 330.7 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.0002544/0.359, allocations: 127 kB / 414.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002015/0.361, allocations: 1.167 MB / 415.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.361, allocations: 0 / 415.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.3621, allocations: 0.6836 MB / 416.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008742/0.363, allocations: 164.7 kB / 416.8 MB, free: 9.938 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.3655, allocations: 1.19 MB / 418 MB, free: 8.707 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.366, allocations: 0.9402 MB / 418.9 MB, free: 7.742 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004241/0.3665, allocations: 85.64 kB / 419 MB, free: 7.656 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.3666, allocations: 59.42 kB / 419.1 MB, free: 7.602 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.3666, allocations: 0 / 419.1 MB, free: 7.602 MB / 330.7 MB Notification: Performance of Templates: time 0.1804/0.547, allocations: 13.84 MB / 432.9 MB, free: 97.57 MB / 330.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)