Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 181.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7621/0.7621, allocations: 133.3 MB / 150.1 MB, free: 11.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 222.9 MB / 404.7 MB, free: 6.066 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 100.2 kB / 485.9 MB, free: 7.238 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 55.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1856, allocations: 80.43 MB / 0.6421 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4375/0.6232, allocations: 159.4 MB / 0.7978 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003038/0.6263, allocations: 1.775 MB / 0.7995 GB, free: 104 kB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/0.6266, allocations: 15.88 kB / 0.7995 GB, free: 88 kB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.6272, allocations: 135.2 kB / 0.7996 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.6284, allocations: 0.4989 MB / 0.8001 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.6295, allocations: 335.6 kB / 0.8004 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003322/0.6328, allocations: 3.5 MB / 0.8039 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009554/0.6338, allocations: 0.7613 MB / 0.8046 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.6354, allocations: 0.922 MB / 0.8055 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007861/0.6362, allocations: 0.7272 MB / 0.8062 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 8.552e-05/0.6363, allocations: 36 kB / 0.8063 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.6377, allocations: 0.799 MB / 0.807 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.638, allocations: 294.8 kB / 0.8073 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005785/0.6386, allocations: 0.5128 MB / 0.8078 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.64, allocations: 1.382 MB / 0.8092 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.64, allocations: 4 kB / 0.8092 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.82e-07/0.64, allocations: 0 / 0.8092 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.64, allocations: 0 / 0.8092 GB, free: 6.168 MB / 0.5417 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.002194/0.6422, allocations: 1.447 MB / 0.8106 GB, free: 4.66 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.6423, allocations: 12.03 kB / 0.8106 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006928/0.643, allocations: 182.4 kB / 0.8108 GB, free: 4.469 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.6442, allocations: 0.8058 MB / 0.8116 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.6443, allocations: 45 kB / 0.8116 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-05/0.6444, allocations: 60 kB / 0.8117 GB, free: 3.504 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.6455, allocations: 0.7927 MB / 0.8124 GB, free: 2.637 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.6455, allocations: 3.938 kB / 0.8124 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.898e-05/0.6456, allocations: 24 kB / 0.8125 GB, free: 2.609 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.6456, allocations: 12 kB / 0.8125 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008907/0.6465, allocations: 0.5344 MB / 0.813 GB, free: 2.059 MB / 0.5417 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.003801/0.6503, allocations: 4.595 MB / 0.8175 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006801/0.651, allocations: 410.2 kB / 0.8179 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/0.6514, allocations: 254.2 kB / 0.8181 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002837/0.6517, allocations: 198.2 kB / 0.8183 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004895/0.6522, allocations: 285.6 kB / 0.8186 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/0.6522, allocations: 4 kB / 0.8186 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31): time 0.001267/0.6535, allocations: 0.6317 MB / 0.8192 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.6535, allocations: 81.11 kB / 0.8193 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.6547, allocations: 1.118 MB / 0.8204 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.6548, allocations: 41.7 kB / 0.8204 GB, free: 9.973 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.6552, allocations: 484.1 kB / 0.8209 GB, free: 9.492 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.924e-05/0.6552, allocations: 114.5 kB / 0.821 GB, free: 9.379 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.6554, allocations: 117.9 kB / 0.8211 GB, free: 9.258 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6555, allocations: 325.9 kB / 0.8214 GB, free: 8.934 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.6559, allocations: 210.4 kB / 0.8216 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005815/0.6565, allocations: 0.5252 MB / 0.8221 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008349/0.6574, allocations: 0.627 MB / 0.8227 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6574, allocations: 0 / 0.8227 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001119/0.6585, allocations: 0.7206 MB / 0.8234 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.6585, allocations: 33.77 kB / 0.8235 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6586, allocations: 8 kB / 0.8235 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.6586, allocations: 8 kB / 0.8235 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.659, allocations: 115.7 kB / 0.8236 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.659, allocations: 8 kB / 0.8236 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006139/0.6596, allocations: 103.5 kB / 0.8237 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.6597, allocations: 27.98 kB / 0.8237 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006261/0.6603, allocations: 0.4966 MB / 0.8242 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005219/0.6609, allocations: 497.8 kB / 0.8247 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007174/0.6616, allocations: 0.5643 MB / 0.8252 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/0.6616, allocations: 0.8594 kB / 0.8252 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009752/0.6626, allocations: 0.6384 MB / 0.8259 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.6626, allocations: 33.7 kB / 0.8259 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.6626, allocations: 8 kB / 0.8259 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.6627, allocations: 8 kB / 0.8259 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.663, allocations: 103.8 kB / 0.826 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.663, allocations: 12.39 kB / 0.826 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005958/0.6636, allocations: 88.02 kB / 0.8261 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.6637, allocations: 20 kB / 0.8261 GB, free: 3.625 MB / 0.5573 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.0001507/0.6638, allocations: 228 kB / 0.8263 GB, free: 3.395 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.664, allocations: 94.78 kB / 0.8264 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008594/0.6648, allocations: 493.1 kB / 0.8269 GB, free: 2.816 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.6649, allocations: 8 kB / 0.8269 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6649, allocations: 0 / 0.8269 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.6649, allocations: 8.547 kB / 0.8269 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.6668, allocations: 1.383 MB / 0.8283 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6668, allocations: 0 / 0.8283 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.6671, allocations: 67.89 kB / 0.8283 GB, free: 1.273 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.6671, allocations: 4.875 kB / 0.8283 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.6671, allocations: 8 kB / 0.8283 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.6671, allocations: 4 kB / 0.8283 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6672, allocations: 3.938 kB / 0.8283 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.6687, allocations: 1.545 MB / 0.8298 GB, free: 15.63 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.669, allocations: 219.8 kB / 0.8301 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-05/0.6691, allocations: 8 kB / 0.8301 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/0.6695, allocations: 47.95 kB / 0.8301 GB, free: 15.34 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/0.6696, allocations: 27.91 kB / 0.8301 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.6697, allocations: 15.98 kB / 0.8302 GB, free: 15.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009007/0.6706, allocations: 0.7875 MB / 0.8309 GB, free: 14.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6706, allocations: 0 / 0.8309 GB, free: 14.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001218/0.6718, allocations: 419.4 kB / 0.8313 GB, free: 14.09 MB / 0.573 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004214/0.6722, allocations: 178.8 kB / 0.8315 GB, free: 13.91 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.6735, allocations: 0.8037 MB / 0.8323 GB, free: 13.09 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6735, allocations: 0 / 0.8323 GB, free: 13.09 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.6739, allocations: 207.9 kB / 0.8325 GB, free: 12.89 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.6759, allocations: 452.5 kB / 0.8329 GB, free: 12.45 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.6787, allocations: 2.275 MB / 0.8351 GB, free: 10.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/0.6794, allocations: 1.188 MB / 0.8363 GB, free: 8.879 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001038/0.6804, allocations: 423.6 kB / 0.8367 GB, free: 8.461 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.6806, allocations: 75.42 kB / 0.8368 GB, free: 8.387 MB / 0.573 GB Notification: Performance of SimCode: time 6.11e-07/0.6806, allocations: 0 / 0.8368 GB, free: 8.387 MB / 0.573 GB Notification: Performance of Templates: time 0.02567/0.7063, allocations: 16.91 MB / 0.8533 GB, free: 7.66 MB / 0.5886 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)