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.000828/0.0008315, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005981/0.005982, allocations: 173.9 kB / 16.26 MB, free: 6.613 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.481/1.481, allocations: 205.4 MB / 222.4 MB, free: 5.578 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.0004321/0.0004323, allocations: 12 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2408, allocations: 47.59 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00432/0.2452, allocations: 4.54 MB / 331.6 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.2476, allocations: 1.254 MB / 332.8 MB, free: 12.72 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003612/0.248, allocations: 13.03 kB / 332.8 MB, free: 12.72 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.2484, allocations: 128.4 kB / 333 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007214/0.2492, allocations: 283.4 kB / 333.2 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.2497, allocations: 197.2 kB / 333.4 MB, free: 12.21 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.2508, allocations: 1.102 MB / 334.5 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004647/0.2513, allocations: 302 kB / 334.8 MB, free: 11.37 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004575/0.2518, allocations: 395.8 kB / 335.2 MB, free: 11.16 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005077/0.2523, allocations: 462 kB / 335.7 MB, free: 10.7 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.2524, allocations: 68 kB / 335.7 MB, free: 10.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.2525, allocations: 67.94 kB / 335.8 MB, free: 10.57 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.2527, allocations: 187.2 kB / 336 MB, free: 10.39 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.2531, allocations: 0.4993 MB / 336.5 MB, free: 9.879 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009357/0.254, allocations: 1.109 MB / 337.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2541, allocations: 4 kB / 337.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2541, allocations: 0 / 337.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.2541, allocations: 0 / 337.6 MB, free: 8.762 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.002009/0.2561, allocations: 1.162 MB / 338.8 MB, free: 7.527 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.2562, allocations: 8.031 kB / 338.8 MB, free: 7.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.2564, allocations: 107.8 kB / 338.9 MB, free: 7.414 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000762/0.2571, allocations: 0.5357 MB / 339.4 MB, free: 6.836 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.2574, allocations: 155 kB / 339.6 MB, free: 6.668 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.2575, allocations: 60.38 kB / 339.6 MB, free: 6.609 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.2588, allocations: 0.8588 MB / 340.5 MB, free: 5.648 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.2589, allocations: 4 kB / 340.5 MB, free: 5.645 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.259, allocations: 28 kB / 340.5 MB, free: 5.617 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.259, allocations: 12 kB / 340.5 MB, free: 5.605 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.2602, allocations: 0.5829 MB / 341.1 MB, free: 5.023 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.003281/0.2635, allocations: 2.127 MB / 343.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.2654, allocations: 1.002 MB / 344.2 MB, free: 1.719 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006929/0.2661, allocations: 386.4 kB / 344.6 MB, free: 1.34 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.574e-05/0.2661, allocations: 16.72 kB / 344.6 MB, free: 1.32 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.2662, allocations: 47.22 kB / 344.7 MB, free: 1.266 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 1.903e-06/0.2662, allocations: 0 / 344.7 MB, free: 1.266 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.004956/0.2711, allocations: 1.886 MB / 346.6 MB, free: 15.29 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000362/0.2715, allocations: 0.8234 MB / 347.4 MB, free: 14.27 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007452/0.2723, allocations: 0.641 MB / 348 MB, free: 13.62 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.718e-05/0.2723, allocations: 45.7 kB / 348.1 MB, free: 13.57 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.2726, allocations: 325.1 kB / 348.4 MB, free: 13.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.2728, allocations: 248.3 kB / 348.6 MB, free: 13 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.684e-05/0.2729, allocations: 65.69 kB / 348.7 MB, free: 12.93 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.2731, allocations: 390.6 kB / 349.1 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/0.2736, allocations: 257.9 kB / 349.3 MB, free: 12.29 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000798/0.2744, allocations: 0.5407 MB / 349.9 MB, free: 11.65 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.2756, allocations: 0.6622 MB / 350.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2756, allocations: 0 / 350.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002461/0.2781, allocations: 1.114 MB / 351.6 MB, free: 9.809 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.916e-05/0.2782, allocations: 89.11 kB / 351.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2782, allocations: 0 / 351.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007637/0.2789, allocations: 255.2 kB / 352 MB, free: 9.441 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/0.2795, allocations: 131.9 kB / 352.1 MB, free: 9.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007525/0.2871, allocations: 6.495 MB / 358.6 MB, free: 2.281 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000857/0.2879, allocations: 115.4 kB / 358.7 MB, free: 2.168 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.288, allocations: 20 kB / 358.7 MB, free: 2.148 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.0003594/0.2884, allocations: 221.7 kB / 358.9 MB, free: 1.922 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.2885, allocations: 83.06 kB / 359 MB, free: 1.84 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.2887, allocations: 95.33 kB / 359.1 MB, free: 1.742 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.2887, allocations: 11.94 kB / 359.1 MB, free: 1.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.2887, allocations: 3.938 kB / 359.1 MB, free: 1.727 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002323/0.2911, allocations: 1.249 MB / 360.4 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003563/0.2946, allocations: 1.934 MB / 362.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2947, allocations: 0 / 362.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.2952, allocations: 131.9 kB / 362.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005751/0.2958, allocations: 218.3 kB / 362.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/0.2959, allocations: 16 kB / 362.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005855/0.3018, allocations: 4.993 MB / 367.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3018, allocations: 7.969 kB / 367.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00299/0.3048, allocations: 1.393 MB / 369.1 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.3051, allocations: 235.9 kB / 369.3 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.3052, allocations: 16 kB / 369.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006219/0.3059, allocations: 47.97 kB / 369.4 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.306, allocations: 64.5 kB / 369.4 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.3061, allocations: 24 kB / 369.4 MB, free: 6.766 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005322/0.3066, allocations: 459 kB / 369.9 MB, free: 6.324 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.3066, allocations: 0 / 369.9 MB, free: 6.324 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008195/0.3074, allocations: 283.6 kB / 370.2 MB, free: 6.047 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.0001673/0.3076, allocations: 123.2 kB / 370.3 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.3095, allocations: 1.309 MB / 371.6 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.3095, allocations: 7.938 kB / 371.6 MB, free: 4.512 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009356/0.3105, allocations: 0.7028 MB / 372.3 MB, free: 3.773 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.3115, allocations: 227.7 kB / 372.5 MB, free: 3.551 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.3145, allocations: 1.986 MB / 374.5 MB, free: 1.523 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.315, allocations: 0.9362 MB / 375.5 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003915/0.3154, allocations: 102.4 kB / 375.6 MB, free: 464 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.3156, allocations: 59.44 kB / 375.6 MB, free: 400 kB / 302.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3156, allocations: 0 / 375.6 MB, free: 400 kB / 302.1 MB Notification: Performance of Templates: time 0.02713/0.3427, allocations: 16.55 MB / 392.2 MB, free: 15.8 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)