Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 98.28 kB / 16.5 MB, free: 6.641 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.001104/0.001105, allocations: 194.6 kB / 17.42 MB, free: 6.066 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.57/1.57, allocations: 205.1 MB / 223.3 MB, free: 12.45 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.001134/0.001134, allocations: 51.94 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09176/0.0929, allocations: 46.63 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005995/0.09894, allocations: 5.202 MB / 331.2 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.1012, allocations: 1.384 MB / 332.5 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.1015, allocations: 8 kB / 332.5 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.1019, allocations: 131 kB / 332.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005428/0.1024, allocations: 293.7 kB / 333 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.1028, allocations: 207.8 kB / 333.2 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009718/0.1038, allocations: 1.16 MB / 334.3 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004102/0.1042, allocations: 318.8 kB / 334.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004098/0.1046, allocations: 434.3 kB / 335.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.1051, allocations: 0.5056 MB / 335.6 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.1052, allocations: 76 kB / 335.6 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.1054, allocations: 80 kB / 335.7 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.1055, allocations: 195.2 kB / 335.9 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004451/0.106, allocations: 0.517 MB / 336.4 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009309/0.1069, allocations: 1.195 MB / 337.6 MB, free: 9.141 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1069, allocations: 3.938 kB / 337.6 MB, free: 9.137 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1069, allocations: 0 / 337.6 MB, free: 9.137 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.107, allocations: 8 kB / 337.6 MB, free: 9.129 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002513/0.1095, allocations: 1.383 MB / 339 MB, free: 7.672 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1095, allocations: 16.03 kB / 339 MB, free: 7.656 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.1097, allocations: 111.7 kB / 339.1 MB, free: 7.547 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009135/0.1107, allocations: 0.5871 MB / 339.7 MB, free: 6.918 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/0.111, allocations: 170.9 kB / 339.9 MB, free: 6.734 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.592e-05/0.1111, allocations: 64.38 kB / 340 MB, free: 6.672 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.1127, allocations: 0.8978 MB / 340.9 MB, free: 5.672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1127, allocations: 7.938 kB / 340.9 MB, free: 5.664 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.1128, allocations: 32 kB / 340.9 MB, free: 5.633 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.1128, allocations: 12 kB / 340.9 MB, free: 5.621 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.1144, allocations: 0.6531 MB / 341.6 MB, free: 4.965 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.003885/0.1183, allocations: 2.186 MB / 343.7 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.1201, allocations: 1.017 MB / 344.8 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008904/0.121, allocations: 431.3 kB / 345.2 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.503e-05/0.1211, allocations: 16.62 kB / 345.2 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.1212, allocations: 51.22 kB / 345.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of pre-optimization done (n=77): time 2.655e-06/0.1212, allocations: 0 / 345.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of matching and sorting (n=77): time 0.005412/0.1266, allocations: 1.871 MB / 347.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005175/0.1271, allocations: 0.8233 MB / 347.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009393/0.1281, allocations: 0.6685 MB / 348.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.48e-05/0.1282, allocations: 45.7 kB / 348.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.1285, allocations: 349.1 kB / 349 MB, free: 13.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.1287, allocations: 268 kB / 349.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.129, allocations: 146.7 kB / 349.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1291, allocations: 334 kB / 349.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007055/0.1298, allocations: 289.8 kB / 350 MB, free: 12.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009612/0.1308, allocations: 0.578 MB / 350.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.1322, allocations: 0.7247 MB / 351.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1322, allocations: 3.938 kB / 351.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00277/0.135, allocations: 1.157 MB / 352.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.191e-05/0.1351, allocations: 81.11 kB / 352.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1351, allocations: 4 kB / 352.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006669/0.1358, allocations: 239.2 kB / 352.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/0.1365, allocations: 151.8 kB / 352.9 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007677/0.1442, allocations: 6.37 MB / 359.3 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.1455, allocations: 123.2 kB / 359.4 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.853e-05/0.1456, allocations: 27.92 kB / 359.5 MB, free: 1.828 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 (73): * Single equations (assignments): 66 * 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.0004051/0.146, allocations: 229.6 kB / 359.7 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.1462, allocations: 90.97 kB / 359.8 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.1463, allocations: 96.53 kB / 359.9 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.1464, allocations: 8 kB / 359.9 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.1464, allocations: 3.984 kB / 359.9 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002634/0.149, allocations: 1.292 MB / 361.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004165/0.1532, allocations: 2.015 MB / 363.2 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1532, allocations: 0 / 363.2 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007799/0.154, allocations: 155.8 kB / 363.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005515/0.1546, allocations: 194.5 kB / 363.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.1547, allocations: 20.17 kB / 363.5 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006043/0.1607, allocations: 4.906 MB / 368.5 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1607, allocations: 3.938 kB / 368.5 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003424/0.1642, allocations: 1.472 MB / 369.9 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/0.1646, allocations: 251.8 kB / 370.2 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.1647, allocations: 20.12 kB / 370.2 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00069/0.1654, allocations: 71.94 kB / 370.3 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.1656, allocations: 60.56 kB / 370.3 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.1657, allocations: 27.92 kB / 370.3 MB, free: 6.285 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00054/0.1662, allocations: 475 kB / 370.8 MB, free: 5.828 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1662, allocations: 0 / 370.8 MB, free: 5.828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008138/0.167, allocations: 287.7 kB / 371.1 MB, free: 5.547 MB / 318.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 (65): * Single equations (assignments): 62 * 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.0001438/0.1672, allocations: 127.1 kB / 371.2 MB, free: 5.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00218/0.1694, allocations: 1.391 MB / 372.6 MB, free: 3.934 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1694, allocations: 4 kB / 372.6 MB, free: 3.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.1708, allocations: 0.7887 MB / 373.4 MB, free: 3.102 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009971/0.1718, allocations: 230.8 kB / 373.6 MB, free: 2.871 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.1745, allocations: 1.945 MB / 375.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1269/0.3015, allocations: 0.9536 MB / 376.5 MB, free: 52.17 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007291/0.3023, allocations: 109.6 kB / 376.6 MB, free: 52.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.3025, allocations: 62.95 kB / 376.7 MB, free: 52.15 MB / 318.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3025, allocations: 0 / 376.7 MB, free: 52.15 MB / 318.1 MB Notification: Performance of Templates: time 0.02524/0.3278, allocations: 17.3 MB / 394 MB, free: 46.09 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1)