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.005479/0.005479, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001226/0.001226, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.409/1.409, allocations: 222.9 MB / 240.4 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.7776/0.7776, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 59.09 kB / 0.5814 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1419, allocations: 80.21 MB / 0.6597 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4899/0.6319, allocations: 161.6 MB / 0.8175 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004443/0.6364, allocations: 3.626 MB / 0.8211 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00035/0.6368, allocations: 11.94 kB / 0.8211 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005481/0.6374, allocations: 160.3 kB / 0.8212 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.6387, allocations: 0.5594 MB / 0.8218 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.6398, allocations: 441.2 kB / 0.8222 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002465/0.6423, allocations: 2.568 MB / 0.8247 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002772/0.6451, allocations: 2.413 MB / 0.827 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.6473, allocations: 1.055 MB / 0.8281 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007575/0.648, allocations: 0.7163 MB / 0.8288 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.6481, allocations: 57.53 kB / 0.8288 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.6495, allocations: 0.7493 MB / 0.8296 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.6498, allocations: 319.6 kB / 0.8299 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007175/0.6506, allocations: 0.5412 MB / 0.8304 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.6522, allocations: 1.43 MB / 0.8318 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.6522, allocations: 0 / 0.8318 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6522, allocations: 0 / 0.8318 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.6522, allocations: 0 / 0.8318 GB, free: 0.875 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.0022/0.6545, allocations: 1.461 MB / 0.8332 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.6545, allocations: 11.78 kB / 0.8332 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007506/0.6553, allocations: 188 kB / 0.8334 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.6565, allocations: 0.8559 MB / 0.8342 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.6565, allocations: 42.09 kB / 0.8343 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.352e-05/0.6566, allocations: 56.69 kB / 0.8343 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.6578, allocations: 0.8271 MB / 0.8351 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.6578, allocations: 3.938 kB / 0.8352 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.6579, allocations: 23.59 kB / 0.8352 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.6579, allocations: 16.5 kB / 0.8352 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008732/0.6588, allocations: 0.562 MB / 0.8357 GB, free: 14.11 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.003739/0.6625, allocations: 4.201 MB / 0.8398 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007094/0.6633, allocations: 436.4 kB / 0.8403 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004601/0.6637, allocations: 348.8 kB / 0.8406 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/0.6641, allocations: 199.3 kB / 0.8408 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005151/0.6646, allocations: 317.2 kB / 0.8411 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002775/0.6649, allocations: 45.89 kB / 0.8411 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.6649, allocations: 4 kB / 0.8411 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001323/0.6662, allocations: 0.6957 MB / 0.8418 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.6663, allocations: 85.41 kB / 0.8419 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.6675, allocations: 1.165 MB / 0.843 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/0.6676, allocations: 34.73 kB / 0.8431 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.668, allocations: 492.1 kB / 0.8435 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.467e-05/0.6681, allocations: 115.8 kB / 0.8436 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.6682, allocations: 111.2 kB / 0.8437 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.6683, allocations: 325.2 kB / 0.8441 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.6687, allocations: 236.7 kB / 0.8443 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/0.6693, allocations: 0.5373 MB / 0.8448 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008729/0.6702, allocations: 0.6768 MB / 0.8455 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6702, allocations: 2.719 kB / 0.8455 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001172/0.6714, allocations: 0.7643 MB / 0.8462 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.6715, allocations: 37.38 kB / 0.8463 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.6715, allocations: 4.891 kB / 0.8463 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.6715, allocations: 11.98 kB / 0.8463 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/0.672, allocations: 114.5 kB / 0.8464 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.6721, allocations: 11.31 kB / 0.8464 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007846/0.6729, allocations: 70.08 kB / 0.8465 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.6729, allocations: 24.62 kB / 0.8465 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006951/0.6736, allocations: 0.5197 MB / 0.847 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005405/0.6742, allocations: 0.5031 MB / 0.8475 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007627/0.6749, allocations: 0.5919 MB / 0.8481 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.967e-06/0.675, allocations: 8 kB / 0.8481 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001082/0.676, allocations: 0.6932 MB / 0.8487 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.6761, allocations: 35.27 kB / 0.8488 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6761, allocations: 4 kB / 0.8488 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.6761, allocations: 8 kB / 0.8488 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.6766, allocations: 111.8 kB / 0.8489 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.6766, allocations: 11.94 kB / 0.8489 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007703/0.6774, allocations: 72.3 kB / 0.849 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.6774, allocations: 27.94 kB / 0.849 GB, free: 3.102 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.0001721/0.6776, allocations: 221.4 kB / 0.8492 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.6777, allocations: 102.7 kB / 0.8493 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009692/0.6787, allocations: 0.5338 MB / 0.8498 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.6787, allocations: 4 kB / 0.8498 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.6787, allocations: 0 / 0.8498 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.6787, allocations: 7.922 kB / 0.8498 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.6809, allocations: 1.497 MB / 0.8513 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6809, allocations: 4 kB / 0.8513 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.6812, allocations: 75.81 kB / 0.8514 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.6813, allocations: 4 kB / 0.8514 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.6813, allocations: 12.22 kB / 0.8514 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.6813, allocations: 4 kB / 0.8514 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6813, allocations: 0 / 0.8514 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008829/0.6822, allocations: 0.6663 MB / 0.8521 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.6825, allocations: 223.8 kB / 0.8523 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.6826, allocations: 8 kB / 0.8523 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/0.6832, allocations: 43.94 kB / 0.8523 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.6833, allocations: 31.91 kB / 0.8523 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.6833, allocations: 15.98 kB / 0.8524 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009642/0.6843, allocations: 0.8198 MB / 0.8532 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6843, allocations: 0 / 0.8532 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001051/0.6854, allocations: 431.4 kB / 0.8536 GB, free: 14.27 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.0003759/0.6858, allocations: 172.6 kB / 0.8537 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001396/0.6872, allocations: 0.898 MB / 0.8546 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6872, allocations: 0 / 0.8546 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.6876, allocations: 231.7 kB / 0.8548 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.6897, allocations: 0.5107 MB / 0.8553 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.6922, allocations: 1.761 MB / 0.8571 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006654/0.6929, allocations: 1.178 MB / 0.8582 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009708/0.6939, allocations: 436 kB / 0.8586 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.694, allocations: 75.42 kB / 0.8587 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.6941, allocations: 4 kB / 0.8587 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of Templates: time 0.03122/0.7253, allocations: 18.77 MB / 0.877 GB, free: 6.371 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)