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.00105/0.001049, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.001283/0.001283, allocations: 182 kB / 17.56 MB, free: 6.203 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.571/1.571, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0004391/0.0004391, allocations: 8 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08679/0.08724, allocations: 47.59 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005742/0.09302, allocations: 4.786 MB / 333.1 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003229/0.09629, allocations: 1.302 MB / 334.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007926/0.09711, allocations: 11.94 kB / 334.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000531/0.09766, allocations: 135.1 kB / 334.5 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.09875, allocations: 285.7 kB / 334.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.09931, allocations: 227.6 kB / 335 MB, free: 12.99 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.1007, allocations: 1.156 MB / 336.2 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004402/0.1011, allocations: 314.8 kB / 336.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004988/0.1016, allocations: 418.3 kB / 336.9 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004882/0.1021, allocations: 493.8 kB / 337.4 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.1023, allocations: 64 kB / 337.5 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.1024, allocations: 72 kB / 337.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.1026, allocations: 199.1 kB / 337.7 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004399/0.103, allocations: 0.5226 MB / 338.3 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000953/0.104, allocations: 1.171 MB / 339.4 MB, free: 8.574 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.104, allocations: 0 / 339.4 MB, free: 8.574 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.104, allocations: 0 / 339.4 MB, free: 8.574 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.104, allocations: 0 / 339.4 MB, free: 8.574 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.002152/0.1062, allocations: 1.24 MB / 340.7 MB, free: 7.262 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1062, allocations: 8.031 kB / 340.7 MB, free: 7.254 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.1064, allocations: 115.7 kB / 340.8 MB, free: 7.141 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008475/0.1073, allocations: 0.5988 MB / 341.4 MB, free: 6.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003099/0.1076, allocations: 178.9 kB / 341.6 MB, free: 6.309 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.1077, allocations: 60.38 kB / 341.6 MB, free: 6.25 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.1092, allocations: 0.9174 MB / 342.5 MB, free: 5.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.1092, allocations: 0 / 342.5 MB, free: 5.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/0.1093, allocations: 28 kB / 342.6 MB, free: 5.203 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.1093, allocations: 16 kB / 342.6 MB, free: 5.188 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.1109, allocations: 0.6883 MB / 343.3 MB, free: 4.496 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.003457/0.1144, allocations: 2.201 MB / 345.5 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.1162, allocations: 1.059 MB / 346.5 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000967/0.1172, allocations: 447.3 kB / 347 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.377e-05/0.1173, allocations: 16.62 kB / 347 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.1173, allocations: 51.16 kB / 347 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of pre-optimization done (n=77): time 2.194e-06/0.1173, allocations: 0 / 347 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of matching and sorting (n=77): time 0.005754/0.1231, allocations: 2.031 MB / 349.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003584/0.1235, allocations: 0.8272 MB / 349.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008343/0.1243, allocations: 0.6646 MB / 350.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.148e-05/0.1244, allocations: 49.7 kB / 350.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.1247, allocations: 353 kB / 350.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.125, allocations: 262 kB / 351.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.712e-05/0.1251, allocations: 65.69 kB / 351.3 MB, free: 12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1252, allocations: 329.9 kB / 351.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007976/0.126, allocations: 313.8 kB / 351.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.127, allocations: 0.5937 MB / 352.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.1286, allocations: 0.7676 MB / 353.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1286, allocations: 3.984 kB / 353.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002955/0.1315, allocations: 1.231 MB / 354.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/0.1316, allocations: 81.11 kB / 354.6 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1316, allocations: 0 / 354.6 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000716/0.1324, allocations: 255.2 kB / 354.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.1331, allocations: 155.8 kB / 355 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007355/0.1404, allocations: 6.519 MB / 361.5 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.1415, allocations: 127.3 kB / 361.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.088e-05/0.1415, allocations: 20 kB / 361.6 MB, free: 0.8867 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.0003665/0.1419, allocations: 241.5 kB / 361.9 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.1421, allocations: 90.97 kB / 362 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.1423, allocations: 100.5 kB / 362.1 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.1423, allocations: 8 kB / 362.1 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.1423, allocations: 0 / 362.1 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002707/0.145, allocations: 1.362 MB / 363.4 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/0.1491, allocations: 2.101 MB / 365.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1491, allocations: 0 / 365.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007718/0.1499, allocations: 163.8 kB / 365.7 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006253/0.1505, allocations: 210.5 kB / 365.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.1506, allocations: 12 kB / 365.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006529/0.1571, allocations: 5.062 MB / 371 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1571, allocations: 240 / 371 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00376/0.1609, allocations: 1.574 MB / 372.5 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000535/0.1615, allocations: 259.8 kB / 372.8 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.1616, allocations: 20 kB / 372.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006919/0.1623, allocations: 63.95 kB / 372.9 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.1625, allocations: 76.48 kB / 373 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.1625, allocations: 16 kB / 373 MB, free: 4.906 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006043/0.1631, allocations: 479 kB / 373.4 MB, free: 4.445 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1632, allocations: 4 kB / 373.4 MB, free: 4.441 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00089/0.164, allocations: 287.7 kB / 373.7 MB, free: 4.16 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.000192/0.1642, allocations: 119.4 kB / 373.8 MB, free: 4.031 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002348/0.1666, allocations: 1.434 MB / 375.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1666, allocations: 0 / 375.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.1681, allocations: 0.8395 MB / 376.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.1692, allocations: 226.6 kB / 376.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1517/0.3209, allocations: 2.052 MB / 378.4 MB, free: 51.67 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.3213, allocations: 0.9547 MB / 379.3 MB, free: 50.97 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005873/0.3219, allocations: 108.5 kB / 379.4 MB, free: 50.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.3221, allocations: 64.69 kB / 379.5 MB, free: 50.95 MB / 318.1 MB Notification: Performance of SimCode: time 1.462e-06/0.3221, allocations: 1.531 kB / 379.5 MB, free: 50.95 MB / 318.1 MB Notification: Performance of Templates: time 0.02425/0.3463, allocations: 17.17 MB / 396.7 MB, free: 44.28 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)