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.001547/0.001547, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001861/0.001861, allocations: 191 kB / 17.29 MB, free: 5.516 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7768/0.7768, allocations: 132.2 MB / 423.3 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3426, allocations: 80.19 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1657/0.5084, allocations: 161.6 MB / 0.7393 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003063/0.5115, allocations: 1.76 MB / 0.741 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002736/0.5118, allocations: 11.94 kB / 0.7411 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.5124, allocations: 158.9 kB / 0.7412 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.5136, allocations: 0.5211 MB / 0.7417 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.5146, allocations: 398.3 kB / 0.7421 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002528/0.5172, allocations: 2.524 MB / 0.7446 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.5183, allocations: 0.9333 MB / 0.7455 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.5198, allocations: 1.032 MB / 0.7465 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000918/0.5208, allocations: 0.6962 MB / 0.7472 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.5209, allocations: 59.94 kB / 0.7472 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.5222, allocations: 0.7484 MB / 0.7479 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000298/0.5225, allocations: 302.9 kB / 0.7482 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006142/0.5231, allocations: 0.5439 MB / 0.7488 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.5246, allocations: 1.406 MB / 0.7501 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.5246, allocations: 0 / 0.7501 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.797e-06/0.5246, allocations: 0 / 0.7501 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.5247, allocations: 3.938 kB / 0.7501 GB, free: 0.918 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.2574/0.7821, allocations: 1.44 MB / 0.7515 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.7821, allocations: 10.28 kB / 0.7516 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.7832, allocations: 185.6 kB / 0.7517 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.7852, allocations: 0.8491 MB / 0.7526 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.118e-05/0.7853, allocations: 47.56 kB / 0.7526 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.7854, allocations: 57.59 kB / 0.7527 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.787, allocations: 0.7906 MB / 0.7534 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.787, allocations: 5.625 kB / 0.7534 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-05/0.7871, allocations: 26.19 kB / 0.7535 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.7871, allocations: 13.73 kB / 0.7535 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.7882, allocations: 0.5348 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.003946/0.7921, allocations: 4.588 MB / 0.7585 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.7929, allocations: 413.6 kB / 0.7589 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/0.7933, allocations: 243.8 kB / 0.7591 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/0.7936, allocations: 200.9 kB / 0.7593 GB, free: 163 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005175/0.7941, allocations: 288.5 kB / 0.7596 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.204e-06/0.7941, allocations: 1.219 kB / 0.7596 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001758/0.7959, allocations: 0.6398 MB / 0.7602 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.796, allocations: 81.39 kB / 0.7603 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.7978, allocations: 1.114 MB / 0.7614 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.483e-05/0.7978, allocations: 39.89 kB / 0.7614 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/0.7982, allocations: 490.1 kB / 0.7619 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.7983, allocations: 110.3 kB / 0.762 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.7985, allocations: 110.8 kB / 0.7621 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.956e-05/0.7986, allocations: 326.4 kB / 0.7624 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.7989, allocations: 209.9 kB / 0.7626 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/0.7994, allocations: 0.5249 MB / 0.7631 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007718/0.8002, allocations: 0.636 MB / 0.7637 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.8002, allocations: 2.594 kB / 0.7637 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0012/0.8014, allocations: 0.7179 MB / 0.7644 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.8015, allocations: 38.03 kB / 0.7645 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.8015, allocations: 5.125 kB / 0.7645 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/0.8015, allocations: 12.41 kB / 0.7645 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.802, allocations: 107.9 kB / 0.7646 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.802, allocations: 15.7 kB / 0.7646 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/0.8027, allocations: 75.06 kB / 0.7647 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.8027, allocations: 23.88 kB / 0.7647 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005893/0.8033, allocations: 0.4963 MB / 0.7652 GB, free: 159 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004055/0.8037, allocations: 488.9 kB / 0.7656 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006229/0.8044, allocations: 0.5646 MB / 0.7662 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.8044, allocations: 1.312 kB / 0.7662 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009173/0.8053, allocations: 0.6434 MB / 0.7668 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.8053, allocations: 39.52 kB / 0.7669 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.8053, allocations: 9.25 kB / 0.7669 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.8054, allocations: 7.406 kB / 0.7669 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.8057, allocations: 105.1 kB / 0.767 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.8057, allocations: 14.7 kB / 0.767 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/0.8063, allocations: 64.75 kB / 0.7671 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.8064, allocations: 22.47 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.0001406/0.8065, allocations: 222 kB / 0.7673 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.8067, allocations: 103 kB / 0.7674 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009392/0.8077, allocations: 494.8 kB / 0.7679 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.8077, allocations: 8.844 kB / 0.7679 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.8077, allocations: 0 / 0.7679 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.8077, allocations: 5.641 kB / 0.7679 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.8095, allocations: 1.379 MB / 0.7692 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.8095, allocations: 3.938 kB / 0.7692 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.8097, allocations: 63.39 kB / 0.7693 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.8097, allocations: 3.969 kB / 0.7693 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.8097, allocations: 12.45 kB / 0.7693 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.8098, allocations: 3.969 kB / 0.7693 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8098, allocations: 5.219 kB / 0.7693 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006367/0.8104, allocations: 0.6003 MB / 0.7699 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.8107, allocations: 215.9 kB / 0.7701 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.8108, allocations: 8.562 kB / 0.7701 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.8112, allocations: 26.94 kB / 0.7701 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.8113, allocations: 31.84 kB / 0.7702 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.8113, allocations: 8 kB / 0.7702 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007143/0.812, allocations: 0.7953 MB / 0.771 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.812, allocations: 0 / 0.771 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009524/0.813, allocations: 405.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.0003622/0.8134, allocations: 184 kB / 0.7715 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.8145, allocations: 0.8215 MB / 0.7723 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8145, allocations: 0 / 0.7723 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.8148, allocations: 203.9 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.001543/0.8163, allocations: 451.7 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.001977/0.8183, allocations: 1.729 MB / 0.7746 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.8188, allocations: 1.18 MB / 0.7758 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007504/0.8196, allocations: 415.7 kB / 0.7762 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.8197, allocations: 71.42 kB / 0.7762 GB, free: 149 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.8197, allocations: 4 kB / 0.7763 GB, free: 149 MB / 0.5762 GB Notification: Performance of Templates: time 0.02279/0.8425, 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)