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.001515/0.001515, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001585/0.001585, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.517/1.517, allocations: 205.1 MB / 222 MB, free: 4.727 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.001397/0.001397, allocations: 55.92 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2838, allocations: 46.63 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005714/0.2896, allocations: 4.942 MB / 329.6 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.2926, allocations: 1.326 MB / 330.9 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004863/0.2932, allocations: 8.875 kB / 330.9 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005041/0.2938, allocations: 125.4 kB / 331.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007561/0.2945, allocations: 290.5 kB / 331.4 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.295, allocations: 192.5 kB / 331.5 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.2962, allocations: 1.103 MB / 332.6 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004787/0.2966, allocations: 296.5 kB / 332.9 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006133/0.2973, allocations: 413.7 kB / 333.3 MB, free: 11.33 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005877/0.2979, allocations: 492.3 kB / 333.8 MB, free: 10.96 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.298, allocations: 72 kB / 333.9 MB, free: 10.89 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.2982, allocations: 80 kB / 334 MB, free: 10.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.2984, allocations: 191.2 kB / 334.2 MB, free: 10.63 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004655/0.2988, allocations: 497.7 kB / 334.6 MB, free: 10.14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.3, allocations: 1.129 MB / 335.8 MB, free: 9.008 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.3, allocations: 4 kB / 335.8 MB, free: 9.004 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.3, allocations: 3.984 kB / 335.8 MB, free: 9 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3, allocations: 0 / 335.8 MB, free: 9 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.002597/0.3026, allocations: 1.31 MB / 337.1 MB, free: 7.617 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.3027, allocations: 12.03 kB / 337.1 MB, free: 7.605 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.3029, allocations: 111.8 kB / 337.2 MB, free: 7.496 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000853/0.3038, allocations: 0.5474 MB / 337.8 MB, free: 6.906 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.304, allocations: 139 kB / 337.9 MB, free: 6.754 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.451e-05/0.3041, allocations: 60.38 kB / 338 MB, free: 6.695 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.3055, allocations: 0.8472 MB / 338.8 MB, free: 5.746 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.3055, allocations: 0 / 338.8 MB, free: 5.746 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.995e-05/0.3056, allocations: 28 kB / 338.8 MB, free: 5.719 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.3056, allocations: 12 kB / 338.8 MB, free: 5.707 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.3068, allocations: 0.5672 MB / 339.4 MB, free: 5.141 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.003598/0.3104, allocations: 2.112 MB / 341.5 MB, free: 2.918 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.3122, allocations: 0.9671 MB / 342.5 MB, free: 1.887 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007037/0.3129, allocations: 374.4 kB / 342.8 MB, free: 1.52 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.107e-05/0.313, allocations: 16.72 kB / 342.9 MB, free: 1.5 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.3131, allocations: 51.22 kB / 342.9 MB, free: 1.441 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.946e-06/0.3131, allocations: 0 / 342.9 MB, free: 1.441 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.00499/0.3181, allocations: 1.738 MB / 344.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004315/0.3185, allocations: 0.8234 MB / 345.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.3196, allocations: 0.6332 MB / 346.1 MB, free: 13.95 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.3197, allocations: 45.7 kB / 346.2 MB, free: 13.9 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/0.32, allocations: 333.1 kB / 346.5 MB, free: 13.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.3203, allocations: 248.3 kB / 346.7 MB, free: 13.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000316/0.3206, allocations: 154.6 kB / 346.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.3208, allocations: 386.7 kB / 347.3 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005517/0.3214, allocations: 245.9 kB / 347.5 MB, free: 12.54 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008316/0.3222, allocations: 0.5312 MB / 348 MB, free: 11.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.3233, allocations: 0.631 MB / 348.7 MB, free: 11.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.3234, allocations: 4 kB / 348.7 MB, free: 11.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002589/0.326, allocations: 1.037 MB / 349.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.623e-05/0.3261, allocations: 97.09 kB / 349.8 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3261, allocations: 0 / 349.8 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000726/0.3268, allocations: 231.3 kB / 350 MB, free: 9.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/0.3274, allocations: 131.8 kB / 350.1 MB, free: 9.691 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008726/0.3362, allocations: 6.378 MB / 356.5 MB, free: 2.781 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.3372, allocations: 103.3 kB / 356.6 MB, free: 2.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.79e-05/0.3373, allocations: 23.98 kB / 356.6 MB, free: 2.656 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.0005802/0.3379, allocations: 210.3 kB / 356.9 MB, free: 2.441 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.3382, allocations: 91 kB / 356.9 MB, free: 2.352 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.3385, allocations: 91.34 kB / 357 MB, free: 2.258 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.3385, allocations: 11.92 kB / 357 MB, free: 2.246 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.3385, allocations: 4 kB / 357 MB, free: 2.242 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002414/0.341, allocations: 1.186 MB / 358.2 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/0.345, allocations: 1.86 MB / 360.1 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.345, allocations: 4 kB / 360.1 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006055/0.3456, allocations: 131.9 kB / 360.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005315/0.3462, allocations: 194.5 kB / 360.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/0.3463, allocations: 19.98 kB / 360.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005927/0.3522, allocations: 4.876 MB / 365.3 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3522, allocations: 3.984 kB / 365.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/0.3552, allocations: 1.315 MB / 366.6 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004903/0.3557, allocations: 243.8 kB / 366.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.3559, allocations: 16 kB / 366.9 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007099/0.3567, allocations: 43.97 kB / 366.9 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.3569, allocations: 64.5 kB / 367 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/0.3569, allocations: 16 kB / 367 MB, free: 7.637 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006594/0.3576, allocations: 463 kB / 367.5 MB, free: 7.191 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3576, allocations: 0 / 367.5 MB, free: 7.191 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001007/0.3586, allocations: 283.7 kB / 367.7 MB, free: 6.914 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.0001753/0.3588, allocations: 123.1 kB / 367.9 MB, free: 6.785 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002125/0.3609, allocations: 1.282 MB / 369.1 MB, free: 5.414 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.3609, allocations: 4 kB / 369.1 MB, free: 5.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009921/0.3619, allocations: 0.695 MB / 369.8 MB, free: 4.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.3631, allocations: 215.3 kB / 370 MB, free: 4.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.3665, allocations: 1.871 MB / 371.9 MB, free: 2.555 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.367, allocations: 0.9323 MB / 372.8 MB, free: 1.594 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004634/0.3675, allocations: 110.4 kB / 373 MB, free: 1.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.3676, allocations: 63.44 kB / 373 MB, free: 1.418 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3676, allocations: 0 / 373 MB, free: 1.418 MB / 302.1 MB Notification: Performance of Templates: time 0.02848/0.3961, allocations: 16.68 MB / 389.7 MB, free: 0.7109 MB / 318.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)