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.0009203/0.0009204, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0008494/0.0008494, allocations: 177.3 kB / 15.95 MB, free: 216 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.178/1.178, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8424/0.8424, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002925, allocations: 8 kB / 0.5068 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 82.32 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.3712/0.5149, allocations: 135.7 MB / 0.7197 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004074/0.519, allocations: 3.11 MB / 0.7227 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.5194, allocations: 9.062 kB / 0.7228 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005723/0.52, allocations: 177 kB / 0.7229 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.5214, allocations: 0.4989 MB / 0.7234 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.5227, allocations: 456.1 kB / 0.7238 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001872/0.5245, allocations: 1.516 MB / 0.7253 GB, free: 8.445 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00267/0.5272, allocations: 2.194 MB / 0.7275 GB, free: 7.664 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.5285, allocations: 0.6988 MB / 0.7282 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005586/0.529, allocations: 487.5 kB / 0.7286 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.065e-05/0.5291, allocations: 34.38 kB / 0.7287 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009494/0.5301, allocations: 416.2 kB / 0.729 GB, free: 7.016 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.5304, allocations: 261.5 kB / 0.7293 GB, free: 6.914 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.5306, allocations: 231.2 kB / 0.7295 GB, free: 6.793 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.5318, allocations: 0.9899 MB / 0.7305 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.5318, allocations: 0 / 0.7305 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5318, allocations: 3.094 kB / 0.7305 GB, free: 6.562 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.5318, allocations: 0 / 0.7305 GB, free: 6.562 MB / 0.545 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.002095/0.5339, allocations: 1.317 MB / 0.7318 GB, free: 5.684 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.5339, allocations: 14.16 kB / 0.7318 GB, free: 5.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006855/0.5346, allocations: 184.8 kB / 0.732 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.5361, allocations: 0.8054 MB / 0.7327 GB, free: 5.156 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/0.5362, allocations: 47.09 kB / 0.7328 GB, free: 5.137 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.5362, allocations: 57.66 kB / 0.7328 GB, free: 5.121 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.5374, allocations: 0.8224 MB / 0.7337 GB, free: 4.695 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.5374, allocations: 7.938 kB / 0.7337 GB, free: 4.688 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/0.5375, allocations: 24 kB / 0.7337 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.5375, allocations: 11.28 kB / 0.7337 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008525/0.5383, allocations: 0.5691 MB / 0.7342 GB, free: 4.508 MB / 0.545 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.003616/0.542, allocations: 4.256 MB / 0.7384 GB, free: 1.039 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006759/0.5426, allocations: 456 kB / 0.7388 GB, free: 0.668 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.55e-05/0.5427, allocations: 19.97 kB / 0.7389 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004822/0.5432, allocations: 332.1 kB / 0.7392 GB, free: 388 kB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001773/0.5434, allocations: 39.53 kB / 0.7392 GB, free: 348 kB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.5434, allocations: 4 kB / 0.7392 GB, free: 344 kB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.001329/0.5447, allocations: 0.7088 MB / 0.7399 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.5448, allocations: 114.8 kB / 0.74 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.5461, allocations: 1.149 MB / 0.7411 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/0.5462, allocations: 37.7 kB / 0.7412 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.5465, allocations: 496.5 kB / 0.7417 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.263e-05/0.5466, allocations: 118.3 kB / 0.7418 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.5467, allocations: 12 kB / 0.7418 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5468, allocations: 322 kB / 0.7421 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.5471, allocations: 209 kB / 0.7423 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005697/0.5477, allocations: 0.5187 MB / 0.7428 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.5482, allocations: 311.2 kB / 0.7431 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5482, allocations: 4 kB / 0.7431 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001012/0.5492, allocations: 0.733 MB / 0.7438 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007404/0.5499, allocations: 2.133 MB / 0.7459 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.55, allocations: 4 kB / 0.7459 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.55, allocations: 8 kB / 0.7459 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.5505, allocations: 119.8 kB / 0.746 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.5505, allocations: 12 kB / 0.746 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007617/0.5513, allocations: 91.75 kB / 0.7461 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/0.5513, allocations: 28.52 kB / 0.7461 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-06/0.5513, allocations: 2.031 kB / 0.7461 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008454/0.5522, allocations: 0.5906 MB / 0.7467 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.5522, allocations: 8.656 kB / 0.7467 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.144e-06/0.5522, allocations: 8 kB / 0.7467 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.5526, allocations: 116.4 kB / 0.7468 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5526, allocations: 8 kB / 0.7469 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/0.5533, allocations: 87.75 kB / 0.7469 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.5534, allocations: 27.98 kB / 0.747 GB, free: 8.145 MB / 0.5606 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.0004899/0.5539, allocations: 464.6 kB / 0.7474 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.554, allocations: 102.7 kB / 0.7475 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008323/0.5548, allocations: 0.5347 MB / 0.748 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.5548, allocations: 7.938 kB / 0.748 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5548, allocations: 0 / 0.748 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.5548, allocations: 8 kB / 0.748 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.5563, allocations: 1.162 MB / 0.7492 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.5563, allocations: 11.97 kB / 0.7492 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.5566, allocations: 75.88 kB / 0.7493 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5566, allocations: 4 kB / 0.7493 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.5567, allocations: 11.94 kB / 0.7493 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.5567, allocations: 7.953 kB / 0.7493 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5567, allocations: 0 / 0.7493 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000814/0.5575, allocations: 0.6909 MB / 0.75 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.5578, allocations: 227.8 kB / 0.7502 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.5579, allocations: 11.95 kB / 0.7502 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/0.5585, allocations: 67.77 kB / 0.7503 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.5586, allocations: 31.89 kB / 0.7503 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.5586, allocations: 16 kB / 0.7503 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000924/0.5596, allocations: 0.8159 MB / 0.7511 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5596, allocations: 0 / 0.7511 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009528/0.5605, allocations: 427.4 kB / 0.7515 GB, free: 3.309 MB / 0.5606 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.0003285/0.5609, allocations: 173.5 kB / 0.7517 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.5621, allocations: 0.8968 MB / 0.7525 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5621, allocations: 64 / 0.7525 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.5625, allocations: 235.7 kB / 0.7528 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.5652, allocations: 0.6402 MB / 0.7534 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.5676, allocations: 1.973 MB / 0.7553 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/0.5682, allocations: 1.201 MB / 0.7565 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009906/0.5692, allocations: 444.2 kB / 0.7569 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.5694, allocations: 75.42 kB / 0.757 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5694, allocations: 0 / 0.757 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of Templates: time 0.02619/0.5956, allocations: 18.62 MB / 0.7752 GB, free: 11.23 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: