Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001477/0.001477, allocations: 189.4 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7855/0.7855, allocations: 132.2 MB / 423.3 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002049/0.00205, allocations: 59.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3778, allocations: 80.18 MB / 0.5815 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1567/0.5345, allocations: 161.6 MB / 0.7393 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002947/0.5375, allocations: 1.771 MB / 0.741 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.5378, allocations: 11.94 kB / 0.7411 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005409/0.5384, allocations: 162.9 kB / 0.7412 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.5397, allocations: 0.525 MB / 0.7417 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.5407, allocations: 391.9 kB / 0.7421 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00262/0.5434, allocations: 2.524 MB / 0.7446 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.5446, allocations: 0.9372 MB / 0.7455 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.5463, allocations: 1.024 MB / 0.7465 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008238/0.5471, allocations: 0.7001 MB / 0.7472 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.5472, allocations: 60 kB / 0.7472 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.5486, allocations: 0.7444 MB / 0.7479 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002976/0.5489, allocations: 306.9 kB / 0.7482 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006022/0.5495, allocations: 0.544 MB / 0.7488 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.551, allocations: 1.394 MB / 0.7501 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.551, allocations: 4 kB / 0.7501 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.843e-06/0.551, allocations: 0 / 0.7501 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.551, allocations: 0 / 0.7501 GB, free: 0.9336 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.2994/0.8505, allocations: 1.446 MB / 0.7515 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.167e-05/0.8505, allocations: 9.156 kB / 0.7516 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009855/0.8515, allocations: 189.6 kB / 0.7517 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.8535, allocations: 0.8487 MB / 0.7526 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/0.8536, allocations: 42.47 kB / 0.7526 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.8537, allocations: 65.84 kB / 0.7527 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.855, allocations: 0.7856 MB / 0.7534 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.8551, allocations: 7.094 kB / 0.7534 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.8551, allocations: 26.31 kB / 0.7535 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.8551, allocations: 14.98 kB / 0.7535 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.8562, allocations: 0.537 MB / 0.754 GB, free: 167.6 MB / 0.5762 GB 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.00404/0.8602, allocations: 4.585 MB / 0.7585 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007646/0.861, allocations: 418.2 kB / 0.7589 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004367/0.8614, allocations: 243.6 kB / 0.7591 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.8618, allocations: 201.9 kB / 0.7593 GB, free: 163 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005417/0.8623, allocations: 288.3 kB / 0.7596 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.994e-06/0.8623, allocations: 1.938 kB / 0.7596 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001722/0.864, allocations: 0.6396 MB / 0.7602 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.8641, allocations: 83.7 kB / 0.7603 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.8658, allocations: 1.115 MB / 0.7614 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.8658, allocations: 35.23 kB / 0.7614 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/0.8661, allocations: 494.9 kB / 0.7619 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.246e-05/0.8662, allocations: 109.5 kB / 0.762 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.8663, allocations: 107.5 kB / 0.7621 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.472e-05/0.8664, allocations: 328.3 kB / 0.7624 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.8668, allocations: 214.5 kB / 0.7626 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004807/0.8673, allocations: 0.5169 MB / 0.7631 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007062/0.868, allocations: 0.639 MB / 0.7637 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.868, allocations: 3.312 kB / 0.7637 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001144/0.8691, allocations: 0.7212 MB / 0.7644 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.8692, allocations: 32.95 kB / 0.7645 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.8692, allocations: 6.312 kB / 0.7645 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.8692, allocations: 14.31 kB / 0.7645 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.8697, allocations: 114.2 kB / 0.7646 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.8697, allocations: 8.906 kB / 0.7646 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006071/0.8703, allocations: 73.2 kB / 0.7647 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.8704, allocations: 23.62 kB / 0.7647 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005771/0.871, allocations: 0.4978 MB / 0.7652 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004249/0.8714, allocations: 485.7 kB / 0.7657 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000617/0.872, allocations: 0.5661 MB / 0.7662 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/0.872, allocations: 2.156 kB / 0.7662 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.000925/0.873, allocations: 0.6419 MB / 0.7668 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.873, allocations: 38.7 kB / 0.7669 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.873, allocations: 5.469 kB / 0.7669 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.873, allocations: 7.781 kB / 0.7669 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.8734, allocations: 104.8 kB / 0.767 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.8734, allocations: 22.36 kB / 0.767 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/0.874, allocations: 64 kB / 0.7671 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.874, allocations: 21.34 kB / 0.7671 GB, free: 157.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.8742, allocations: 220.6 kB / 0.7673 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.8743, allocations: 101.2 kB / 0.7674 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008725/0.8752, allocations: 488.7 kB / 0.7679 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.8752, allocations: 12.59 kB / 0.7679 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.8752, allocations: 0 / 0.7679 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.8753, allocations: 5.703 kB / 0.7679 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.8771, allocations: 1.381 MB / 0.7692 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.8771, allocations: 3.969 kB / 0.7692 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.8774, allocations: 64.64 kB / 0.7693 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.8774, allocations: 0 / 0.7693 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.8774, allocations: 12.7 kB / 0.7693 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.8774, allocations: 5.812 kB / 0.7693 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.8774, allocations: 4 kB / 0.7693 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006128/0.878, allocations: 0.6071 MB / 0.7699 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.8783, allocations: 207.9 kB / 0.7701 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.8784, allocations: 8 kB / 0.7701 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.8788, allocations: 27.19 kB / 0.7701 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.8789, allocations: 31.84 kB / 0.7702 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.8789, allocations: 16.67 kB / 0.7702 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007123/0.8796, allocations: 0.7875 MB / 0.771 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8796, allocations: 0 / 0.771 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009288/0.8806, allocations: 406.2 kB / 0.7713 GB, free: 154.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004329/0.881, allocations: 185.6 kB / 0.7715 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.8821, allocations: 0.8206 MB / 0.7723 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8821, allocations: 0 / 0.7723 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.8824, allocations: 207.3 kB / 0.7725 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.884, allocations: 452.3 kB / 0.7729 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.886, allocations: 1.723 MB / 0.7746 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.8866, allocations: 1.18 MB / 0.7758 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007659/0.8873, allocations: 424.4 kB / 0.7762 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.8875, allocations: 71.44 kB / 0.7763 GB, free: 149 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.8875, allocations: 0 / 0.7763 GB, free: 149 MB / 0.5762 GB Notification: Performance of Templates: time 0.02365/0.9112, allocations: 17.05 MB / 0.7929 GB, free: 132.2 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)