Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001508, allocations: 109.3 kB / 16.27 MB, free: 6.004 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.001459/0.00146, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7999/0.7999, allocations: 135.2 MB / 426.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 67.89 kB / 0.506 GB, free: 8.316 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.342, allocations: 80.92 MB / 0.5851 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1879/0.53, allocations: 161.6 MB / 0.7429 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00536/0.5354, allocations: 3.621 MB / 0.7464 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003908/0.5359, allocations: 11.94 kB / 0.7464 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006441/0.5366, allocations: 162.9 kB / 0.7466 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.5379, allocations: 0.525 MB / 0.7471 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.5391, allocations: 430.8 kB / 0.7475 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00272/0.5418, allocations: 2.562 MB / 0.75 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3103/0.8522, allocations: 2.406 MB / 0.7524 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.8545, allocations: 1.036 MB / 0.7534 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.8559, allocations: 0.7102 MB / 0.7541 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003222/0.8562, allocations: 61.12 kB / 0.7541 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.858, allocations: 0.7394 MB / 0.7548 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004787/0.8585, allocations: 316.2 kB / 0.7551 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.8597, allocations: 0.543 MB / 0.7557 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.8623, allocations: 1.415 MB / 0.7571 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8623, allocations: 0.6875 kB / 0.7571 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8623, allocations: 0.5312 kB / 0.7571 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.126e-05/0.8624, allocations: 0.6562 kB / 0.7571 GB, free: 2.289 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002746/0.8651, allocations: 1.453 MB / 0.7585 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.8652, allocations: 11.02 kB / 0.7585 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008469/0.866, allocations: 194 kB / 0.7587 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.8676, allocations: 0.8076 MB / 0.7595 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/0.8676, allocations: 41.81 kB / 0.7595 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.8677, allocations: 60.36 kB / 0.7596 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.8691, allocations: 0.8268 MB / 0.7604 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.8691, allocations: 9.031 kB / 0.7604 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.8692, allocations: 24.06 kB / 0.7604 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.8692, allocations: 13.78 kB / 0.7604 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.8703, allocations: 0.5602 MB / 0.761 GB, free: 16.8 MB / 0.5919 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.004384/0.8747, allocations: 4.221 MB / 0.7651 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008597/0.8756, allocations: 435.2 kB / 0.7655 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000492/0.8761, allocations: 342.7 kB / 0.7658 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003233/0.8764, allocations: 196 kB / 0.766 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004679/0.8769, allocations: 327.3 kB / 0.7663 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003789/0.8773, allocations: 43.39 kB / 0.7664 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.405e-06/0.8773, allocations: 0 / 0.7664 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.00124/0.8786, allocations: 0.6929 MB / 0.767 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.8786, allocations: 92.42 kB / 0.7671 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.8801, allocations: 1.149 MB / 0.7682 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.807e-05/0.8802, allocations: 37.08 kB / 0.7683 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.8805, allocations: 496.3 kB / 0.7688 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.778e-05/0.8806, allocations: 112.9 kB / 0.7689 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.8808, allocations: 112.4 kB / 0.769 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.881, allocations: 326.7 kB / 0.7693 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/0.8814, allocations: 239.1 kB / 0.7695 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.8819, allocations: 0.539 MB / 0.77 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008367/0.8828, allocations: 0.6771 MB / 0.7707 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.8828, allocations: 1.969 kB / 0.7707 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001226/0.884, allocations: 0.7765 MB / 0.7715 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.8841, allocations: 35.89 kB / 0.7715 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.8841, allocations: 5.25 kB / 0.7715 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/0.8841, allocations: 13.34 kB / 0.7715 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.8846, allocations: 120.8 kB / 0.7716 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.8847, allocations: 11.5 kB / 0.7716 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009038/0.8856, allocations: 62.94 kB / 0.7717 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.8856, allocations: 26.53 kB / 0.7717 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000684/0.8863, allocations: 0.5127 MB / 0.7722 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005443/0.8869, allocations: 0.5018 MB / 0.7727 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007131/0.8876, allocations: 0.5943 MB / 0.7733 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/0.8876, allocations: 2.125 kB / 0.7733 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001041/0.8887, allocations: 0.6909 MB / 0.774 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.8887, allocations: 41.97 kB / 0.774 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8887, allocations: 4.719 kB / 0.774 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.954e-06/0.8887, allocations: 11.23 kB / 0.774 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.8892, allocations: 111.5 kB / 0.7741 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.8892, allocations: 12.66 kB / 0.7741 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008365/0.89, allocations: 70.09 kB / 0.7742 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.8901, allocations: 24.94 kB / 0.7742 GB, free: 11.16 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 (55): * Single equations (assignments): 54 * 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.0002404/0.8903, allocations: 221.3 kB / 0.7744 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.8905, allocations: 101.9 kB / 0.7745 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009162/0.8914, allocations: 0.5444 MB / 0.7751 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.8914, allocations: 2.125 kB / 0.7751 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.8914, allocations: 3.531 kB / 0.7751 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.8914, allocations: 3.812 kB / 0.7751 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.8935, allocations: 1.505 MB / 0.7766 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.8935, allocations: 6.5 kB / 0.7766 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.8938, allocations: 69.53 kB / 0.7766 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.8938, allocations: 3.406 kB / 0.7766 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.8939, allocations: 10 kB / 0.7766 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.8939, allocations: 2.844 kB / 0.7766 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8939, allocations: 3.219 kB / 0.7766 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.8947, allocations: 0.6581 MB / 0.7773 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/0.895, allocations: 225.2 kB / 0.7775 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.8952, allocations: 11.64 kB / 0.7775 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005407/0.8957, allocations: 35.78 kB / 0.7775 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.8958, allocations: 40.41 kB / 0.7776 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.8958, allocations: 15.22 kB / 0.7776 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008867/0.8967, allocations: 0.8135 MB / 0.7784 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8967, allocations: 2.078 kB / 0.7784 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001105/0.8978, allocations: 428 kB / 0.7788 GB, free: 9.875 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 (33): * Single equations (assignments): 31 * 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.000393/0.8982, allocations: 173.5 kB / 0.779 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.8996, allocations: 0.953 MB / 0.7799 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.8996, allocations: 0.9375 kB / 0.7799 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.8999, allocations: 233.9 kB / 0.7801 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.902, allocations: 0.501 MB / 0.7806 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.9048, allocations: 1.821 MB / 0.7824 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/0.9054, allocations: 1.187 MB / 0.7836 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.9057, allocations: 79.62 kB / 0.7836 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.9057, allocations: 0.7812 kB / 0.7836 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of Templates: time 0.02379/0.9295, allocations: 16.55 MB / 0.7998 GB, free: 4.684 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)