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.004819/0.004819, allocations: 100.6 kB / 15.73 MB, free: 6.047 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.001206/0.001206, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7581/0.7581, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 64.36 kB / 0.5814 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.18, allocations: 80.2 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.5732/0.7533, allocations: 161.6 MB / 0.8175 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00544/0.7588, allocations: 3.616 MB / 0.821 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005002/0.7593, allocations: 12.17 kB / 0.821 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007337/0.7601, allocations: 172.2 kB / 0.8212 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.7618, allocations: 0.5491 MB / 0.8217 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.7634, allocations: 439.7 kB / 0.8222 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00383/0.7672, allocations: 2.573 MB / 0.8247 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003463/0.7707, allocations: 2.416 MB / 0.827 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002635/0.7734, allocations: 1.049 MB / 0.8281 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.7745, allocations: 0.7149 MB / 0.8288 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.7746, allocations: 59.62 kB / 0.8288 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.7764, allocations: 0.7509 MB / 0.8296 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003474/0.7768, allocations: 311 kB / 0.8298 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007661/0.7776, allocations: 0.5484 MB / 0.8304 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.7793, allocations: 1.431 MB / 0.8318 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7793, allocations: 0 / 0.8318 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7793, allocations: 3.828 kB / 0.8318 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.7793, allocations: 0 / 0.8318 GB, free: 3.223 MB / 0.6387 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.002054/0.7814, allocations: 1.451 MB / 0.8332 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.7814, allocations: 9.625 kB / 0.8332 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000738/0.7822, allocations: 187 kB / 0.8334 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.7834, allocations: 0.8668 MB / 0.8342 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.7834, allocations: 41.66 kB / 0.8343 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.823e-05/0.7835, allocations: 61.5 kB / 0.8343 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.7847, allocations: 0.8262 MB / 0.8351 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.7847, allocations: 5.188 kB / 0.8351 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.7848, allocations: 21.31 kB / 0.8352 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.7848, allocations: 13.28 kB / 0.8352 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008709/0.7857, allocations: 0.5637 MB / 0.8357 GB, free: 1.723 MB / 0.6387 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.003242/0.7889, allocations: 4.203 MB / 0.8398 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006417/0.7896, allocations: 441 kB / 0.8403 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004095/0.79, allocations: 343.8 kB / 0.8406 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002888/0.7903, allocations: 191.9 kB / 0.8408 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004692/0.7908, allocations: 324.1 kB / 0.8411 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002408/0.791, allocations: 33.03 kB / 0.8411 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.364e-06/0.7911, allocations: 0.7812 kB / 0.8411 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.001315/0.7924, allocations: 0.7033 MB / 0.8418 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.7924, allocations: 80.3 kB / 0.8419 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.7937, allocations: 1.157 MB / 0.843 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.7937, allocations: 39.05 kB / 0.843 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.794, allocations: 488.9 kB / 0.8435 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.281e-05/0.7941, allocations: 111.8 kB / 0.8436 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.7943, allocations: 116.5 kB / 0.8437 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.7944, allocations: 331.5 kB / 0.844 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/0.7948, allocations: 237.2 kB / 0.8443 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/0.7954, allocations: 0.5448 MB / 0.8448 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008189/0.7962, allocations: 0.6751 MB / 0.8455 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.7962, allocations: 3.031 kB / 0.8455 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00112/0.7973, allocations: 0.7719 MB / 0.8462 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.7974, allocations: 34.58 kB / 0.8462 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.7974, allocations: 9.344 kB / 0.8463 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.7974, allocations: 9.062 kB / 0.8463 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.7979, allocations: 117 kB / 0.8464 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.7979, allocations: 8.5 kB / 0.8464 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007309/0.7987, allocations: 64.78 kB / 0.8464 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/0.7987, allocations: 23.56 kB / 0.8465 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006323/0.7994, allocations: 0.52 MB / 0.847 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005079/0.7999, allocations: 0.5028 MB / 0.8475 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006815/0.8006, allocations: 0.5932 MB / 0.848 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.38e-06/0.8006, allocations: 7.562 kB / 0.8481 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.0009438/0.8015, allocations: 0.6853 MB / 0.8487 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.8016, allocations: 44.09 kB / 0.8488 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.8016, allocations: 6 kB / 0.8488 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.804e-06/0.8016, allocations: 8.156 kB / 0.8488 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.802, allocations: 109.3 kB / 0.8489 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.802, allocations: 12.66 kB / 0.8489 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007042/0.8027, allocations: 68.42 kB / 0.849 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.8028, allocations: 23.52 kB / 0.849 GB, free: 12.09 MB / 0.6544 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.0001781/0.803, allocations: 224.9 kB / 0.8492 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.8031, allocations: 104.2 kB / 0.8493 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000883/0.804, allocations: 0.5376 MB / 0.8498 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.804, allocations: 3.594 kB / 0.8498 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.804, allocations: 3.469 kB / 0.8498 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.804, allocations: 3.188 kB / 0.8498 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.8059, allocations: 1.5 MB / 0.8513 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.8059, allocations: 5.188 kB / 0.8513 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.8062, allocations: 76.34 kB / 0.8514 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.8062, allocations: 2.781 kB / 0.8514 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.8062, allocations: 12.62 kB / 0.8514 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.8063, allocations: 6.125 kB / 0.8514 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8063, allocations: 6.406 kB / 0.8514 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007965/0.8071, allocations: 0.6617 MB / 0.852 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.8074, allocations: 218.5 kB / 0.8523 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.8075, allocations: 17.22 kB / 0.8523 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.808, allocations: 41.22 kB / 0.8523 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.8081, allocations: 27.25 kB / 0.8523 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.8082, allocations: 17.86 kB / 0.8524 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008766/0.809, allocations: 0.8141 MB / 0.8531 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.809, allocations: 1.125 kB / 0.8531 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001068/0.8101, allocations: 419.2 kB / 0.8535 GB, free: 10.8 MB / 0.6544 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.0005217/0.8107, allocations: 190.5 kB / 0.8537 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001395/0.8121, allocations: 0.8996 MB / 0.8546 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8121, allocations: 7.031 kB / 0.8546 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.8124, allocations: 236.4 kB / 0.8548 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.8142, allocations: 0.5011 MB / 0.8553 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.8167, allocations: 1.763 MB / 0.8571 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/0.8173, allocations: 1.182 MB / 0.8582 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009223/0.8183, allocations: 436.5 kB / 0.8586 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.8185, allocations: 77.86 kB / 0.8587 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of SimCode: time 1.453e-06/0.8185, allocations: 4 kB / 0.8587 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of Templates: time 0.03012/0.8486, allocations: 18.77 MB / 0.877 GB, free: 3.781 MB / 0.6544 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)