Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 114.2 kB / 16.42 MB, free: 6.441 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.001727/0.001727, allocations: 189.6 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7739/0.7739, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 62.88 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1251, allocations: 80.22 MB / 0.6604 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4458/0.5709, allocations: 161.6 MB / 0.8182 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002949/0.5739, allocations: 1.762 MB / 0.8199 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003988/0.5743, allocations: 11.59 kB / 0.8199 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005879/0.5749, allocations: 165.7 kB / 0.8201 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.5763, allocations: 0.5472 MB / 0.8206 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.5774, allocations: 398.8 kB / 0.821 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002768/0.5802, allocations: 2.529 MB / 0.8235 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.5816, allocations: 0.9323 MB / 0.8244 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.5832, allocations: 1.03 MB / 0.8254 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.5843, allocations: 0.7181 MB / 0.8261 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.5845, allocations: 55.31 kB / 0.8261 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.586, allocations: 0.743 MB / 0.8268 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.5863, allocations: 305 kB / 0.8271 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006996/0.587, allocations: 0.5427 MB / 0.8277 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.5885, allocations: 1.41 MB / 0.829 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.5885, allocations: 0 / 0.829 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5885, allocations: 0 / 0.829 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.5885, allocations: 0 / 0.829 GB, free: 3.535 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002074/0.5906, allocations: 1.451 MB / 0.8305 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.5906, allocations: 7.406 kB / 0.8305 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000729/0.5914, allocations: 184.7 kB / 0.8306 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.5927, allocations: 0.8498 MB / 0.8315 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.5927, allocations: 42.19 kB / 0.8315 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/0.5928, allocations: 63.06 kB / 0.8316 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.5939, allocations: 0.7928 MB / 0.8324 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5939, allocations: 2.281 kB / 0.8324 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.873e-05/0.594, allocations: 24.67 kB / 0.8324 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.594, allocations: 15.75 kB / 0.8324 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.5948, allocations: 0.5318 MB / 0.8329 GB, free: 0.8203 MB / 0.5919 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.003687/0.5985, allocations: 4.597 MB / 0.8374 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006541/0.5992, allocations: 411.1 kB / 0.8378 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.5996, allocations: 249.7 kB / 0.838 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.5998, allocations: 195.4 kB / 0.8382 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004536/0.6003, allocations: 287.4 kB / 0.8385 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.6003, allocations: 0 / 0.8385 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.00123/0.6016, allocations: 0.6409 MB / 0.8391 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.6016, allocations: 79.98 kB / 0.8392 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.6028, allocations: 1.118 MB / 0.8403 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.6028, allocations: 34.8 kB / 0.8403 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.6032, allocations: 494.3 kB / 0.8408 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.01e-05/0.6033, allocations: 109.7 kB / 0.8409 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.6034, allocations: 114.4 kB / 0.841 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.6035, allocations: 330.8 kB / 0.8413 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.6039, allocations: 218.5 kB / 0.8415 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.6045, allocations: 0.5168 MB / 0.842 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008095/0.6053, allocations: 0.629 MB / 0.8426 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6053, allocations: 2.125 kB / 0.8427 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001065/0.6064, allocations: 0.7295 MB / 0.8434 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.6064, allocations: 33.2 kB / 0.8434 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.6064, allocations: 5.531 kB / 0.8434 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.6064, allocations: 14.25 kB / 0.8434 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.6068, allocations: 109 kB / 0.8435 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.6069, allocations: 16.12 kB / 0.8435 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005787/0.6074, allocations: 69.58 kB / 0.8436 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.6075, allocations: 24.62 kB / 0.8436 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006064/0.6081, allocations: 0.5024 MB / 0.8441 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005012/0.6086, allocations: 487.7 kB / 0.8446 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006874/0.6093, allocations: 0.5541 MB / 0.8451 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.6093, allocations: 0 / 0.8451 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009253/0.6103, allocations: 0.6528 MB / 0.8458 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.6103, allocations: 33.39 kB / 0.8458 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6103, allocations: 5.25 kB / 0.8458 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.6103, allocations: 10.86 kB / 0.8458 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.6107, allocations: 108.7 kB / 0.8459 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.6107, allocations: 13.69 kB / 0.8459 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005807/0.6113, allocations: 66.25 kB / 0.846 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.6113, allocations: 21.94 kB / 0.846 GB, free: 6.582 MB / 0.6075 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.6115, allocations: 224.4 kB / 0.8462 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.6116, allocations: 102.6 kB / 0.8463 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008365/0.6124, allocations: 493.4 kB / 0.8468 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.6125, allocations: 3.984 kB / 0.8468 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.6125, allocations: 0 / 0.8468 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/0.6128, allocations: 209.1 kB / 0.847 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.6129, allocations: 11.94 kB / 0.847 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.6133, allocations: 19.97 kB / 0.847 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/0.6134, allocations: 27.97 kB / 0.847 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009044/0.6143, allocations: 0.5623 MB / 0.8476 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008085/0.6151, allocations: 0.7087 MB / 0.8483 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002989/0.6154, allocations: 172.3 kB / 0.8485 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009136/0.6163, allocations: 0.7914 MB / 0.8492 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of Backend: time 8.52e-07/0.6163, allocations: 0 / 0.8492 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001996/0.6183, allocations: 0.892 MB / 0.8501 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of SimCode: time 0.003618/0.622, allocations: 2.459 MB / 0.8525 GB, free: 116 kB / 0.6075 GB Notification: Performance of Templates: time 0.02963/0.6516, allocations: 18.9 MB / 0.871 GB, free: 13.42 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)