Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001373/0.001373, allocations: 104.3 kB / 15.98 MB, free: 6.352 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.001472/0.001472, allocations: 193 kB / 16.91 MB, free: 6.188 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.282/1.282, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7412/0.7412, allocations: 132.2 MB / 422.9 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.89 kB / 0.5019 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3803, allocations: 80.18 MB / 0.5802 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1636/0.544, allocations: 159.4 MB / 0.7359 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004574/0.5486, allocations: 3.587 MB / 0.7394 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003212/0.549, allocations: 11.94 kB / 0.7394 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005946/0.5496, allocations: 147.1 kB / 0.7395 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.5509, allocations: 0.4897 MB / 0.74 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.552, allocations: 398 kB / 0.7404 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002465/0.5545, allocations: 2.596 MB / 0.7429 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002493/0.557, allocations: 2.407 MB / 0.7453 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.5588, allocations: 1.066 MB / 0.7463 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008298/0.5597, allocations: 0.7585 MB / 0.7471 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.5598, allocations: 60 kB / 0.7471 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.5611, allocations: 0.7561 MB / 0.7479 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.5615, allocations: 310.9 kB / 0.7482 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006272/0.5621, allocations: 0.5596 MB / 0.7487 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.5632, allocations: 1.064 MB / 0.7497 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5632, allocations: 0 / 0.7497 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5632, allocations: 0 / 0.7497 GB, free: 280 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.5632, allocations: 0 / 0.7497 GB, free: 280 kB / 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.2975/0.8608, allocations: 1.451 MB / 0.7512 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.8608, allocations: 9.562 kB / 0.7512 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009189/0.8618, allocations: 192.8 kB / 0.7514 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.8631, allocations: 0.8017 MB / 0.7521 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.313e-05/0.8632, allocations: 43.81 kB / 0.7522 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.883e-05/0.8633, allocations: 57.94 kB / 0.7522 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.8646, allocations: 0.8225 MB / 0.753 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.8647, allocations: 2.578 kB / 0.753 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-05/0.8647, allocations: 27.22 kB / 0.7531 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.8648, allocations: 14.12 kB / 0.7531 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.8659, allocations: 0.5642 MB / 0.7536 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.003804/0.8697, allocations: 4.21 MB / 0.7577 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00079/0.8705, allocations: 444.8 kB / 0.7582 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005879/0.8711, allocations: 336.9 kB / 0.7585 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/0.8714, allocations: 197.4 kB / 0.7587 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005936/0.872, allocations: 315 kB / 0.759 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004477/0.8725, allocations: 39 kB / 0.759 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 3.837e-06/0.8725, allocations: 0 / 0.759 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001676/0.8742, allocations: 0.6987 MB / 0.7597 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.8742, allocations: 94.88 kB / 0.7598 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.8756, allocations: 1.157 MB / 0.7609 GB, free: 162 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.8756, allocations: 35.08 kB / 0.761 GB, free: 162 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/0.8759, allocations: 493.7 kB / 0.7614 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.876, allocations: 109.9 kB / 0.7615 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.8762, allocations: 118.7 kB / 0.7616 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.542e-05/0.8762, allocations: 326.3 kB / 0.762 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.8766, allocations: 241 kB / 0.7622 GB, free: 161 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/0.8771, allocations: 0.544 MB / 0.7627 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007998/0.8779, allocations: 0.6732 MB / 0.7634 GB, free: 160 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.8779, allocations: 1.219 kB / 0.7634 GB, free: 160 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001179/0.8791, allocations: 0.7645 MB / 0.7641 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.8792, allocations: 39.84 kB / 0.7642 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.8792, allocations: 4.875 kB / 0.7642 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.8792, allocations: 12.25 kB / 0.7642 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.8797, allocations: 114.5 kB / 0.7643 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.8798, allocations: 7.953 kB / 0.7643 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.8808, allocations: 90.05 kB / 0.7644 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.73e-05/0.8809, allocations: 22.97 kB / 0.7644 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007765/0.8816, allocations: 0.5254 MB / 0.7649 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005166/0.8822, allocations: 0.497 MB / 0.7654 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007458/0.8829, allocations: 0.5974 MB / 0.766 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.06e-06/0.8829, allocations: 4.781 kB / 0.766 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001077/0.884, allocations: 0.6973 MB / 0.7667 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.8841, allocations: 36.64 kB / 0.7667 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.8841, allocations: 5.281 kB / 0.7667 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.8841, allocations: 12.64 kB / 0.7667 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.8845, allocations: 111.5 kB / 0.7668 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.8846, allocations: 12.28 kB / 0.7668 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000879/0.8854, allocations: 84.39 kB / 0.7669 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.8855, allocations: 21.84 kB / 0.7669 GB, free: 157.8 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 (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.0001836/0.8857, allocations: 224.3 kB / 0.7671 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.8858, allocations: 103.7 kB / 0.7672 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008754/0.8867, allocations: 0.5382 MB / 0.7678 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8867, allocations: 7.875 kB / 0.7678 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.8867, allocations: 0 / 0.7678 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.8867, allocations: 5.469 kB / 0.7678 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.8885, allocations: 1.49 MB / 0.7692 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.8885, allocations: 0 / 0.7692 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.8888, allocations: 78.84 kB / 0.7693 GB, free: 156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.8889, allocations: 0 / 0.7693 GB, free: 156 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.8889, allocations: 12 kB / 0.7693 GB, free: 156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.8889, allocations: 3.938 kB / 0.7693 GB, free: 156 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.8889, allocations: 4 kB / 0.7693 GB, free: 156 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006941/0.8896, allocations: 0.6579 MB / 0.77 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/0.8899, allocations: 223.8 kB / 0.7702 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.89, allocations: 8 kB / 0.7702 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/0.8906, allocations: 63.19 kB / 0.7703 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/0.8907, allocations: 39.83 kB / 0.7703 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.8907, allocations: 12 kB / 0.7703 GB, free: 155 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007454/0.8914, allocations: 0.8199 MB / 0.7711 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8914, allocations: 0 / 0.7711 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001026/0.8925, allocations: 428.5 kB / 0.7715 GB, free: 153.8 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 (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.0004186/0.8929, allocations: 169.1 kB / 0.7717 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.8942, allocations: 0.952 MB / 0.7726 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8942, allocations: 0 / 0.7726 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.8945, allocations: 226.2 kB / 0.7728 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.8964, allocations: 0.4977 MB / 0.7733 GB, free: 152 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.8987, allocations: 2.111 MB / 0.7754 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.8991, allocations: 1.182 MB / 0.7765 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.8993, allocations: 83.42 kB / 0.7766 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.8993, allocations: 0 / 0.7766 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.01928/0.9186, allocations: 16.54 MB / 0.7928 GB, free: 132.1 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)