Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001455/0.001455, allocations: 98.83 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.00167/0.00167, allocations: 196.6 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7778/0.7778, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.91 kB / 0.5067 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.315, allocations: 80.91 MB / 0.5858 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1521/0.4671, allocations: 161.6 MB / 0.7436 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002959/0.4701, allocations: 1.75 MB / 0.7453 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/0.4704, allocations: 15.88 kB / 0.7453 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005743/0.4711, allocations: 158.9 kB / 0.7455 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.4724, allocations: 0.525 MB / 0.746 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.4735, allocations: 395.3 kB / 0.7464 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002447/0.4759, allocations: 2.527 MB / 0.7488 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.477, allocations: 0.9372 MB / 0.7497 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.4785, allocations: 1.028 MB / 0.7507 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007308/0.4793, allocations: 0.704 MB / 0.7514 GB, free: 348 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.569e-05/0.4794, allocations: 55.94 kB / 0.7515 GB, free: 292 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2874/0.7668, allocations: 0.7395 MB / 0.7522 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005536/0.7674, allocations: 306.1 kB / 0.7525 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.7687, allocations: 0.5411 MB / 0.753 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.771, allocations: 1.402 MB / 0.7544 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.7711, allocations: 2.812 kB / 0.7544 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7711, allocations: 0 / 0.7544 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.367e-05/0.7711, allocations: 0 / 0.7544 GB, free: 3.855 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.002556/0.7737, allocations: 1.444 MB / 0.7558 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.7737, allocations: 11.7 kB / 0.7558 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007896/0.7745, allocations: 186.2 kB / 0.756 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.7759, allocations: 0.8452 MB / 0.7568 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.776, allocations: 46.75 kB / 0.7569 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.853e-05/0.7761, allocations: 59.31 kB / 0.7569 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.7771, allocations: 0.7926 MB / 0.7577 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.7771, allocations: 3.406 kB / 0.7577 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/0.7772, allocations: 25.61 kB / 0.7577 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.7772, allocations: 16.94 kB / 0.7577 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009534/0.7782, allocations: 0.5319 MB / 0.7583 GB, free: 2.375 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.005686/0.7839, allocations: 4.591 MB / 0.7627 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008876/0.7848, allocations: 414.4 kB / 0.7631 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004736/0.7853, allocations: 248 kB / 0.7634 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/0.7856, allocations: 193.8 kB / 0.7636 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005161/0.7862, allocations: 295.8 kB / 0.7638 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.7862, allocations: 2.484 kB / 0.7638 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001608/0.7878, allocations: 0.6305 MB / 0.7645 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.7879, allocations: 89.97 kB / 0.7645 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.7896, allocations: 1.119 MB / 0.7656 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/0.7897, allocations: 33.95 kB / 0.7657 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.7901, allocations: 490.3 kB / 0.7661 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.652e-05/0.7902, allocations: 106.7 kB / 0.7662 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.7903, allocations: 110.7 kB / 0.7663 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7904, allocations: 327.8 kB / 0.7667 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.7908, allocations: 220.4 kB / 0.7669 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.7913, allocations: 0.5152 MB / 0.7674 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009276/0.7922, allocations: 0.6382 MB / 0.768 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.7922, allocations: 0.9375 kB / 0.768 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001187/0.7934, allocations: 0.72 MB / 0.7687 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.7935, allocations: 38.81 kB / 0.7687 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.7935, allocations: 5.438 kB / 0.7687 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.7935, allocations: 8.562 kB / 0.7688 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.7939, allocations: 111.7 kB / 0.7689 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.794, allocations: 13.17 kB / 0.7689 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007297/0.7947, allocations: 76.5 kB / 0.7689 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/0.7948, allocations: 22.06 kB / 0.769 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007537/0.7955, allocations: 0.4974 MB / 0.7694 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005097/0.7961, allocations: 493.5 kB / 0.7699 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009044/0.797, allocations: 0.5513 MB / 0.7705 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.819e-06/0.797, allocations: 1.719 kB / 0.7705 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001233/0.7982, allocations: 0.652 MB / 0.7711 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.7983, allocations: 37.56 kB / 0.7711 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7983, allocations: 5.031 kB / 0.7711 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/0.7983, allocations: 9.594 kB / 0.7711 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.7986, allocations: 106.3 kB / 0.7712 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.7986, allocations: 11.62 kB / 0.7713 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000626/0.7993, allocations: 70.89 kB / 0.7713 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.7993, allocations: 25.58 kB / 0.7714 GB, free: 12.15 MB / 0.5919 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.0002004/0.7995, allocations: 219.9 kB / 0.7716 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.7997, allocations: 101.1 kB / 0.7717 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009177/0.8007, allocations: 490.6 kB / 0.7721 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.8007, allocations: 7.656 kB / 0.7721 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.8007, allocations: 3.406 kB / 0.7721 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.8007, allocations: 4.781 kB / 0.7721 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.8028, allocations: 1.384 MB / 0.7735 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.8028, allocations: 2.625 kB / 0.7735 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.8031, allocations: 61.09 kB / 0.7736 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.8031, allocations: 8.656 kB / 0.7736 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.8031, allocations: 13.97 kB / 0.7736 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.8031, allocations: 3.125 kB / 0.7736 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8031, allocations: 3.469 kB / 0.7736 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007262/0.8039, allocations: 0.6031 MB / 0.7742 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.8042, allocations: 206.9 kB / 0.7744 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.8043, allocations: 11.72 kB / 0.7744 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.8047, allocations: 18.05 kB / 0.7744 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/0.8048, allocations: 39.05 kB / 0.7744 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.8048, allocations: 9.156 kB / 0.7744 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008405/0.8057, allocations: 0.7914 MB / 0.7752 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.72e-07/0.8057, allocations: 0.9688 kB / 0.7752 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001045/0.8067, allocations: 408 kB / 0.7756 GB, free: 10.88 MB / 0.5919 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.0003795/0.8071, allocations: 180 kB / 0.7758 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.8084, allocations: 0.8201 MB / 0.7766 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.8084, allocations: 0.7812 kB / 0.7766 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.8087, allocations: 208.2 kB / 0.7768 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.8104, allocations: 449.5 kB / 0.7772 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.8127, allocations: 1.727 MB / 0.7789 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006511/0.8134, allocations: 1.179 MB / 0.78 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008697/0.8143, allocations: 417 kB / 0.7804 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.8144, allocations: 77.06 kB / 0.7805 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.8145, allocations: 1.031 kB / 0.7805 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of Templates: time 0.02441/0.8389, allocations: 17.05 MB / 0.7972 GB, free: 6.633 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)