Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0013/0.0013, allocations: 116.3 kB / 16.42 MB, free: 6.02 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.00173/0.00173, allocations: 185.2 kB / 17.35 MB, free: 5.633 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7646/0.7646, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 62.56 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1245, allocations: 80.21 MB / 0.6604 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4502/0.5747, allocations: 161.6 MB / 0.8182 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004791/0.5796, allocations: 3.615 MB / 0.8217 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/0.58, allocations: 15.31 kB / 0.8217 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006086/0.5807, allocations: 162.5 kB / 0.8219 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.5822, allocations: 0.5573 MB / 0.8224 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.5834, allocations: 438.5 kB / 0.8228 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002555/0.5859, allocations: 2.544 MB / 0.8253 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.5872, allocations: 0.9384 MB / 0.8262 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.5889, allocations: 1.055 MB / 0.8273 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.59, allocations: 0.7038 MB / 0.828 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.5902, allocations: 55.16 kB / 0.828 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.5917, allocations: 0.739 MB / 0.8287 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004167/0.5921, allocations: 313 kB / 0.829 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009051/0.593, allocations: 0.5433 MB / 0.8296 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.5948, allocations: 1.406 MB / 0.8309 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5948, allocations: 3.984 kB / 0.8309 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5948, allocations: 0 / 0.8309 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.865e-05/0.5949, allocations: 3.938 kB / 0.8309 GB, free: 1.875 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002611/0.5975, allocations: 1.447 MB / 0.8324 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.5976, allocations: 11.8 kB / 0.8324 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000853/0.5984, allocations: 192 kB / 0.8325 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.5999, allocations: 0.8491 MB / 0.8334 GB, free: 44 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/0.6, allocations: 46.16 kB / 0.8334 GB, free: 24 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.372e-05/0.6001, allocations: 56.88 kB / 0.8335 GB, free: 8 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.6013, allocations: 0.7912 MB / 0.8342 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.6013, allocations: 3.938 kB / 0.8343 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.6014, allocations: 23.62 kB / 0.8343 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.6014, allocations: 16.09 kB / 0.8343 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009005/0.6023, allocations: 0.5286 MB / 0.8348 GB, free: 15.16 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.004128/0.6065, allocations: 4.596 MB / 0.8393 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/0.6071, allocations: 413.8 kB / 0.8397 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.6075, allocations: 252 kB / 0.8399 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002848/0.6078, allocations: 195.3 kB / 0.8401 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004843/0.6083, allocations: 294.3 kB / 0.8404 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 1.913e-06/0.6083, allocations: 0 / 0.8404 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.003778/0.6121, allocations: 1.309 MB / 0.8417 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.6122, allocations: 87.31 kB / 0.8418 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.6135, allocations: 1.122 MB / 0.8429 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/0.6136, allocations: 34.98 kB / 0.8429 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/0.614, allocations: 494.2 kB / 0.8434 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.472e-05/0.6141, allocations: 108.9 kB / 0.8435 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.6142, allocations: 114.7 kB / 0.8436 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.6144, allocations: 327.2 kB / 0.8439 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.6147, allocations: 210.2 kB / 0.8441 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/0.6153, allocations: 0.5289 MB / 0.8446 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008388/0.6162, allocations: 0.6252 MB / 0.8452 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.6162, allocations: 6.531 kB / 0.8452 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002213/0.6184, allocations: 1.04 MB / 0.8462 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.6185, allocations: 33.52 kB / 0.8463 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.6185, allocations: 8.719 kB / 0.8463 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/0.6198, allocations: 356.7 kB / 0.8466 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.6201, allocations: 64.62 kB / 0.8467 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009609/0.621, allocations: 1.011 MB / 0.8477 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006929/0.6217, allocations: 76.95 kB / 0.8477 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.6218, allocations: 24.47 kB / 0.8478 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006843/0.6225, allocations: 0.498 MB / 0.8482 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005503/0.6231, allocations: 0.4893 MB / 0.8487 GB, free: 4 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007558/0.6238, allocations: 0.5528 MB / 0.8493 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.6238, allocations: 0 / 0.8493 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001577/0.6254, allocations: 0.8222 MB / 0.8501 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.6255, allocations: 41.69 kB / 0.8501 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.6255, allocations: 4 kB / 0.8501 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005034/0.626, allocations: 205.2 kB / 0.8503 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.6262, allocations: 63.84 kB / 0.8504 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003777/0.63, allocations: 3.337 MB / 0.8536 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007108/0.6307, allocations: 76.03 kB / 0.8537 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.6308, allocations: 20 kB / 0.8537 GB, free: 14.62 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.0001899/0.631, allocations: 217.9 kB / 0.8539 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.6312, allocations: 98.78 kB / 0.854 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.6325, allocations: 0.714 MB / 0.8547 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.6325, allocations: 7.984 kB / 0.8547 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6325, allocations: 0 / 0.8547 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/0.6329, allocations: 207.9 kB / 0.8549 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.633, allocations: 15.94 kB / 0.8549 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.6334, allocations: 23.91 kB / 0.855 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.6336, allocations: 47.86 kB / 0.855 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001422/0.635, allocations: 0.7839 MB / 0.8558 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001254/0.6363, allocations: 0.9289 MB / 0.8567 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000347/0.6366, allocations: 184.3 kB / 0.8569 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001108/0.6377, allocations: 0.7877 MB / 0.8576 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of Backend: time 7.02e-07/0.6377, allocations: 0 / 0.8576 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002744/0.6405, allocations: 1.15 MB / 0.8587 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of SimCode: time 0.00406/0.6446, allocations: 2.645 MB / 0.8613 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of Templates: time 0.03188/0.6765, allocations: 20.61 MB / 0.8815 GB, free: 2.273 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)