Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 111.6 kB / 16.38 MB, free: 6.379 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.00111/0.00111, allocations: 186.6 kB / 17.31 MB, free: 5.746 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7756/0.7756, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 60.09 kB / 0.582 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1577, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.5691/0.7269, allocations: 161.6 MB / 0.8181 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00487/0.7318, allocations: 3.624 MB / 0.8217 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003961/0.7323, allocations: 15.69 kB / 0.8217 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000618/0.7329, allocations: 155.8 kB / 0.8218 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.7343, allocations: 0.5279 MB / 0.8223 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.7355, allocations: 442.2 kB / 0.8228 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002389/0.7379, allocations: 2.562 MB / 0.8253 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002482/0.7404, allocations: 2.414 MB / 0.8276 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.7424, allocations: 1.042 MB / 0.8286 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008257/0.7432, allocations: 0.7137 MB / 0.8293 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.7433, allocations: 58.19 kB / 0.8294 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.7448, allocations: 0.7413 MB / 0.8301 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003046/0.7451, allocations: 317.2 kB / 0.8304 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006288/0.7457, allocations: 0.5474 MB / 0.831 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.7473, allocations: 1.416 MB / 0.8323 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7473, allocations: 3.938 kB / 0.8323 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7473, allocations: 0 / 0.8323 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.7473, allocations: 4 kB / 0.8323 GB, free: 0.9141 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.002188/0.7495, allocations: 1.46 MB / 0.8338 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.7495, allocations: 9.688 kB / 0.8338 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008016/0.7504, allocations: 190.1 kB / 0.834 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.7516, allocations: 0.8557 MB / 0.8348 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/0.7516, allocations: 41.88 kB / 0.8348 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.863e-05/0.7517, allocations: 58.5 kB / 0.8349 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.7529, allocations: 0.8205 MB / 0.8357 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.7529, allocations: 10.45 kB / 0.8357 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.744e-05/0.753, allocations: 21.28 kB / 0.8357 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.753, allocations: 23.09 kB / 0.8357 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008958/0.7539, allocations: 0.5598 MB / 0.8363 GB, free: 14.14 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.003806/0.7577, allocations: 4.202 MB / 0.8404 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000728/0.7585, allocations: 439.3 kB / 0.8408 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004482/0.7589, allocations: 352.9 kB / 0.8411 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002958/0.7592, allocations: 197.5 kB / 0.8413 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005049/0.7597, allocations: 320.8 kB / 0.8416 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002591/0.76, allocations: 38.66 kB / 0.8417 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.155e-06/0.76, allocations: 0 / 0.8417 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.00134/0.7614, allocations: 0.6991 MB / 0.8424 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.7614, allocations: 79.8 kB / 0.8424 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.7627, allocations: 1.164 MB / 0.8436 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.7628, allocations: 38.42 kB / 0.8436 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003749/0.7631, allocations: 486.8 kB / 0.8441 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.329e-05/0.7632, allocations: 117.4 kB / 0.8442 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.7634, allocations: 113.5 kB / 0.8443 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.7635, allocations: 323.1 kB / 0.8446 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.7639, allocations: 237.2 kB / 0.8448 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/0.7645, allocations: 0.5434 MB / 0.8454 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008916/0.7654, allocations: 0.6745 MB / 0.846 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.7654, allocations: 2.312 kB / 0.846 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001164/0.7666, allocations: 0.7676 MB / 0.8468 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.7667, allocations: 35.8 kB / 0.8468 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.7667, allocations: 8.906 kB / 0.8468 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.7667, allocations: 7.812 kB / 0.8468 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/0.7672, allocations: 112.8 kB / 0.8469 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.7672, allocations: 17.73 kB / 0.8469 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007603/0.768, allocations: 58.12 kB / 0.847 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.7681, allocations: 25.86 kB / 0.847 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006942/0.7688, allocations: 0.5166 MB / 0.8475 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005373/0.7693, allocations: 0.5108 MB / 0.848 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007625/0.7701, allocations: 0.5961 MB / 0.8486 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/0.7701, allocations: 7.938 kB / 0.8486 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001043/0.7711, allocations: 0.6956 MB / 0.8493 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.7712, allocations: 33.7 kB / 0.8493 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7712, allocations: 4 kB / 0.8493 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.7712, allocations: 8 kB / 0.8493 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.7717, allocations: 111.8 kB / 0.8494 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.7717, allocations: 12.3 kB / 0.8495 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000735/0.7724, allocations: 68.25 kB / 0.8495 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.7725, allocations: 23.94 kB / 0.8495 GB, free: 3.176 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 (55): * Single equations (assignments): 54 * 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.0002008/0.7727, allocations: 221.2 kB / 0.8498 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.7728, allocations: 102.7 kB / 0.8499 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009798/0.7738, allocations: 0.5442 MB / 0.8504 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.7738, allocations: 4 kB / 0.8504 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.7738, allocations: 0 / 0.8504 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.7738, allocations: 7.922 kB / 0.8504 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.7758, allocations: 1.493 MB / 0.8519 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.7759, allocations: 4 kB / 0.8519 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.7762, allocations: 72.09 kB / 0.8519 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.7762, allocations: 8 kB / 0.8519 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.7762, allocations: 8 kB / 0.8519 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.7763, allocations: 7.984 kB / 0.852 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.7763, allocations: 3.938 kB / 0.852 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008545/0.7771, allocations: 0.6586 MB / 0.8526 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.7774, allocations: 223.8 kB / 0.8528 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.7775, allocations: 8 kB / 0.8528 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005566/0.7781, allocations: 43.94 kB / 0.8529 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/0.7782, allocations: 31.91 kB / 0.8529 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.7782, allocations: 15.98 kB / 0.8529 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009416/0.7792, allocations: 0.8198 MB / 0.8537 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.653e-06/0.7792, allocations: 0 / 0.8537 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001102/0.7803, allocations: 431.3 kB / 0.8541 GB, free: 14.34 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 (33): * Single equations (assignments): 31 * 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.0004421/0.7808, allocations: 184.1 kB / 0.8543 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.7822, allocations: 0.8975 MB / 0.8552 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7822, allocations: 0 / 0.8552 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.7826, allocations: 229 kB / 0.8554 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.7846, allocations: 0.49 MB / 0.8559 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.7873, allocations: 1.808 MB / 0.8576 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.788, allocations: 1.178 MB / 0.8588 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.7882, allocations: 83.42 kB / 0.8589 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of SimCode: time 9.22e-07/0.7882, allocations: 0 / 0.8589 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of Templates: time 0.02363/0.8119, allocations: 16.54 MB / 0.875 GB, free: 8.992 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)