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.001387/0.001387, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.44/1.44, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.001228/0.001228, allocations: 55.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2143, allocations: 46.63 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005551/0.2199, allocations: 4.931 MB / 330.2 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.2222, allocations: 1.326 MB / 331.6 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.2225, allocations: 12.84 kB / 331.6 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004137/0.223, allocations: 161 kB / 331.7 MB, free: 12.65 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005853/0.2236, allocations: 317.4 kB / 332 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.224, allocations: 229 kB / 332.3 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.2254, allocations: 1.148 MB / 333.4 MB, free: 11.49 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005633/0.226, allocations: 328.3 kB / 333.7 MB, free: 11.31 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005351/0.2265, allocations: 446.8 kB / 334.2 MB, free: 11.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000522/0.2271, allocations: 0.4941 MB / 334.7 MB, free: 10.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.2272, allocations: 104 kB / 334.8 MB, free: 10.42 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.2274, allocations: 104 kB / 334.9 MB, free: 10.32 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.2276, allocations: 219.2 kB / 335.1 MB, free: 10.1 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004449/0.228, allocations: 0.5134 MB / 335.6 MB, free: 9.586 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009672/0.229, allocations: 1.168 MB / 336.8 MB, free: 8.414 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.229, allocations: 0 / 336.8 MB, free: 8.414 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.229, allocations: 0 / 336.8 MB, free: 8.414 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.229, allocations: 0 / 336.8 MB, free: 8.414 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.002193/0.2312, allocations: 1.317 MB / 338.1 MB, free: 7.023 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2313, allocations: 8.031 kB / 338.1 MB, free: 7.016 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.2315, allocations: 107.8 kB / 338.2 MB, free: 6.91 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.2322, allocations: 0.5396 MB / 338.7 MB, free: 6.332 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.2324, allocations: 147 kB / 338.9 MB, free: 6.172 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/0.2325, allocations: 60.38 kB / 338.9 MB, free: 6.113 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.2338, allocations: 0.8472 MB / 339.8 MB, free: 5.164 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.2338, allocations: 0 / 339.8 MB, free: 5.164 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.171e-05/0.2339, allocations: 32 kB / 339.8 MB, free: 5.133 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.2339, allocations: 12 kB / 339.8 MB, free: 5.121 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.2351, allocations: 0.5555 MB / 340.4 MB, free: 4.566 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.003227/0.2383, allocations: 2.123 MB / 342.5 MB, free: 2.332 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.24, allocations: 0.9672 MB / 343.5 MB, free: 1.297 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009052/0.241, allocations: 370.4 kB / 343.8 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.347e-05/0.241, allocations: 16.72 kB / 343.9 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2411, allocations: 47.22 kB / 343.9 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.334e-06/0.2411, allocations: 4 kB / 343.9 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.004767/0.2458, allocations: 1.742 MB / 345.6 MB, free: 15.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003761/0.2462, allocations: 0.8195 MB / 346.5 MB, free: 14 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007313/0.247, allocations: 0.6449 MB / 347.1 MB, free: 13.35 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.888e-05/0.2471, allocations: 45.7 kB / 347.2 MB, free: 13.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.2473, allocations: 325.1 kB / 347.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.2475, allocations: 256.3 kB / 347.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.2478, allocations: 146.6 kB / 347.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2479, allocations: 394.7 kB / 348.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005257/0.2485, allocations: 247.5 kB / 348.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007873/0.2493, allocations: 0.5234 MB / 349 MB, free: 11.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.2505, allocations: 0.631 MB / 349.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2505, allocations: 4 kB / 349.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002501/0.253, allocations: 1.044 MB / 350.7 MB, free: 9.578 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.023e-05/0.2531, allocations: 89.09 kB / 350.8 MB, free: 9.473 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2531, allocations: 4 kB / 350.8 MB, free: 9.469 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007752/0.2539, allocations: 227.3 kB / 351 MB, free: 9.234 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/0.2544, allocations: 131.8 kB / 351.1 MB, free: 9.105 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00808/0.2625, allocations: 6.927 MB / 358.1 MB, free: 1.617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009542/0.2635, allocations: 99.28 kB / 358.2 MB, free: 1.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.2636, allocations: 31.92 kB / 358.2 MB, free: 1.488 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.0003946/0.264, allocations: 213.8 kB / 358.4 MB, free: 1.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.2641, allocations: 83.06 kB / 358.5 MB, free: 1.188 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.2643, allocations: 91.34 kB / 358.6 MB, free: 1.094 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.2643, allocations: 19.81 kB / 358.6 MB, free: 1.074 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2644, allocations: 4 kB / 358.6 MB, free: 1.07 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002242/0.2666, allocations: 1.178 MB / 359.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/0.2701, allocations: 1.868 MB / 361.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2701, allocations: 0 / 361.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.2707, allocations: 127.9 kB / 361.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005229/0.2712, allocations: 202.7 kB / 362 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/0.2713, allocations: 15.98 kB / 362 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005859/0.2772, allocations: 5.307 MB / 367.3 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.2772, allocations: 12.06 kB / 367.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.28, allocations: 1.315 MB / 368.6 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.2804, allocations: 239.9 kB / 368.8 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.2805, allocations: 20 kB / 368.9 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000584/0.2811, allocations: 39.97 kB / 368.9 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.2813, allocations: 52.58 kB / 369 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/0.2813, allocations: 27.98 kB / 369 MB, free: 6.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005514/0.2819, allocations: 459.1 kB / 369.4 MB, free: 5.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2819, allocations: 0 / 369.4 MB, free: 5.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008862/0.2828, allocations: 283.6 kB / 369.7 MB, free: 5.293 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.0001698/0.2829, allocations: 123.1 kB / 369.8 MB, free: 5.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.2851, allocations: 1.332 MB / 371.2 MB, free: 3.742 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.2851, allocations: 0 / 371.2 MB, free: 3.742 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009091/0.286, allocations: 0.699 MB / 371.9 MB, free: 3.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/0.2869, allocations: 234.2 kB / 372.1 MB, free: 2.781 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.2896, allocations: 1.604 MB / 373.7 MB, free: 1.137 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.2901, allocations: 0.944 MB / 374.6 MB, free: 172 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003616/0.2904, allocations: 94.44 kB / 374.7 MB, free: 72 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.2906, allocations: 71.42 kB / 374.8 MB, free: 0 / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2906, allocations: 0 / 374.8 MB, free: 0 / 302.1 MB Notification: Performance of Templates: time 0.02716/0.3177, allocations: 17.89 MB / 392.7 MB, free: 14.08 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)