Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 195 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.243, allocations: 46.63 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005783/0.2488, allocations: 4.943 MB / 330.2 MB, free: 13.92 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002887/0.2517, allocations: 1.322 MB / 331.6 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005424/0.2523, allocations: 9.188 kB / 331.6 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005156/0.2529, allocations: 164.6 kB / 331.7 MB, free: 12.67 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007907/0.2537, allocations: 317.9 kB / 332 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.2542, allocations: 229.4 kB / 332.3 MB, free: 12.19 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.2554, allocations: 1.147 MB / 333.4 MB, free: 11.51 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004612/0.2559, allocations: 328.7 kB / 333.7 MB, free: 11.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004659/0.2563, allocations: 448.7 kB / 334.2 MB, free: 11.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000527/0.2569, allocations: 0.4941 MB / 334.7 MB, free: 10.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.257, allocations: 100 kB / 334.8 MB, free: 10.42 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.2572, allocations: 104 kB / 334.9 MB, free: 10.32 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.2574, allocations: 223.2 kB / 335.1 MB, free: 10.1 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004992/0.2579, allocations: 0.5172 MB / 335.6 MB, free: 9.582 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.259, allocations: 1.16 MB / 336.8 MB, free: 8.418 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.259, allocations: 4 kB / 336.8 MB, free: 8.414 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.259, allocations: 0 / 336.8 MB, free: 8.414 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.259, allocations: 0 / 336.8 MB, free: 8.414 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002155/0.2612, allocations: 1.31 MB / 338.1 MB, free: 7.031 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.2613, allocations: 12.03 kB / 338.1 MB, free: 7.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.2615, allocations: 103.8 kB / 338.2 MB, free: 6.918 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007141/0.2622, allocations: 0.5474 MB / 338.7 MB, free: 6.332 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.2624, allocations: 143 kB / 338.9 MB, free: 6.176 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.045e-05/0.2625, allocations: 60.38 kB / 338.9 MB, free: 6.117 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.2638, allocations: 0.8511 MB / 339.8 MB, free: 5.164 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.2639, allocations: 0 / 339.8 MB, free: 5.164 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.169e-05/0.2639, allocations: 28 kB / 339.8 MB, free: 5.137 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.264, allocations: 12 kB / 339.8 MB, free: 5.125 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.2651, allocations: 0.5595 MB / 340.4 MB, free: 4.566 MB / 270.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003263/0.2684, allocations: 2.119 MB / 342.5 MB, free: 2.336 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.2702, allocations: 0.9672 MB / 343.5 MB, free: 1.301 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006908/0.2709, allocations: 370.4 kB / 343.8 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.746e-05/0.271, allocations: 16.64 kB / 343.9 MB, free: 0.918 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.271, allocations: 51.22 kB / 343.9 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.505e-06/0.271, allocations: 0 / 343.9 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.004872/0.2759, allocations: 1.734 MB / 345.6 MB, free: 15.04 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004065/0.2763, allocations: 0.8234 MB / 346.5 MB, free: 14.01 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008239/0.2771, allocations: 0.6526 MB / 347.1 MB, free: 13.35 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.393e-05/0.2772, allocations: 45.7 kB / 347.2 MB, free: 13.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.2776, allocations: 325.1 kB / 347.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.2778, allocations: 253.9 kB / 347.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.278, allocations: 142.6 kB / 347.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.2782, allocations: 398.7 kB / 348.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.2788, allocations: 241.9 kB / 348.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008544/0.2797, allocations: 0.5234 MB / 349 MB, free: 11.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.2808, allocations: 0.6349 MB / 349.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2808, allocations: 0 / 349.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002373/0.2832, allocations: 1.048 MB / 350.7 MB, free: 9.582 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.2833, allocations: 81.11 kB / 350.8 MB, free: 9.484 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2833, allocations: 4 kB / 350.8 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006953/0.284, allocations: 243.2 kB / 351 MB, free: 9.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.2845, allocations: 119.9 kB / 351.1 MB, free: 9.113 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008503/0.2931, allocations: 6.939 MB / 358.1 MB, free: 1.613 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.2941, allocations: 95.28 kB / 358.2 MB, free: 1.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.2943, allocations: 24 kB / 358.2 MB, free: 1.496 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000455/0.2947, allocations: 225.6 kB / 358.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.295, allocations: 87.06 kB / 358.5 MB, free: 1.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.2952, allocations: 87.34 kB / 358.6 MB, free: 1.09 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2952, allocations: 11.94 kB / 358.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2952, allocations: 0 / 358.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002249/0.2975, allocations: 1.19 MB / 359.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003789/0.3013, allocations: 1.864 MB / 361.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.3013, allocations: 4 kB / 361.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006133/0.3019, allocations: 131.7 kB / 361.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005519/0.3025, allocations: 194.6 kB / 362 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.3026, allocations: 16 kB / 362 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006389/0.309, allocations: 5.307 MB / 367.3 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.309, allocations: 3.938 kB / 367.3 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/0.312, allocations: 1.319 MB / 368.6 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004625/0.3125, allocations: 239.9 kB / 368.8 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.3127, allocations: 20 kB / 368.9 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006705/0.3134, allocations: 43.95 kB / 368.9 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.3136, allocations: 56.58 kB / 369 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.3136, allocations: 16.19 kB / 369 MB, free: 6.023 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006968/0.3143, allocations: 463 kB / 369.4 MB, free: 5.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3143, allocations: 0 / 369.4 MB, free: 5.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001153/0.3155, allocations: 287.6 kB / 369.7 MB, free: 5.293 MB / 302.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002242/0.3157, allocations: 127.1 kB / 369.8 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00256/0.3183, allocations: 1.324 MB / 371.2 MB, free: 3.746 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.3183, allocations: 7.938 kB / 371.2 MB, free: 3.738 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.3194, allocations: 0.6949 MB / 371.9 MB, free: 3.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.3205, allocations: 231.8 kB / 372.1 MB, free: 2.781 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.3236, allocations: 1.608 MB / 373.7 MB, free: 1.133 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/0.3242, allocations: 0.9323 MB / 374.6 MB, free: 176 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004662/0.3247, allocations: 106.4 kB / 374.7 MB, free: 64 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.3249, allocations: 63.38 kB / 374.8 MB, free: 0 / 302.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3249, allocations: 0 / 374.8 MB, free: 0 / 302.1 MB Notification: Performance of Templates: time 0.03229/0.3572, allocations: 17.9 MB / 392.7 MB, free: 14.08 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1)