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.001645/0.001645, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00265/0.002651, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9369/0.9369, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.55 kB / 0.5047 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.183, allocations: 80.92 MB / 0.5837 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4827/0.6658, allocations: 159.4 MB / 0.7393 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002895/0.6687, allocations: 1.772 MB / 0.7411 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/0.669, allocations: 8.531 kB / 0.7411 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.6695, allocations: 133.9 kB / 0.7412 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.6706, allocations: 0.5002 MB / 0.7417 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000871/0.6715, allocations: 350.8 kB / 0.742 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002872/0.6744, allocations: 3.48 MB / 0.7454 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008578/0.6752, allocations: 0.7587 MB / 0.7462 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.6765, allocations: 0.9102 MB / 0.747 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007128/0.6772, allocations: 0.7273 MB / 0.7478 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.338e-05/0.6773, allocations: 40.78 kB / 0.7478 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.6786, allocations: 0.8048 MB / 0.7486 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.6789, allocations: 288.6 kB / 0.7489 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004959/0.6794, allocations: 0.5132 MB / 0.7494 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.6807, allocations: 1.378 MB / 0.7507 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6808, allocations: 0 / 0.7507 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6808, allocations: 0 / 0.7507 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.6808, allocations: 0 / 0.7507 GB, free: 2.488 MB / 0.5606 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.002068/0.6829, allocations: 1.454 MB / 0.7521 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.6829, allocations: 8.031 kB / 0.7521 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007144/0.6836, allocations: 190.4 kB / 0.7523 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.6847, allocations: 0.7944 MB / 0.7531 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.6848, allocations: 49 kB / 0.7531 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.994e-05/0.6848, allocations: 60 kB / 0.7532 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.686, allocations: 0.7849 MB / 0.754 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.686, allocations: 11.94 kB / 0.754 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.6861, allocations: 17.5 kB / 0.754 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.6861, allocations: 16 kB / 0.754 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008746/0.6869, allocations: 0.5344 MB / 0.7545 GB, free: 14.39 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.003613/0.6906, allocations: 4.587 MB / 0.759 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006977/0.6913, allocations: 422.9 kB / 0.7594 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.6917, allocations: 243.4 kB / 0.7596 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002813/0.692, allocations: 198.2 kB / 0.7598 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004658/0.6924, allocations: 291.2 kB / 0.7601 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/0.6924, allocations: 0 / 0.7601 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001306/0.6938, allocations: 0.6353 MB / 0.7607 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.6938, allocations: 81.11 kB / 0.7608 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.6951, allocations: 1.118 MB / 0.7619 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.6951, allocations: 33.7 kB / 0.7619 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.6955, allocations: 497.1 kB / 0.7624 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.086e-05/0.6956, allocations: 110.5 kB / 0.7625 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.6958, allocations: 113.9 kB / 0.7626 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6959, allocations: 329.9 kB / 0.7629 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.6963, allocations: 214.4 kB / 0.7631 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005891/0.6969, allocations: 0.5233 MB / 0.7636 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008622/0.6977, allocations: 0.6366 MB / 0.7643 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.6977, allocations: 0 / 0.7643 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001122/0.6989, allocations: 0.7209 MB / 0.765 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.6989, allocations: 37.69 kB / 0.765 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.6989, allocations: 8 kB / 0.765 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.699, allocations: 8.219 kB / 0.765 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.6994, allocations: 112.2 kB / 0.7651 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.6994, allocations: 15.92 kB / 0.7651 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006344/0.7, allocations: 103.3 kB / 0.7652 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.7001, allocations: 24 kB / 0.7653 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006379/0.7008, allocations: 0.4966 MB / 0.7657 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000556/0.7013, allocations: 489.9 kB / 0.7662 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000716/0.702, allocations: 0.5625 MB / 0.7668 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.464e-06/0.7021, allocations: 0 / 0.7668 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009675/0.703, allocations: 0.642 MB / 0.7674 GB, free: 240 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.7031, allocations: 33.7 kB / 0.7674 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7031, allocations: 4.656 kB / 0.7674 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.7031, allocations: 12 kB / 0.7674 GB, free: 184 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.7035, allocations: 107.8 kB / 0.7675 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.7035, allocations: 8 kB / 0.7675 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/0.7041, allocations: 84.09 kB / 0.7676 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.7041, allocations: 27.98 kB / 0.7677 GB, free: 15.95 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.0001521/0.7043, allocations: 218.9 kB / 0.7679 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.7044, allocations: 102.8 kB / 0.768 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008759/0.7053, allocations: 495.4 kB / 0.7684 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.7053, allocations: 4 kB / 0.7684 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7053, allocations: 0 / 0.7684 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.7053, allocations: 7.938 kB / 0.7684 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.7072, allocations: 1.379 MB / 0.7698 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.7072, allocations: 4 kB / 0.7698 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.7075, allocations: 59.89 kB / 0.7699 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.7075, allocations: 8.219 kB / 0.7699 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.7075, allocations: 8 kB / 0.7699 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/0.7076, allocations: 4 kB / 0.7699 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.7076, allocations: 7.938 kB / 0.7699 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007869/0.7084, allocations: 0.5985 MB / 0.7705 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.7086, allocations: 215.8 kB / 0.7707 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.7087, allocations: 11.98 kB / 0.7707 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004599/0.7092, allocations: 43.95 kB / 0.7707 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.7093, allocations: 31.91 kB / 0.7708 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.7093, allocations: 12 kB / 0.7708 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009237/0.7103, allocations: 0.7914 MB / 0.7715 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.382e-06/0.7103, allocations: 3.938 kB / 0.7715 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001045/0.7113, allocations: 415.2 kB / 0.7719 GB, free: 11.42 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.0003818/0.7117, allocations: 173.1 kB / 0.7721 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.7131, allocations: 0.8077 MB / 0.7729 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7131, allocations: 0 / 0.7729 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.7135, allocations: 204.3 kB / 0.7731 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.7155, allocations: 454.9 kB / 0.7735 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.7181, allocations: 2.038 MB / 0.7755 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006893/0.7188, allocations: 1.184 MB / 0.7767 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0011/0.7199, allocations: 418.3 kB / 0.7771 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.7201, allocations: 75.42 kB / 0.7771 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of SimCode: time 1.112e-06/0.7201, allocations: 0 / 0.7771 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of Templates: time 0.02748/0.7476, allocations: 16.51 MB / 0.7933 GB, free: 5.695 MB / 0.6075 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)