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: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008036/0.0008036, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0009163/0.0009163, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.3 MB / 240 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9182/0.9182, allocations: 135.3 MB / 426.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003168, allocations: 12.2 kB / 0.5071 GB, free: 5.023 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.145, allocations: 82.31 MB / 0.5875 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4032/0.5483, allocations: 146.7 MB / 0.7308 GB, free: 3.113 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004756/0.5531, allocations: 3.371 MB / 0.734 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003577/0.5535, allocations: 8.719 kB / 0.7341 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.5539, allocations: 109.5 kB / 0.7342 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.5551, allocations: 396 kB / 0.7345 GB, free: 476 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.5564, allocations: 375.9 kB / 0.7349 GB, free: 304 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003162/0.5595, allocations: 3.014 MB / 0.7378 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002601/0.5622, allocations: 2.151 MB / 0.7399 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.5641, allocations: 0.8735 MB / 0.7408 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009399/0.565, allocations: 0.7034 MB / 0.7415 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.5651, allocations: 35.47 kB / 0.7415 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.5664, allocations: 0.5576 MB / 0.7421 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.5667, allocations: 285.4 kB / 0.7423 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.567, allocations: 227.7 kB / 0.7425 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.5681, allocations: 1.036 MB / 0.7436 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5681, allocations: 4 kB / 0.7436 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5681, allocations: 0 / 0.7436 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.5681, allocations: 0 / 0.7436 GB, free: 12.36 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001949/0.5701, allocations: 1.339 MB / 0.7449 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5701, allocations: 13.38 kB / 0.7449 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.5703, allocations: 98.28 kB / 0.745 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007028/0.571, allocations: 196 kB / 0.7452 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.5722, allocations: 0.7997 MB / 0.7459 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.5722, allocations: 42.59 kB / 0.746 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.308e-05/0.5723, allocations: 63.98 kB / 0.746 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.5735, allocations: 0.8171 MB / 0.7468 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.5735, allocations: 7.922 kB / 0.7468 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/0.5736, allocations: 24 kB / 0.7469 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.5736, allocations: 16.88 kB / 0.7469 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008823/0.5745, allocations: 0.5735 MB / 0.7474 GB, free: 8.957 MB / 0.5606 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.003571/0.578, allocations: 4.25 MB / 0.7516 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/0.5788, allocations: 450.2 kB / 0.752 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/0.5793, allocations: 354.5 kB / 0.7524 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.5796, allocations: 194.1 kB / 0.7525 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005085/0.5801, allocations: 335.5 kB / 0.7529 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002558/0.5803, allocations: 35.69 kB / 0.7529 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/0.5804, allocations: 0 / 0.7529 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001321/0.5817, allocations: 0.7126 MB / 0.7536 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.5817, allocations: 85.09 kB / 0.7537 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.583, allocations: 1.151 MB / 0.7548 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.5831, allocations: 41.7 kB / 0.7548 GB, free: 1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/0.5835, allocations: 484.4 kB / 0.7553 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.722e-05/0.5836, allocations: 118.4 kB / 0.7554 GB, free: 416 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.5836, allocations: 12 kB / 0.7554 GB, free: 404 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.5837, allocations: 322 kB / 0.7557 GB, free: 76 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.5841, allocations: 209 kB / 0.7559 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.5846, allocations: 0.5225 MB / 0.7564 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.585, allocations: 310.9 kB / 0.7567 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.5851, allocations: 7.953 kB / 0.7568 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001105/0.5862, allocations: 0.7246 MB / 0.7575 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.5863, allocations: 274.7 kB / 0.7577 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5863, allocations: 4 kB / 0.7577 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.5864, allocations: 8 kB / 0.7577 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.5869, allocations: 127.9 kB / 0.7579 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.5869, allocations: 15.88 kB / 0.7579 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000793/0.5877, allocations: 91.7 kB / 0.758 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.5878, allocations: 24 kB / 0.758 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/0.5878, allocations: 7.938 kB / 0.758 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009023/0.5887, allocations: 0.5834 MB / 0.7586 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5887, allocations: 8.031 kB / 0.7586 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.5887, allocations: 8 kB / 0.7586 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.5891, allocations: 111.9 kB / 0.7587 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.5892, allocations: 11.94 kB / 0.7587 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007188/0.5899, allocations: 87.75 kB / 0.7588 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.5899, allocations: 27.98 kB / 0.7588 GB, free: 12.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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005058/0.5904, allocations: 477.4 kB / 0.7593 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.5906, allocations: 102.8 kB / 0.7594 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009561/0.5915, allocations: 0.551 MB / 0.7599 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.5915, allocations: 8.375 kB / 0.7599 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5916, allocations: 0 / 0.7599 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5916, allocations: 3.984 kB / 0.7599 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.5935, allocations: 1.497 MB / 0.7614 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.5935, allocations: 7.984 kB / 0.7614 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.5939, allocations: 76.09 kB / 0.7614 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.5939, allocations: 4 kB / 0.7615 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.5939, allocations: 8 kB / 0.7615 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.5939, allocations: 7.953 kB / 0.7615 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5939, allocations: 0 / 0.7615 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008195/0.5947, allocations: 0.6724 MB / 0.7621 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/0.5951, allocations: 227.8 kB / 0.7623 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.5952, allocations: 11.98 kB / 0.7624 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005872/0.5958, allocations: 63.78 kB / 0.7624 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.5959, allocations: 39.84 kB / 0.7624 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.5959, allocations: 11.98 kB / 0.7625 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009337/0.5969, allocations: 0.8159 MB / 0.7633 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5969, allocations: 0 / 0.7633 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001076/0.598, allocations: 427.4 kB / 0.7637 GB, free: 7.562 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001408/0.5994, allocations: 1.305 MB / 0.7649 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.6008, allocations: 0.8839 MB / 0.7658 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6008, allocations: 0 / 0.7658 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.6012, allocations: 244.3 kB / 0.766 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/0.6041, allocations: 0.6347 MB / 0.7667 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.6151, allocations: 6.487 MB / 0.773 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006851/0.6158, allocations: 1.186 MB / 0.7741 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001237/0.617, allocations: 436.7 kB / 0.7746 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/0.6175, allocations: 339.3 kB / 0.7749 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.6175, allocations: 0 / 0.7749 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04518/0.6627, allocations: 28.5 MB / 0.8027 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.6629, allocations: 237.6 kB / 0.803 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/2.853, allocations: 4 kB / 0.803 GB, free: 15.37 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) Environment - environmentSimulation: