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.001357/0.001357, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001416/0.001416, allocations: 186.2 kB / 17.34 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.312/1.312, 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.7704/0.7704, allocations: 132.2 MB / 423.4 MB, free: 6.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 66.89 kB / 0.582 GB, free: 23.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1552, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5962/0.7515, allocations: 161.6 MB / 0.8182 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003275/0.7548, allocations: 1.747 MB / 0.8199 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004788/0.7553, allocations: 19.19 kB / 0.8199 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006938/0.7561, allocations: 170.6 kB / 0.8201 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.7577, allocations: 0.5154 MB / 0.8206 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.759, allocations: 398.6 kB / 0.8209 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0029/0.7619, allocations: 2.518 MB / 0.8234 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.7635, allocations: 0.9317 MB / 0.8243 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.7657, allocations: 1.042 MB / 0.8253 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.7672, allocations: 0.7096 MB / 0.826 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002888/0.7675, allocations: 55.03 kB / 0.8261 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.7696, allocations: 0.7359 MB / 0.8268 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004824/0.7701, allocations: 308.6 kB / 0.8271 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000823/0.771, allocations: 0.5394 MB / 0.8276 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.7728, allocations: 1.41 MB / 0.829 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.7728, allocations: 4 kB / 0.829 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7728, allocations: 0 / 0.829 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.7728, allocations: 0 / 0.829 GB, free: 3.453 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.002215/0.775, allocations: 1.441 MB / 0.8304 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.7751, allocations: 14.41 kB / 0.8304 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007578/0.7759, allocations: 189.4 kB / 0.8306 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.7771, allocations: 0.8499 MB / 0.8314 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.7771, allocations: 48.75 kB / 0.8315 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-05/0.7772, allocations: 56.16 kB / 0.8315 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.7783, allocations: 0.7897 MB / 0.8323 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.7783, allocations: 6.438 kB / 0.8323 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.115e-05/0.7784, allocations: 21 kB / 0.8323 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.7784, allocations: 15.16 kB / 0.8323 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008496/0.7793, allocations: 0.5334 MB / 0.8329 GB, free: 0.7422 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.003849/0.7831, allocations: 4.591 MB / 0.8373 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/0.7838, allocations: 415.8 kB / 0.8377 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/0.7842, allocations: 252.5 kB / 0.838 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003632/0.7846, allocations: 191.6 kB / 0.8382 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005567/0.7852, allocations: 283.6 kB / 0.8384 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/0.7852, allocations: 0 / 0.8384 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001519/0.7867, allocations: 0.6448 MB / 0.8391 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/0.7868, allocations: 82.36 kB / 0.8391 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.7885, allocations: 1.116 MB / 0.8402 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.7886, allocations: 35.05 kB / 0.8403 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005464/0.7891, allocations: 494.6 kB / 0.8407 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.7893, allocations: 109.5 kB / 0.8408 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.7895, allocations: 114.7 kB / 0.841 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000221/0.7897, allocations: 329.5 kB / 0.8413 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004004/0.7901, allocations: 216 kB / 0.8415 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006475/0.7908, allocations: 0.5211 MB / 0.842 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/0.7917, allocations: 0.6287 MB / 0.8426 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.7917, allocations: 6.969 kB / 0.8426 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00133/0.7931, allocations: 0.7276 MB / 0.8433 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.7931, allocations: 35.8 kB / 0.8433 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.7931, allocations: 5.031 kB / 0.8433 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.7932, allocations: 7.812 kB / 0.8434 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.7936, allocations: 115.9 kB / 0.8435 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.7937, allocations: 7.125 kB / 0.8435 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007333/0.7944, allocations: 75.8 kB / 0.8435 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.501e-05/0.7945, allocations: 27.81 kB / 0.8436 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006879/0.7952, allocations: 0.5025 MB / 0.8441 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005421/0.7957, allocations: 497.6 kB / 0.8445 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000744/0.7965, allocations: 0.5464 MB / 0.8451 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.019e-06/0.7965, allocations: 2.688 kB / 0.8451 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001101/0.7976, allocations: 0.6478 MB / 0.8457 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.7976, allocations: 32.55 kB / 0.8457 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.7977, allocations: 9.844 kB / 0.8457 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.7977, allocations: 9.75 kB / 0.8458 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.798, allocations: 107.2 kB / 0.8459 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.7981, allocations: 8 kB / 0.8459 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/0.7988, allocations: 57.41 kB / 0.8459 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.7988, allocations: 26.16 kB / 0.8459 GB, free: 6.508 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.0002307/0.7991, allocations: 227.1 kB / 0.8462 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.7993, allocations: 102.6 kB / 0.8463 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009794/0.8002, allocations: 496.8 kB / 0.8467 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.8003, allocations: 4 kB / 0.8467 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.8003, allocations: 3.984 kB / 0.8467 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.8003, allocations: 7.984 kB / 0.8467 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.8024, allocations: 1.379 MB / 0.8481 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.8024, allocations: 7.938 kB / 0.8481 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.8027, allocations: 59.89 kB / 0.8482 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.8027, allocations: 4 kB / 0.8482 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.8027, allocations: 11.94 kB / 0.8482 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.8028, allocations: 4 kB / 0.8482 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.8028, allocations: 7.938 kB / 0.8482 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008417/0.8036, allocations: 0.5979 MB / 0.8488 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/0.804, allocations: 211.8 kB / 0.849 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.8041, allocations: 12 kB / 0.849 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.8046, allocations: 23.97 kB / 0.849 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.403e-05/0.8047, allocations: 31.91 kB / 0.849 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.8047, allocations: 15.98 kB / 0.8491 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001092/0.8058, allocations: 0.7875 MB / 0.8498 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8058, allocations: 0 / 0.8498 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001322/0.8072, allocations: 407.4 kB / 0.8502 GB, free: 2.262 MB / 0.6075 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.0005012/0.8077, allocations: 189.1 kB / 0.8504 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.8091, allocations: 0.8153 MB / 0.8512 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.8091, allocations: 0 / 0.8512 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.8095, allocations: 197 kB / 0.8514 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.8115, allocations: 456 kB / 0.8518 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.8146, allocations: 1.785 MB / 0.8536 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007657/0.8154, allocations: 1.173 MB / 0.8547 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.8156, allocations: 75.42 kB / 0.8548 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of SimCode: time 9.02e-07/0.8157, allocations: 0 / 0.8548 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.02456/0.8402, allocations: 15.96 MB / 0.8704 GB, free: 13.68 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)