Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001157/0.001157, allocations: 96.05 kB / 16.3 MB, free: 5.992 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.001282/0.001282, allocations: 184 kB / 17.2 MB, free: 5.914 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.595/1.595, allocations: 205.4 MB / 223.4 MB, free: 5.555 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.0004697/0.0004698, allocations: 8 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2625, allocations: 47.59 MB / 327.7 MB, free: 1.637 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004071/0.2666, allocations: 3.896 MB / 331.6 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.2691, allocations: 1.267 MB / 332.9 MB, free: 13.56 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.2694, allocations: 11.91 kB / 332.9 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.2698, allocations: 104.6 kB / 333 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000888/0.2707, allocations: 341.9 kB / 333.3 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.2713, allocations: 171.9 kB / 333.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.2727, allocations: 0.7809 MB / 334.3 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000466/0.2732, allocations: 269.7 kB / 334.5 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004661/0.2736, allocations: 374.5 kB / 334.9 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005489/0.2742, allocations: 428.6 kB / 335.3 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.2743, allocations: 59.22 kB / 335.4 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.2745, allocations: 59.59 kB / 335.4 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.2747, allocations: 167.3 kB / 335.6 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.2749, allocations: 201.3 kB / 335.8 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000731/0.2756, allocations: 0.814 MB / 336.6 MB, free: 10.72 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2756, allocations: 0 / 336.6 MB, free: 10.72 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.2756, allocations: 4 kB / 336.6 MB, free: 10.72 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.2756, allocations: 0 / 336.6 MB, free: 10.72 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.002149/0.2778, allocations: 1.165 MB / 337.8 MB, free: 9.484 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2779, allocations: 8.031 kB / 337.8 MB, free: 9.477 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.2781, allocations: 106.9 kB / 337.9 MB, free: 9.371 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007685/0.2789, allocations: 487.8 kB / 338.4 MB, free: 8.852 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.2792, allocations: 154.4 kB / 338.5 MB, free: 8.68 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.216e-05/0.2793, allocations: 63.91 kB / 338.6 MB, free: 8.617 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.2806, allocations: 0.8353 MB / 339.4 MB, free: 7.68 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.2806, allocations: 0 / 339.4 MB, free: 7.68 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.468e-05/0.2807, allocations: 28 kB / 339.4 MB, free: 7.652 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.2807, allocations: 16 kB / 339.5 MB, free: 7.637 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.282, allocations: 0.5829 MB / 340 MB, free: 7.055 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.003479/0.2855, allocations: 2.069 MB / 342.1 MB, free: 4.887 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.2875, allocations: 1.022 MB / 343.1 MB, free: 3.801 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.087e-05/0.2876, allocations: 16.72 kB / 343.1 MB, free: 3.785 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.2877, allocations: 47.22 kB / 343.2 MB, free: 3.73 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.925e-06/0.2877, allocations: 0 / 343.2 MB, free: 3.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.00502/0.2927, allocations: 1.877 MB / 345.1 MB, free: 1.758 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003601/0.2931, allocations: 0.8272 MB / 345.9 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007081/0.2938, allocations: 0.5825 MB / 346.5 MB, free: 148 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 8.675e-05/0.2939, allocations: 45.7 kB / 346.5 MB, free: 96 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.2942, allocations: 338.7 kB / 346.8 MB, free: 15.76 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.2944, allocations: 252.3 kB / 347.1 MB, free: 15.51 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.2944, allocations: 12 kB / 347.1 MB, free: 15.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.2946, allocations: 390.7 kB / 347.5 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/0.2951, allocations: 257.9 kB / 347.7 MB, free: 14.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007753/0.2959, allocations: 0.535 MB / 348.3 MB, free: 14.22 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006184/0.2966, allocations: 388 kB / 348.7 MB, free: 13.82 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2966, allocations: 4 kB / 348.7 MB, free: 13.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002363/0.2989, allocations: 1.102 MB / 349.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.198e-05/0.299, allocations: 89.09 kB / 349.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.299, allocations: 0 / 349.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006944/0.2997, allocations: 251.2 kB / 350.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/0.3003, allocations: 131.8 kB / 350.2 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007383/0.3077, allocations: 6.593 MB / 356.8 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009292/0.3087, allocations: 107.3 kB / 356.9 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.3087, allocations: 28 kB / 356.9 MB, free: 4.922 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.0003512/0.3091, allocations: 221.8 kB / 357.2 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.3092, allocations: 83.06 kB / 357.2 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.3094, allocations: 91.34 kB / 357.3 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.3094, allocations: 11.95 kB / 357.3 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3094, allocations: 0 / 357.3 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002209/0.3116, allocations: 1.249 MB / 358.6 MB, free: 3.148 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.3151, allocations: 1.878 MB / 360.5 MB, free: 1.203 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3151, allocations: 0 / 360.5 MB, free: 1.203 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.3157, allocations: 127.9 kB / 360.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005312/0.3162, allocations: 210.7 kB / 360.8 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/0.3163, allocations: 19.98 kB / 360.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006196/0.3225, allocations: 5.125 MB / 365.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3225, allocations: 3.938 kB / 366 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002863/0.3254, allocations: 1.378 MB / 367.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.3257, allocations: 231.8 kB / 367.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.3258, allocations: 20 kB / 367.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/0.3264, allocations: 43.97 kB / 367.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.3266, allocations: 64.45 kB / 367.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.3266, allocations: 27.98 kB / 367.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004728/0.3271, allocations: 419.1 kB / 368.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3271, allocations: 0 / 368.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008516/0.3279, allocations: 271.7 kB / 368.4 MB, free: 8.836 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.000188/0.3281, allocations: 123.4 kB / 368.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.3301, allocations: 1.313 MB / 369.8 MB, free: 7.309 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.3301, allocations: 4 kB / 369.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.3313, allocations: 0.7692 MB / 370.6 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.3322, allocations: 199.4 kB / 370.8 MB, free: 6.301 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.3348, allocations: 1.873 MB / 372.7 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.3353, allocations: 0.9513 MB / 373.6 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003725/0.3357, allocations: 85.56 kB / 373.7 MB, free: 3.332 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.3358, allocations: 59.42 kB / 373.8 MB, free: 3.277 MB / 302.1 MB Notification: Performance of SimCode: time 1.653e-06/0.3359, allocations: 0 / 373.8 MB, free: 3.277 MB / 302.1 MB Notification: Performance of Templates: time 0.02359/0.3595, allocations: 15.22 MB / 389 MB, free: 4.035 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) Environment - environmentSimulation: