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.001438/0.001438, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001559/0.001559, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004988/0.0004988, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2443, allocations: 47.58 MB / 326.4 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004095/0.2485, allocations: 3.9 MB / 330.3 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.2509, allocations: 1.268 MB / 331.6 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000391/0.2513, allocations: 6.75 kB / 331.6 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.2516, allocations: 108.4 kB / 331.7 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007706/0.2524, allocations: 342 kB / 332.1 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.2528, allocations: 168.7 kB / 332.2 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.2539, allocations: 0.7805 MB / 333 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004399/0.2544, allocations: 280.7 kB / 333.3 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004843/0.2549, allocations: 370.6 kB / 333.6 MB, free: 11.93 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005187/0.2554, allocations: 436.4 kB / 334.1 MB, free: 11.65 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.2555, allocations: 59.78 kB / 334.1 MB, free: 11.65 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.2557, allocations: 59.72 kB / 334.2 MB, free: 11.65 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.2558, allocations: 157.2 kB / 334.3 MB, free: 11.52 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.256, allocations: 202.7 kB / 334.5 MB, free: 11.39 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006583/0.2567, allocations: 0.8218 MB / 335.4 MB, free: 10.56 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2567, allocations: 0 / 335.4 MB, free: 10.56 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2567, allocations: 0 / 335.4 MB, free: 10.56 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.2567, allocations: 0 / 335.4 MB, free: 10.56 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.002028/0.2588, allocations: 1.162 MB / 336.5 MB, free: 9.332 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2588, allocations: 8.031 kB / 336.5 MB, free: 9.324 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.259, allocations: 106.9 kB / 336.6 MB, free: 9.219 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007022/0.2597, allocations: 487.8 kB / 337.1 MB, free: 8.699 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.2599, allocations: 150.4 kB / 337.2 MB, free: 8.531 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.225e-05/0.26, allocations: 63.91 kB / 337.3 MB, free: 8.469 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.2613, allocations: 0.8392 MB / 338.2 MB, free: 7.527 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.2613, allocations: 0 / 338.2 MB, free: 7.527 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/0.2614, allocations: 32 kB / 338.2 MB, free: 7.496 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.2614, allocations: 19.98 kB / 338.2 MB, free: 7.477 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.2626, allocations: 0.579 MB / 338.8 MB, free: 6.898 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.003189/0.2658, allocations: 2.065 MB / 340.8 MB, free: 4.734 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.2676, allocations: 1.022 MB / 341.9 MB, free: 3.648 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.371e-05/0.2677, allocations: 12.72 kB / 341.9 MB, free: 3.637 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.2677, allocations: 51.22 kB / 341.9 MB, free: 3.578 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 5.189e-06/0.2677, allocations: 3.984 kB / 341.9 MB, free: 3.574 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.004921/0.2727, allocations: 1.877 MB / 343.8 MB, free: 1.602 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004236/0.2731, allocations: 0.8234 MB / 344.6 MB, free: 0.582 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000717/0.2738, allocations: 0.588 MB / 345.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.274e-05/0.2739, allocations: 41.7 kB / 345.3 MB, free: 15.94 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.2742, allocations: 337 kB / 345.6 MB, free: 15.61 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/0.2745, allocations: 248.3 kB / 345.8 MB, free: 15.36 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.2745, allocations: 16 kB / 345.9 MB, free: 15.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.2747, allocations: 390.7 kB / 346.2 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000518/0.2752, allocations: 257.9 kB / 346.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007799/0.276, allocations: 0.5312 MB / 347 MB, free: 14.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/0.2766, allocations: 388 kB / 347.4 MB, free: 13.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2766, allocations: 3.938 kB / 347.4 MB, free: 13.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002317/0.279, allocations: 1.106 MB / 348.5 MB, free: 12.53 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.176e-05/0.279, allocations: 93.09 kB / 348.6 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.279, allocations: 0 / 348.6 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006761/0.2797, allocations: 247.3 kB / 348.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005779/0.2803, allocations: 139.7 kB / 349 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007642/0.288, allocations: 6.586 MB / 355.6 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009666/0.289, allocations: 111.5 kB / 355.7 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.289, allocations: 24 kB / 355.7 MB, free: 4.77 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 (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 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003681/0.2894, allocations: 221.7 kB / 355.9 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.2896, allocations: 87.06 kB / 356 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.2897, allocations: 91.34 kB / 356.1 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.2897, allocations: 11.95 kB / 356.1 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2898, allocations: 0 / 356.1 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002165/0.2919, allocations: 1.241 MB / 357.3 MB, free: 3 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003453/0.2954, allocations: 1.878 MB / 359.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.2954, allocations: 0 / 359.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.296, allocations: 131.9 kB / 359.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005402/0.2966, allocations: 214.6 kB / 359.6 MB, free: 0.707 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.2966, allocations: 15.98 kB / 359.6 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006113/0.3028, allocations: 5.133 MB / 364.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.3028, allocations: 0 / 364.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/0.3059, allocations: 1.375 MB / 366.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005196/0.3065, allocations: 235.8 kB / 366.3 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.3066, allocations: 20 kB / 366.3 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005878/0.3072, allocations: 43.97 kB / 366.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.3074, allocations: 68.52 kB / 366.4 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.3074, allocations: 19.98 kB / 366.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004781/0.3079, allocations: 415.1 kB / 366.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3079, allocations: 0 / 366.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008142/0.3087, allocations: 279.7 kB / 367.1 MB, free: 8.68 MB / 302.1 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 (61): * Single equations (assignments): 58 * 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.000155/0.3089, allocations: 123.1 kB / 367.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.3109, allocations: 1.309 MB / 368.6 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.3109, allocations: 12.06 kB / 368.6 MB, free: 7.145 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.3122, allocations: 0.7652 MB / 369.3 MB, free: 6.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009135/0.3131, allocations: 199.6 kB / 369.5 MB, free: 6.145 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.3159, allocations: 1.87 MB / 371.4 MB, free: 4.242 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.3164, allocations: 0.9552 MB / 372.4 MB, free: 3.262 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003873/0.3168, allocations: 93.55 kB / 372.4 MB, free: 3.168 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.317, allocations: 55.38 kB / 372.5 MB, free: 3.117 MB / 302.1 MB Notification: Performance of SimCode: time 9.02e-07/0.317, allocations: 0 / 372.5 MB, free: 3.117 MB / 302.1 MB Notification: Performance of Templates: time 0.02323/0.3402, allocations: 15.2 MB / 387.7 MB, free: 3.898 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: