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.001193/0.001193, allocations: 88.16 kB / 16.31 MB, free: 5.539 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.001693/0.001693, allocations: 183.6 kB / 17.21 MB, free: 5.457 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.623/1.623, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.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.0005147/0.0005148, allocations: 8 kB / 280.1 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1036, allocations: 47.58 MB / 327.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005302/0.1089, allocations: 4.305 MB / 332 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003567/0.1126, allocations: 1.209 MB / 333.2 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009729/0.1136, allocations: 15.88 kB / 333.2 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007145/0.1143, allocations: 107.1 kB / 333.4 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.1159, allocations: 281.8 kB / 333.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007195/0.1167, allocations: 159.8 kB / 333.8 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002066/0.1187, allocations: 1.028 MB / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007124/0.1195, allocations: 280.3 kB / 335.1 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.1206, allocations: 390.6 kB / 335.5 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.1218, allocations: 446.2 kB / 335.9 MB, free: 11.83 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.122, allocations: 68 kB / 336 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.1223, allocations: 64 kB / 336 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.1225, allocations: 183.3 kB / 336.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.1228, allocations: 201.3 kB / 336.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000859/0.1236, allocations: 0.8608 MB / 337.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.1236, allocations: 0 / 337.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1236, allocations: 0 / 337.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.1237, allocations: 0 / 337.3 MB, free: 10.46 MB / 286.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.002181/0.1259, allocations: 1.166 MB / 338.4 MB, free: 9.223 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1259, allocations: 12.03 kB / 338.4 MB, free: 9.211 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.1261, allocations: 102.9 kB / 338.5 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000777/0.1269, allocations: 0.5232 MB / 339.1 MB, free: 8.543 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.1271, allocations: 146.4 kB / 339.2 MB, free: 8.379 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.525e-05/0.1272, allocations: 63.91 kB / 339.3 MB, free: 8.316 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.1286, allocations: 0.8431 MB / 340.1 MB, free: 7.371 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.1286, allocations: 4 kB / 340.1 MB, free: 7.367 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.447e-05/0.1287, allocations: 28 kB / 340.1 MB, free: 7.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.1287, allocations: 12 kB / 340.2 MB, free: 7.328 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.1299, allocations: 0.579 MB / 340.7 MB, free: 6.75 MB / 286.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.003409/0.1333, allocations: 2.131 MB / 342.9 MB, free: 4.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.1351, allocations: 0.9905 MB / 343.9 MB, free: 3.465 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006983/0.1358, allocations: 390.2 kB / 344.2 MB, free: 3.078 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.843e-05/0.1358, allocations: 8.656 kB / 344.3 MB, free: 3.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.1359, allocations: 47.22 kB / 344.3 MB, free: 3.016 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 3.126e-06/0.1359, allocations: 1.641 kB / 344.3 MB, free: 3.016 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.00462/0.1405, allocations: 1.883 MB / 346.2 MB, free: 1.039 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003493/0.1409, allocations: 0.8234 MB / 347 MB, free: 20 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000804/0.1417, allocations: 0.6332 MB / 347.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.948e-05/0.1418, allocations: 45.7 kB / 347.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.1421, allocations: 337 kB / 348 MB, free: 14.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.1423, allocations: 248.2 kB / 348.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.1423, allocations: 16 kB / 348.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.1425, allocations: 386.7 kB / 348.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/0.143, allocations: 253.9 kB / 348.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007841/0.1438, allocations: 0.5429 MB / 349.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006208/0.1445, allocations: 384 kB / 349.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/0.1445, allocations: 4 kB / 349.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00238/0.1469, allocations: 1.11 MB / 350.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.925e-05/0.147, allocations: 89.11 kB / 351 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.147, allocations: 7.938 kB / 351 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006942/0.1477, allocations: 247.2 kB / 351.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/0.1482, allocations: 131.8 kB / 351.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007099/0.1554, allocations: 6.499 MB / 357.9 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009247/0.1563, allocations: 107.3 kB / 358 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.1564, allocations: 23.98 kB / 358 MB, free: 4.25 MB / 302.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 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003666/0.1568, allocations: 221.7 kB / 358.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.1569, allocations: 87.02 kB / 358.3 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.1571, allocations: 95.33 kB / 358.4 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1571, allocations: 8 kB / 358.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.1571, allocations: 0 / 358.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002178/0.1593, allocations: 1.249 MB / 359.7 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/0.1628, allocations: 1.922 MB / 361.6 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.1628, allocations: 4 kB / 361.6 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006022/0.1634, allocations: 131.8 kB / 361.7 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005237/0.164, allocations: 214.6 kB / 361.9 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/0.164, allocations: 19.98 kB / 362 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005691/0.1697, allocations: 4.985 MB / 366.9 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.1698, allocations: 4.031 kB / 366.9 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/0.1728, allocations: 1.377 MB / 368.3 MB, free: 9.301 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005455/0.1734, allocations: 243.9 kB / 368.6 MB, free: 9.043 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.1735, allocations: 27.95 kB / 368.6 MB, free: 9.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005461/0.1741, allocations: 44.16 kB / 368.6 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.1743, allocations: 64.5 kB / 368.7 MB, free: 8.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.1743, allocations: 23.97 kB / 368.7 MB, free: 8.887 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000592/0.1749, allocations: 459.1 kB / 369.2 MB, free: 8.445 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1749, allocations: 0 / 369.2 MB, free: 8.445 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009106/0.1758, allocations: 275.7 kB / 369.4 MB, free: 8.176 MB / 318.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 (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.0001958/0.176, allocations: 131.1 kB / 369.6 MB, free: 8.035 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002051/0.1781, allocations: 1.305 MB / 370.9 MB, free: 6.641 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.1781, allocations: 4 kB / 370.9 MB, free: 6.637 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.1792, allocations: 0.6952 MB / 371.6 MB, free: 5.902 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.1803, allocations: 227.2 kB / 371.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.1835, allocations: 1.906 MB / 373.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.1841, allocations: 0.94 MB / 374.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005115/0.1846, allocations: 106.4 kB / 374.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.1848, allocations: 63.42 kB / 374.8 MB, free: 2.613 MB / 318.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1848, allocations: 3.938 kB / 374.8 MB, free: 2.609 MB / 318.1 MB Notification: Performance of Templates: time 0.2162/0.401, allocations: 15.89 MB / 390.7 MB, free: 47.37 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (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)