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.0009193/0.0009194, allocations: 91.84 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.001024/0.001024, 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.273/1.273, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7327/0.7327, allocations: 132.3 MB / 423.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002875, allocations: 8.625 kB / 0.5034 GB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3463, allocations: 81.59 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1472/0.4936, allocations: 146.8 MB / 0.7264 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004263/0.4979, allocations: 3.367 MB / 0.7297 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.4982, allocations: 11.94 kB / 0.7297 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.4986, allocations: 111.2 kB / 0.7298 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.4997, allocations: 390.2 kB / 0.7302 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.5007, allocations: 372.7 kB / 0.7305 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002938/0.5037, allocations: 3.011 MB / 0.7335 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002729/0.5064, allocations: 2.156 MB / 0.7356 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.508, allocations: 0.8754 MB / 0.7364 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009459/0.509, allocations: 0.7001 MB / 0.7371 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.5091, allocations: 39.98 kB / 0.7371 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.5103, allocations: 0.5496 MB / 0.7377 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.5106, allocations: 282.9 kB / 0.738 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003792/0.511, allocations: 233.1 kB / 0.7382 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.5122, allocations: 1.041 MB / 0.7392 GB, free: 328 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5122, allocations: 0 / 0.7392 GB, free: 328 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5122, allocations: 0 / 0.7392 GB, free: 328 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.362e-05/0.5123, allocations: 0 / 0.7392 GB, free: 328 kB / 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.002265/0.5145, allocations: 1.338 MB / 0.7405 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.5146, allocations: 11.97 kB / 0.7405 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008026/0.5154, allocations: 182.4 kB / 0.7407 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.5169, allocations: 0.808 MB / 0.7415 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.5169, allocations: 45 kB / 0.7415 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.489e-05/0.517, allocations: 60 kB / 0.7416 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.5183, allocations: 0.8278 MB / 0.7424 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.5183, allocations: 3.938 kB / 0.7424 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.5184, allocations: 20 kB / 0.7424 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.5184, allocations: 15.98 kB / 0.7424 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009581/0.5193, allocations: 0.5735 MB / 0.743 GB, free: 12.25 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.003657/0.523, allocations: 4.251 MB / 0.7471 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006953/0.5237, allocations: 454.1 kB / 0.7476 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004603/0.5242, allocations: 349.3 kB / 0.7479 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002657/0.5245, allocations: 198.2 kB / 0.7481 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005078/0.525, allocations: 335.1 kB / 0.7484 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000192/0.5252, allocations: 39.56 kB / 0.7484 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 3.176e-06/0.5252, allocations: 4.094 kB / 0.7484 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001314/0.5265, allocations: 0.7056 MB / 0.7491 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.5266, allocations: 89.05 kB / 0.7492 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.5278, allocations: 1.147 MB / 0.7503 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.5279, allocations: 37.7 kB / 0.7504 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/0.5283, allocations: 492.4 kB / 0.7508 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-05/0.5284, allocations: 118.4 kB / 0.751 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.5284, allocations: 8 kB / 0.751 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.5285, allocations: 326.1 kB / 0.7513 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.5289, allocations: 213 kB / 0.7515 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005934/0.5295, allocations: 0.5148 MB / 0.752 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.53, allocations: 318.9 kB / 0.7523 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.53, allocations: 8 kB / 0.7523 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001154/0.5312, allocations: 0.724 MB / 0.753 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.5314, allocations: 277.3 kB / 0.7533 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.5314, allocations: 8 kB / 0.7533 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.5314, allocations: 8 kB / 0.7533 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.5319, allocations: 115.8 kB / 0.7534 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.5319, allocations: 15.94 kB / 0.7534 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007271/0.5327, allocations: 91.75 kB / 0.7535 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/0.5327, allocations: 24 kB / 0.7535 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.5327, allocations: 4 kB / 0.7535 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/0.5337, allocations: 0.5828 MB / 0.7541 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5338, allocations: 4 kB / 0.7541 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.5338, allocations: 8 kB / 0.7541 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.5342, allocations: 116.4 kB / 0.7542 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.5342, allocations: 8 kB / 0.7542 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006853/0.5349, allocations: 95.69 kB / 0.7543 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.535, allocations: 20.05 kB / 0.7543 GB, free: 15.99 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 ($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.0004651/0.5355, allocations: 482 kB / 0.7548 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.5356, allocations: 102.8 kB / 0.7549 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009811/0.5366, allocations: 0.5543 MB / 0.7554 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.5366, allocations: 4 kB / 0.7554 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5366, allocations: 4 kB / 0.7554 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5366, allocations: 384 / 0.7554 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.5388, allocations: 1.505 MB / 0.7569 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5388, allocations: 0 / 0.7569 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.5391, allocations: 71.88 kB / 0.757 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.5391, allocations: 7.953 kB / 0.757 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.5391, allocations: 8 kB / 0.757 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.5392, allocations: 8.156 kB / 0.757 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.5392, allocations: 11.98 kB / 0.757 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009132/0.5401, allocations: 0.672 MB / 0.7577 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.5404, allocations: 227.8 kB / 0.7579 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.5405, allocations: 11.95 kB / 0.7579 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006115/0.5411, allocations: 67.77 kB / 0.758 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.5412, allocations: 39.89 kB / 0.758 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.5413, allocations: 12 kB / 0.758 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009975/0.5423, allocations: 0.8081 MB / 0.7588 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5423, allocations: 0 / 0.7588 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001057/0.5433, allocations: 435.4 kB / 0.7592 GB, free: 10.83 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 (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.0003409/0.5437, allocations: 161.7 kB / 0.7594 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.5451, allocations: 0.8923 MB / 0.7602 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5452, allocations: 0 / 0.7602 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.5456, allocations: 246.1 kB / 0.7605 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/0.5485, allocations: 0.6346 MB / 0.7611 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.5511, allocations: 1.976 MB / 0.763 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007116/0.5519, allocations: 1.186 MB / 0.7642 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001151/0.553, allocations: 440 kB / 0.7646 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.5532, allocations: 71.42 kB / 0.7647 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.5532, allocations: 0 / 0.7647 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of Templates: time 0.0301/0.5833, allocations: 18.63 MB / 0.7829 GB, free: 2.805 MB / 0.6075 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)