Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009845/0.0009847, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.0009675/0.0009675, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.197/1.197, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7232/0.7232, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 70.73 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.119, allocations: 80.93 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4061/0.5251, allocations: 161.6 MB / 0.8231 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004026/0.5292, allocations: 3.623 MB / 0.8267 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.5294, allocations: 12 kB / 0.8267 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004565/0.5298, allocations: 164.7 kB / 0.8269 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.5309, allocations: 0.5537 MB / 0.8274 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009154/0.5318, allocations: 439.7 kB / 0.8278 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002135/0.534, allocations: 2.544 MB / 0.8303 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008811/0.5349, allocations: 0.9364 MB / 0.8312 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.5361, allocations: 1.055 MB / 0.8322 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006572/0.5367, allocations: 0.7028 MB / 0.8329 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.871e-05/0.5368, allocations: 55.41 kB / 0.833 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.5379, allocations: 0.7411 MB / 0.8337 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.5382, allocations: 315.3 kB / 0.834 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004708/0.5387, allocations: 0.5353 MB / 0.8345 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.5399, allocations: 1.412 MB / 0.8359 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5399, allocations: 0 / 0.8359 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5399, allocations: 0 / 0.8359 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.5399, allocations: 4 kB / 0.8359 GB, free: 12.17 MB / 0.6075 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.001928/0.5418, allocations: 1.448 MB / 0.8373 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.5419, allocations: 12.45 kB / 0.8373 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006954/0.5426, allocations: 200 kB / 0.8375 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.5438, allocations: 0.8485 MB / 0.8384 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.5439, allocations: 42.09 kB / 0.8384 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.5439, allocations: 58.81 kB / 0.8385 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.545, allocations: 0.7888 MB / 0.8392 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.545, allocations: 6.969 kB / 0.8392 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.545, allocations: 20.81 kB / 0.8392 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.545, allocations: 16.59 kB / 0.8393 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007916/0.5458, allocations: 0.5324 MB / 0.8398 GB, free: 9.445 MB / 0.6075 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.003457/0.5493, allocations: 4.589 MB / 0.8443 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.5499, allocations: 413 kB / 0.8447 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.5503, allocations: 244 kB / 0.8449 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/0.5505, allocations: 195.6 kB / 0.8451 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004377/0.551, allocations: 300.7 kB / 0.8454 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.551, allocations: 0 / 0.8454 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.00339/0.5544, allocations: 1.317 MB / 0.8467 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.5544, allocations: 80.02 kB / 0.8467 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.5555, allocations: 1.124 MB / 0.8478 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.5556, allocations: 40.39 kB / 0.8479 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.5559, allocations: 492.5 kB / 0.8483 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.322e-05/0.556, allocations: 105.7 kB / 0.8484 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.5561, allocations: 117 kB / 0.8485 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.5562, allocations: 323.2 kB / 0.8489 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.5566, allocations: 212.1 kB / 0.8491 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/0.5571, allocations: 0.5184 MB / 0.8496 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007487/0.5579, allocations: 0.619 MB / 0.8502 GB, free: 1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.5579, allocations: 6.531 kB / 0.8502 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002032/0.5599, allocations: 1.043 MB / 0.8512 GB, free: 4 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.56, allocations: 41.62 kB / 0.8512 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.56, allocations: 8 kB / 0.8512 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.5613, allocations: 361 kB / 0.8516 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.5615, allocations: 63.91 kB / 0.8516 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008946/0.5624, allocations: 1.005 MB / 0.8526 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.563, allocations: 71.48 kB / 0.8527 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.563, allocations: 28.06 kB / 0.8527 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005958/0.5636, allocations: 0.4967 MB / 0.8532 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005102/0.5641, allocations: 493.9 kB / 0.8537 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000678/0.5648, allocations: 0.5569 MB / 0.8542 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/0.5648, allocations: 4 kB / 0.8542 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001334/0.5662, allocations: 0.8259 MB / 0.855 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.5662, allocations: 33.7 kB / 0.8551 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.5662, allocations: 8 kB / 0.8551 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004469/0.5667, allocations: 215.3 kB / 0.8553 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.5669, allocations: 59.91 kB / 0.8553 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/0.5702, allocations: 3.345 MB / 0.8586 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/0.5707, allocations: 68.03 kB / 0.8587 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.5708, allocations: 24 kB / 0.8587 GB, free: 7.887 MB / 0.6231 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.5709, allocations: 216.3 kB / 0.8589 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.571, allocations: 102.8 kB / 0.859 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.5721, allocations: 0.7063 MB / 0.8597 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5722, allocations: 3.984 kB / 0.8597 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5722, allocations: 0 / 0.8597 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/0.5725, allocations: 215.8 kB / 0.8599 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.5726, allocations: 11.94 kB / 0.8599 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.5729, allocations: 23.97 kB / 0.8599 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.573, allocations: 43.88 kB / 0.86 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001271/0.5743, allocations: 0.787 MB / 0.8607 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001064/0.5754, allocations: 0.9211 MB / 0.8616 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002906/0.5757, allocations: 179.8 kB / 0.8618 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008364/0.5765, allocations: 0.7916 MB / 0.8626 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of Backend: time 4.31e-07/0.5765, allocations: 0 / 0.8626 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002218/0.5788, allocations: 1.15 MB / 0.8637 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of SimCode: time 0.00332/0.5821, allocations: 2.668 MB / 0.8663 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of Templates: time 0.02778/0.6099, allocations: 20.63 MB / 0.8865 GB, free: 11.47 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)