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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009608/0.0009611, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.001247/0.001247, allocations: 173.4 kB / 16.27 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.52/1.52, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.0005149/0.000515, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2486, allocations: 47.59 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004658/0.2533, allocations: 4.543 MB / 331.6 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.2558, allocations: 1.255 MB / 332.8 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003787/0.2562, allocations: 9.188 kB / 332.8 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.2566, allocations: 128.6 kB / 333 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007397/0.2574, allocations: 282.5 kB / 333.2 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.2578, allocations: 192.5 kB / 333.4 MB, free: 12.22 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.259, allocations: 1.102 MB / 334.5 MB, free: 11.56 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004607/0.2595, allocations: 293.5 kB / 334.8 MB, free: 11.39 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005004/0.26, allocations: 405.6 kB / 335.2 MB, free: 11.15 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005273/0.2605, allocations: 466 kB / 335.7 MB, free: 10.69 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.2606, allocations: 64 kB / 335.7 MB, free: 10.63 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.2608, allocations: 68 kB / 335.8 MB, free: 10.56 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.2609, allocations: 175.3 kB / 336 MB, free: 10.39 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000443/0.2614, allocations: 0.5032 MB / 336.5 MB, free: 9.879 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009038/0.2623, allocations: 1.105 MB / 337.6 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.2623, allocations: 3.938 kB / 337.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2623, allocations: 3.938 kB / 337.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.2624, allocations: 4 kB / 337.6 MB, free: 8.758 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.00196/0.2643, allocations: 1.166 MB / 338.8 MB, free: 7.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2644, allocations: 8.031 kB / 338.8 MB, free: 7.512 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.2646, allocations: 103.8 kB / 338.9 MB, free: 7.41 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007444/0.2653, allocations: 0.5435 MB / 339.4 MB, free: 6.824 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.2655, allocations: 151 kB / 339.6 MB, free: 6.66 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.994e-05/0.2656, allocations: 60.38 kB / 339.6 MB, free: 6.602 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.267, allocations: 0.855 MB / 340.5 MB, free: 5.645 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.267, allocations: 4 kB / 340.5 MB, free: 5.641 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.569e-05/0.2671, allocations: 24 kB / 340.5 MB, free: 5.617 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.2671, allocations: 16 kB / 340.5 MB, free: 5.602 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.2683, allocations: 0.5868 MB / 341.1 MB, free: 5.016 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.003294/0.2716, allocations: 2.119 MB / 343.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.2735, allocations: 1.003 MB / 344.2 MB, free: 1.719 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006868/0.2742, allocations: 387.1 kB / 344.6 MB, free: 1.34 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.245e-05/0.2742, allocations: 16.72 kB / 344.6 MB, free: 1.32 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.2743, allocations: 43.22 kB / 344.7 MB, free: 1.27 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.695e-06/0.2743, allocations: 0 / 344.7 MB, free: 1.27 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.004997/0.2793, allocations: 1.898 MB / 346.6 MB, free: 15.28 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003647/0.2796, allocations: 0.8234 MB / 347.4 MB, free: 14.26 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007386/0.2804, allocations: 0.6409 MB / 348 MB, free: 13.61 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.054e-05/0.2805, allocations: 41.7 kB / 348.1 MB, free: 13.56 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.2807, allocations: 337.1 kB / 348.4 MB, free: 13.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.281, allocations: 248.3 kB / 348.6 MB, free: 12.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.865e-05/0.2811, allocations: 61.69 kB / 348.7 MB, free: 12.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.2813, allocations: 390.7 kB / 349.1 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/0.2818, allocations: 257.9 kB / 349.3 MB, free: 12.27 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008546/0.2827, allocations: 0.5429 MB / 349.9 MB, free: 11.63 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.2839, allocations: 0.6583 MB / 350.5 MB, free: 10.95 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2839, allocations: 0 / 350.5 MB, free: 10.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002451/0.2863, allocations: 1.114 MB / 351.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.199e-05/0.2864, allocations: 85.11 kB / 351.7 MB, free: 9.695 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.2864, allocations: 4 kB / 351.7 MB, free: 9.691 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007253/0.2872, allocations: 255.3 kB / 352 MB, free: 9.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/0.2877, allocations: 123.8 kB / 352.1 MB, free: 9.309 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007609/0.2954, allocations: 6.507 MB / 358.6 MB, free: 2.266 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008504/0.2962, allocations: 107.3 kB / 358.7 MB, free: 2.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.2963, allocations: 31.94 kB / 358.7 MB, free: 2.129 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.000348/0.2967, allocations: 209.8 kB / 358.9 MB, free: 1.914 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.2968, allocations: 87.06 kB / 359 MB, free: 1.828 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.297, allocations: 91.33 kB / 359.1 MB, free: 1.734 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.297, allocations: 11.94 kB / 359.1 MB, free: 1.723 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.297, allocations: 0 / 359.1 MB, free: 1.723 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002348/0.2994, allocations: 1.26 MB / 360.4 MB, free: 356 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003683/0.3031, allocations: 1.926 MB / 362.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.3031, allocations: 0 / 362.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006122/0.3037, allocations: 131.8 kB / 362.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005596/0.3043, allocations: 214.8 kB / 362.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.193e-05/0.3043, allocations: 16 kB / 362.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005941/0.3103, allocations: 5.001 MB / 367.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3103, allocations: 4 kB / 367.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/0.3135, allocations: 1.401 MB / 369.1 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/0.3139, allocations: 235.9 kB / 369.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.314, allocations: 24 kB / 369.3 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006589/0.3147, allocations: 43.95 kB / 369.4 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.3149, allocations: 60.52 kB / 369.4 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.3149, allocations: 23.98 kB / 369.5 MB, free: 6.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005506/0.3155, allocations: 455.1 kB / 369.9 MB, free: 6.312 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3155, allocations: 4 kB / 369.9 MB, free: 6.309 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008333/0.3163, allocations: 283.7 kB / 370.2 MB, free: 6.031 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.0001756/0.3165, allocations: 127.3 kB / 370.3 MB, free: 5.898 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.3185, allocations: 1.313 MB / 371.6 MB, free: 4.496 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.3186, allocations: 4 kB / 371.6 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009846/0.3196, allocations: 0.6991 MB / 372.3 MB, free: 3.758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.3207, allocations: 215.3 kB / 372.5 MB, free: 3.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.3239, allocations: 1.99 MB / 374.5 MB, free: 1.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.3244, allocations: 0.9362 MB / 375.5 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004778/0.3249, allocations: 106.4 kB / 375.6 MB, free: 452 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.3251, allocations: 59.44 kB / 375.6 MB, free: 388 kB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3251, allocations: 0 / 375.6 MB, free: 388 kB / 302.1 MB Notification: Performance of Templates: time 0.02836/0.3535, allocations: 16.56 MB / 392.2 MB, free: 15.79 MB / 334.1 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)