Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 107.2 kB / 16.41 MB, free: 6.477 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.001697/0.001698, allocations: 183 kB / 17.34 MB, free: 5.754 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7641/0.7641, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 62.42 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1536, allocations: 80.22 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.5892/0.7428, allocations: 161.6 MB / 0.8181 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004685/0.7475, allocations: 3.624 MB / 0.8217 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000385/0.7479, allocations: 11.56 kB / 0.8217 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000601/0.7486, allocations: 155.7 kB / 0.8218 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.75, allocations: 0.5349 MB / 0.8224 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.7513, allocations: 438.7 kB / 0.8228 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002563/0.7538, allocations: 2.538 MB / 0.8253 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.755, allocations: 0.9388 MB / 0.8262 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.7568, allocations: 1.041 MB / 0.8272 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008767/0.7577, allocations: 0.702 MB / 0.8279 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.7578, allocations: 54.72 kB / 0.8279 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.7593, allocations: 0.7451 MB / 0.8287 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.7596, allocations: 309.4 kB / 0.829 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005766/0.7602, allocations: 0.5336 MB / 0.8295 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.7618, allocations: 1.411 MB / 0.8309 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.7618, allocations: 6.531 kB / 0.8309 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7618, allocations: 0 / 0.8309 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.7618, allocations: 0 / 0.8309 GB, free: 1.926 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.002197/0.764, allocations: 1.461 MB / 0.8323 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.7641, allocations: 7.688 kB / 0.8323 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007548/0.7648, allocations: 192 kB / 0.8325 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.7661, allocations: 0.853 MB / 0.8333 GB, free: 84 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.7661, allocations: 42.41 kB / 0.8334 GB, free: 68 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.878e-05/0.7662, allocations: 60.31 kB / 0.8334 GB, free: 48 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.7673, allocations: 0.7886 MB / 0.8342 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.7674, allocations: 6.688 kB / 0.8342 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.312e-05/0.7674, allocations: 21.28 kB / 0.8342 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.7674, allocations: 19.16 kB / 0.8342 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008507/0.7683, allocations: 0.54 MB / 0.8348 GB, free: 15.19 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.00396/0.7723, allocations: 4.582 MB / 0.8392 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/0.773, allocations: 412.4 kB / 0.8396 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003563/0.7734, allocations: 250.8 kB / 0.8399 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003148/0.7737, allocations: 199.5 kB / 0.8401 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004974/0.7742, allocations: 290.7 kB / 0.8403 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/0.7742, allocations: 0 / 0.8403 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.004923/0.7792, allocations: 1.646 MB / 0.8419 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.7792, allocations: 86 kB / 0.842 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.7807, allocations: 1.122 MB / 0.8431 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.7807, allocations: 34.17 kB / 0.8431 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004014/0.7812, allocations: 493.1 kB / 0.8436 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.7813, allocations: 111.9 kB / 0.8437 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.7814, allocations: 118.6 kB / 0.8438 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.7816, allocations: 330.6 kB / 0.8442 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.7819, allocations: 211.1 kB / 0.8444 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006091/0.7826, allocations: 0.5164 MB / 0.8449 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008727/0.7834, allocations: 0.6265 MB / 0.8455 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.7834, allocations: 3.938 kB / 0.8455 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002206/0.7857, allocations: 1.039 MB / 0.8465 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.65e-05/0.7857, allocations: 41.47 kB / 0.8465 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.7857, allocations: 4.875 kB / 0.8465 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.787, allocations: 379.3 kB / 0.8469 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.7872, allocations: 59.16 kB / 0.847 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.7885, allocations: 1.082 MB / 0.848 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/0.7893, allocations: 83.33 kB / 0.8481 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.7894, allocations: 20 kB / 0.8481 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007704/0.7902, allocations: 0.5006 MB / 0.8486 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005169/0.7907, allocations: 498.1 kB / 0.8491 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007121/0.7914, allocations: 0.553 MB / 0.8496 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.906e-06/0.7914, allocations: 7.938 kB / 0.8496 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001439/0.7929, allocations: 0.8301 MB / 0.8504 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.7929, allocations: 33.7 kB / 0.8505 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.7929, allocations: 8 kB / 0.8505 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004917/0.7934, allocations: 217 kB / 0.8507 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.7936, allocations: 67.84 kB / 0.8507 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003496/0.7971, allocations: 3.255 MB / 0.8539 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007812/0.7979, allocations: 72.03 kB / 0.854 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.798, allocations: 20 kB / 0.854 GB, free: 14.32 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002274/0.7982, allocations: 218 kB / 0.8542 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.7983, allocations: 98.78 kB / 0.8543 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.7996, allocations: 0.7102 MB / 0.855 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.7996, allocations: 4 kB / 0.855 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.7996, allocations: 0 / 0.855 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.7997, allocations: 3.984 kB / 0.855 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.8019, allocations: 1.603 MB / 0.8566 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.8019, allocations: 3.938 kB / 0.8566 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.802, allocations: 28.2 kB / 0.8566 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/0.8025, allocations: 240.9 kB / 0.8568 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.8025, allocations: 11.98 kB / 0.8568 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009304/0.8035, allocations: 1.028 MB / 0.8579 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8035, allocations: 4 kB / 0.8579 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.8046, allocations: 0.8297 MB / 0.8587 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.805, allocations: 215.8 kB / 0.8589 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.8051, allocations: 12 kB / 0.8589 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.8055, allocations: 19.97 kB / 0.8589 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.379e-05/0.8056, allocations: 35.89 kB / 0.8589 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.8056, allocations: 12 kB / 0.8589 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009933/0.8066, allocations: 0.7955 MB / 0.8597 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.683e-06/0.8066, allocations: 4 kB / 0.8597 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001291/0.8079, allocations: 427.4 kB / 0.8601 GB, free: 7.844 MB / 0.6231 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004865/0.8084, allocations: 177.6 kB / 0.8603 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002519/0.811, allocations: 1.208 MB / 0.8615 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.811, allocations: 4 kB / 0.8615 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005786/0.8116, allocations: 287.5 kB / 0.8618 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.8135, allocations: 452.6 kB / 0.8622 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.8162, allocations: 1.82 MB / 0.864 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/0.8169, allocations: 1.184 MB / 0.8651 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.817, allocations: 67.36 kB / 0.8652 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of SimCode: time 4.6e-07/0.817, allocations: 0 / 0.8652 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of Templates: time 0.0282/0.8452, allocations: 20.57 MB / 0.8853 GB, free: 14.11 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)