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-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_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.0008125/0.0008125, allocations: 98.45 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.0008536/0.0008536, allocations: 177.3 kB / 15.94 MB, free: 228 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.16/1.16, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8294/0.8294, allocations: 135.2 MB / 426.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000269/0.0002691, allocations: 8.625 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 82.31 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.3588/0.495, allocations: 135.7 MB / 0.7197 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004466/0.4995, allocations: 3.111 MB / 0.7228 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004188/0.5, allocations: 8.219 kB / 0.7228 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006678/0.5007, allocations: 177.8 kB / 0.7229 GB, free: 9.691 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.5023, allocations: 0.5001 MB / 0.7234 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.5038, allocations: 448.2 kB / 0.7238 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002104/0.5059, allocations: 1.52 MB / 0.7253 GB, free: 8.422 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002786/0.5087, allocations: 2.189 MB / 0.7275 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.5101, allocations: 0.7022 MB / 0.7282 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005314/0.5106, allocations: 491.1 kB / 0.7286 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.088e-05/0.5107, allocations: 34.38 kB / 0.7287 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.5118, allocations: 416.9 kB / 0.7291 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.5121, allocations: 252.7 kB / 0.7293 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.5124, allocations: 230.1 kB / 0.7295 GB, free: 6.773 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.5135, allocations: 0.9917 MB / 0.7305 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.5135, allocations: 4 kB / 0.7305 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.166e-06/0.5135, allocations: 0 / 0.7305 GB, free: 6.539 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.5135, allocations: 3.938 kB / 0.7305 GB, free: 6.535 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.002015/0.5155, allocations: 1.315 MB / 0.7318 GB, free: 5.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.5156, allocations: 8.312 kB / 0.7318 GB, free: 5.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006932/0.5163, allocations: 192.6 kB / 0.732 GB, free: 5.586 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.5177, allocations: 0.8028 MB / 0.7327 GB, free: 5.133 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.5177, allocations: 48.08 kB / 0.7328 GB, free: 5.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.141e-05/0.5178, allocations: 56.72 kB / 0.7328 GB, free: 5.098 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.5189, allocations: 0.8233 MB / 0.7337 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.519, allocations: 6.625 kB / 0.7337 GB, free: 4.668 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-05/0.519, allocations: 21.31 kB / 0.7337 GB, free: 4.652 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.519, allocations: 13.34 kB / 0.7337 GB, free: 4.652 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007799/0.5198, allocations: 0.5738 MB / 0.7343 GB, free: 4.48 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.003577/0.5234, allocations: 4.263 MB / 0.7384 GB, free: 1.012 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.5241, allocations: 459.5 kB / 0.7389 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.266e-05/0.5242, allocations: 18.94 kB / 0.7389 GB, free: 0.625 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004626/0.5246, allocations: 329.5 kB / 0.7392 GB, free: 360 kB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001736/0.5248, allocations: 35.59 kB / 0.7392 GB, free: 324 kB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.754e-06/0.5248, allocations: 0 / 0.7392 GB, free: 324 kB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.00136/0.5262, allocations: 0.7211 MB / 0.7399 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.5262, allocations: 114.8 kB / 0.74 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.5275, allocations: 1.15 MB / 0.7412 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.5275, allocations: 41.7 kB / 0.7412 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.5279, allocations: 484.5 kB / 0.7417 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.631e-05/0.528, allocations: 122.2 kB / 0.7418 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.528, allocations: 12 kB / 0.7418 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.661e-05/0.5281, allocations: 322 kB / 0.7421 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.5284, allocations: 205 kB / 0.7423 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005374/0.529, allocations: 0.5226 MB / 0.7428 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.5294, allocations: 315.2 kB / 0.7431 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5294, allocations: 0 / 0.7431 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001029/0.5305, allocations: 0.7292 MB / 0.7438 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007282/0.5312, allocations: 2.133 MB / 0.7459 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.567e-06/0.5312, allocations: 4 kB / 0.7459 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.5312, allocations: 8 kB / 0.7459 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.5317, allocations: 119.8 kB / 0.746 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.5318, allocations: 8 kB / 0.746 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007594/0.5325, allocations: 87.75 kB / 0.7461 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.5326, allocations: 27.98 kB / 0.7461 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.944e-06/0.5326, allocations: 11.95 kB / 0.7461 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008491/0.5335, allocations: 0.5879 MB / 0.7467 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5335, allocations: 4 kB / 0.7467 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.5335, allocations: 12 kB / 0.7467 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.5339, allocations: 116.4 kB / 0.7468 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.5339, allocations: 13.19 kB / 0.7469 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006788/0.5346, allocations: 87.75 kB / 0.7469 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.5347, allocations: 27.98 kB / 0.747 GB, free: 8.172 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.0005011/0.5352, allocations: 458.4 kB / 0.7474 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.5353, allocations: 110.7 kB / 0.7475 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008177/0.5361, allocations: 0.5344 MB / 0.748 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.5361, allocations: 4 kB / 0.748 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5361, allocations: 0 / 0.748 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.5361, allocations: 3.984 kB / 0.748 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.5375, allocations: 1.166 MB / 0.7492 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5376, allocations: 7.938 kB / 0.7492 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/0.5379, allocations: 80.09 kB / 0.7493 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5379, allocations: 4 kB / 0.7493 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.5379, allocations: 8 kB / 0.7493 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.5379, allocations: 4 kB / 0.7493 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.538, allocations: 7.891 kB / 0.7493 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008181/0.5388, allocations: 0.6759 MB / 0.7499 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.5391, allocations: 231.8 kB / 0.7502 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.5392, allocations: 15.94 kB / 0.7502 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005839/0.5398, allocations: 75.77 kB / 0.7503 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.5399, allocations: 31.91 kB / 0.7503 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.5399, allocations: 19.98 kB / 0.7503 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008987/0.5408, allocations: 0.812 MB / 0.7511 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5409, allocations: 0 / 0.7511 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009722/0.5418, allocations: 423.4 kB / 0.7515 GB, free: 3.336 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.0003765/0.5422, allocations: 175.1 kB / 0.7517 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.5435, allocations: 0.9057 MB / 0.7526 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5435, allocations: 0 / 0.7526 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003639/0.5439, allocations: 229.4 kB / 0.7528 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/0.5466, allocations: 0.6349 MB / 0.7534 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.5491, allocations: 1.977 MB / 0.7553 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/0.5498, allocations: 1.201 MB / 0.7565 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00106/0.5508, allocations: 447.9 kB / 0.7569 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.551, allocations: 71.44 kB / 0.757 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.551, allocations: 0 / 0.757 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of Templates: time 0.02616/0.5772, allocations: 18.61 MB / 0.7752 GB, free: 11.25 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: