Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.005526/0.005526, allocations: 103.2 kB / 15.73 MB, free: 6.059 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: 190.5 kB / 16.67 MB, free: 5.977 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7825/0.7825, allocations: 135.1 MB / 425.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 72 kB / 0.5856 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1519, allocations: 80.92 MB / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.5119/0.6638, allocations: 161.6 MB / 0.8225 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004743/0.6686, allocations: 3.624 MB / 0.826 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003665/0.669, allocations: 12.75 kB / 0.826 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005464/0.6696, allocations: 164.3 kB / 0.8262 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.671, allocations: 0.5577 MB / 0.8267 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.6722, allocations: 428.7 kB / 0.8271 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002468/0.6747, allocations: 2.573 MB / 0.8297 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002645/0.6773, allocations: 2.412 MB / 0.832 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.679, allocations: 1.053 MB / 0.833 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009949/0.68, allocations: 0.714 MB / 0.8337 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.6802, allocations: 57.88 kB / 0.8338 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.6815, allocations: 0.7514 MB / 0.8345 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003396/0.6819, allocations: 317.4 kB / 0.8348 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000723/0.6826, allocations: 0.5408 MB / 0.8354 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.6842, allocations: 1.429 MB / 0.8368 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6842, allocations: 0 / 0.8368 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6842, allocations: 0 / 0.8368 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.585e-05/0.6842, allocations: 0 / 0.8368 GB, free: 11.17 MB / 0.6075 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.002345/0.6866, allocations: 1.457 MB / 0.8382 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.6866, allocations: 10.86 kB / 0.8382 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008076/0.6874, allocations: 192.3 kB / 0.8384 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.6887, allocations: 0.8554 MB / 0.8392 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.6888, allocations: 50.56 kB / 0.8393 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/0.6889, allocations: 56.31 kB / 0.8393 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.69, allocations: 0.8205 MB / 0.8401 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.6901, allocations: 6 kB / 0.8401 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.6901, allocations: 25.89 kB / 0.8401 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.6901, allocations: 18.56 kB / 0.8402 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009133/0.6911, allocations: 0.5568 MB / 0.8407 GB, free: 8.402 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.003816/0.6949, allocations: 4.211 MB / 0.8448 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.6956, allocations: 435.5 kB / 0.8452 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004405/0.6961, allocations: 341.8 kB / 0.8456 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002802/0.6963, allocations: 199.7 kB / 0.8457 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005036/0.6969, allocations: 325.8 kB / 0.8461 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001986/0.6971, allocations: 29.12 kB / 0.8461 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.6971, allocations: 0 / 0.8461 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001343/0.6984, allocations: 0.704 MB / 0.8468 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.6985, allocations: 90.39 kB / 0.8469 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.6997, allocations: 1.164 MB / 0.848 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.6998, allocations: 34.2 kB / 0.848 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.7002, allocations: 480.3 kB / 0.8485 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.874e-05/0.7003, allocations: 120.4 kB / 0.8486 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.7004, allocations: 114.2 kB / 0.8487 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.7005, allocations: 329.8 kB / 0.849 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.7009, allocations: 234.8 kB / 0.8492 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000628/0.7016, allocations: 0.54 MB / 0.8498 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009187/0.7025, allocations: 0.6681 MB / 0.8504 GB, free: 280 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.7025, allocations: 4 kB / 0.8504 GB, free: 276 kB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001254/0.7038, allocations: 0.7708 MB / 0.8512 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.7038, allocations: 34.36 kB / 0.8512 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.7038, allocations: 8 kB / 0.8512 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.7039, allocations: 8 kB / 0.8512 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.7044, allocations: 119.8 kB / 0.8513 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.7044, allocations: 11.94 kB / 0.8514 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000746/0.7052, allocations: 59.88 kB / 0.8514 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/0.7052, allocations: 27.98 kB / 0.8514 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006941/0.7059, allocations: 0.5164 MB / 0.8519 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005662/0.7065, allocations: 0.4992 MB / 0.8524 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008238/0.7073, allocations: 0.5997 MB / 0.853 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-06/0.7074, allocations: 0 / 0.853 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001095/0.7085, allocations: 0.6891 MB / 0.8537 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.7085, allocations: 37.69 kB / 0.8537 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7085, allocations: 8.656 kB / 0.8537 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.607e-06/0.7085, allocations: 12 kB / 0.8537 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.709, allocations: 116 kB / 0.8539 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.709, allocations: 11.94 kB / 0.8539 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007428/0.7098, allocations: 64.25 kB / 0.8539 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.7098, allocations: 31.94 kB / 0.854 GB, free: 12.39 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 (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.000166/0.71, allocations: 216.1 kB / 0.8542 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.7101, allocations: 102.8 kB / 0.8543 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009605/0.7111, allocations: 0.5338 MB / 0.8548 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.7111, allocations: 7.984 kB / 0.8548 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7111, allocations: 3.984 kB / 0.8548 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.7111, allocations: 3.938 kB / 0.8548 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.7132, allocations: 1.505 MB / 0.8563 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.7132, allocations: 0 / 0.8563 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/0.7135, allocations: 67.89 kB / 0.8563 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.7136, allocations: 0 / 0.8563 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.7136, allocations: 19.98 kB / 0.8564 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.7136, allocations: 3.938 kB / 0.8564 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.7136, allocations: 4 kB / 0.8564 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008783/0.7145, allocations: 0.6665 MB / 0.857 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002895/0.7148, allocations: 219.8 kB / 0.8572 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.7149, allocations: 11.98 kB / 0.8572 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000591/0.7155, allocations: 35.95 kB / 0.8573 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.7156, allocations: 31.95 kB / 0.8573 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.7157, allocations: 16 kB / 0.8573 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009805/0.7166, allocations: 0.8198 MB / 0.8581 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.343e-06/0.7166, allocations: 0 / 0.8581 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001057/0.7177, allocations: 427.4 kB / 0.8585 GB, free: 7.566 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.0003792/0.7181, allocations: 177.5 kB / 0.8587 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.7195, allocations: 0.8989 MB / 0.8596 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.7195, allocations: 8 kB / 0.8596 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.72, allocations: 235.7 kB / 0.8598 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/0.7221, allocations: 0.4999 MB / 0.8603 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.7246, allocations: 1.763 MB / 0.862 GB, free: 3.926 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006721/0.7253, allocations: 1.182 MB / 0.8632 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009589/0.7263, allocations: 436 kB / 0.8636 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.7265, allocations: 79.42 kB / 0.8637 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of SimCode: time 3.7e-07/0.7265, allocations: 0 / 0.8637 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of Templates: time 0.02944/0.7559, allocations: 18.79 MB / 0.882 GB, free: 15.62 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)