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.004757/0.004757, allocations: 101.9 kB / 15.73 MB, free: 6.438 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.00112/0.00112, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9309/0.9309, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 67.89 kB / 0.5856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3894, allocations: 80.92 MB / 0.6647 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1741/0.5635, allocations: 161.6 MB / 0.8225 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00496/0.5685, allocations: 3.626 MB / 0.826 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004209/0.5689, allocations: 15.88 kB / 0.826 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006131/0.5696, allocations: 166.9 kB / 0.8262 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.571, allocations: 0.5445 MB / 0.8267 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.5723, allocations: 443.2 kB / 0.8271 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00275/0.575, allocations: 2.57 MB / 0.8297 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/0.578, allocations: 2.419 MB / 0.832 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.5798, allocations: 1.055 MB / 0.8331 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.5809, allocations: 0.7117 MB / 0.8337 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.5811, allocations: 60 kB / 0.8338 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.5826, allocations: 0.7484 MB / 0.8345 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000434/0.5831, allocations: 314.9 kB / 0.8348 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.5841, allocations: 0.5479 MB / 0.8354 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.5861, allocations: 1.431 MB / 0.8368 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5861, allocations: 0 / 0.8368 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5861, allocations: 4 kB / 0.8368 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.62e-05/0.5862, allocations: 0 / 0.8368 GB, free: 0.8047 MB / 0.6544 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.002397/0.5886, allocations: 1.458 MB / 0.8382 GB, free: 15.29 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.5886, allocations: 8.031 kB / 0.8382 GB, free: 15.28 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007297/0.5893, allocations: 194.5 kB / 0.8384 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.5906, allocations: 0.8492 MB / 0.8392 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.526e-05/0.5907, allocations: 49 kB / 0.8393 GB, free: 14.13 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.174e-05/0.5908, allocations: 56 kB / 0.8393 GB, free: 14.08 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.592, allocations: 0.8238 MB / 0.8401 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.592, allocations: 7.938 kB / 0.8401 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/0.5921, allocations: 23.94 kB / 0.8402 GB, free: 13.15 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.5921, allocations: 20 kB / 0.8402 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009002/0.593, allocations: 0.5578 MB / 0.8407 GB, free: 12.57 MB / 0.67 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.003661/0.5967, allocations: 4.2 MB / 0.8448 GB, free: 8.105 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.5974, allocations: 436.8 kB / 0.8452 GB, free: 7.672 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000468/0.5978, allocations: 353.8 kB / 0.8456 GB, free: 7.324 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.5981, allocations: 194.2 kB / 0.8458 GB, free: 7.098 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005003/0.5987, allocations: 323.1 kB / 0.8461 GB, free: 6.762 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001849/0.5988, allocations: 31.69 kB / 0.8461 GB, free: 6.73 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.364e-06/0.5989, allocations: 0 / 0.8461 GB, free: 6.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.001438/0.6003, allocations: 0.7062 MB / 0.8468 GB, free: 6.02 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.6004, allocations: 85.05 kB / 0.8469 GB, free: 5.918 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.6017, allocations: 1.155 MB / 0.848 GB, free: 4.746 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.6018, allocations: 45.69 kB / 0.848 GB, free: 4.695 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/0.6022, allocations: 484.5 kB / 0.8485 GB, free: 4.219 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.6023, allocations: 114.4 kB / 0.8486 GB, free: 4.105 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.6025, allocations: 118.1 kB / 0.8487 GB, free: 3.98 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6026, allocations: 326 kB / 0.849 GB, free: 3.656 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.603, allocations: 230.9 kB / 0.8493 GB, free: 3.43 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006099/0.6037, allocations: 0.546 MB / 0.8498 GB, free: 2.75 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009604/0.6046, allocations: 0.6756 MB / 0.8504 GB, free: 1.996 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.6046, allocations: 0 / 0.8504 GB, free: 1.996 MB / 0.67 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001164/0.6058, allocations: 0.7748 MB / 0.8512 GB, free: 1.207 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.6059, allocations: 33.7 kB / 0.8512 GB, free: 1.168 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.6059, allocations: 4 kB / 0.8512 GB, free: 1.164 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.6059, allocations: 8 kB / 0.8512 GB, free: 1.156 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.6064, allocations: 112.3 kB / 0.8514 GB, free: 1.047 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.6064, allocations: 19.88 kB / 0.8514 GB, free: 1.027 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/0.607, allocations: 64.02 kB / 0.8514 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/0.6071, allocations: 27.94 kB / 0.8515 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006885/0.6078, allocations: 0.5164 MB / 0.852 GB, free: 428 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005287/0.6083, allocations: 0.5031 MB / 0.8525 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007443/0.6091, allocations: 0.5997 MB / 0.853 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.908e-06/0.6091, allocations: 0 / 0.853 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001027/0.6101, allocations: 0.6981 MB / 0.8537 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.6102, allocations: 37.7 kB / 0.8538 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6102, allocations: 4 kB / 0.8538 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/0.6102, allocations: 8 kB / 0.8538 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.6106, allocations: 108 kB / 0.8539 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.6106, allocations: 12.28 kB / 0.8539 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/0.6112, allocations: 72.19 kB / 0.854 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.6113, allocations: 20 kB / 0.854 GB, free: 14.13 MB / 0.6856 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.0001863/0.6115, allocations: 224.1 kB / 0.8542 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.6116, allocations: 98.78 kB / 0.8543 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009566/0.6126, allocations: 0.5426 MB / 0.8548 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.6126, allocations: 4 kB / 0.8548 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6126, allocations: 3.938 kB / 0.8548 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.6126, allocations: 0 / 0.8548 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.6147, allocations: 1.502 MB / 0.8563 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6147, allocations: 4 kB / 0.8563 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.615, allocations: 68.09 kB / 0.8564 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.615, allocations: 8 kB / 0.8564 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.615, allocations: 8 kB / 0.8564 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.615, allocations: 4 kB / 0.8564 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.615, allocations: 0 / 0.8564 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008366/0.6159, allocations: 0.6703 MB / 0.857 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.6162, allocations: 227.8 kB / 0.8572 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-05/0.6163, allocations: 8 kB / 0.8573 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/0.6168, allocations: 39.94 kB / 0.8573 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/0.6169, allocations: 39.78 kB / 0.8573 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.6169, allocations: 12 kB / 0.8573 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001002/0.6179, allocations: 0.8159 MB / 0.8581 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6179, allocations: 3.938 kB / 0.8581 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001054/0.619, allocations: 423.5 kB / 0.8585 GB, free: 9.293 MB / 0.6856 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.0005911/0.6196, allocations: 186.2 kB / 0.8587 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.6211, allocations: 0.8985 MB / 0.8596 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.6211, allocations: 0 / 0.8596 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.6215, allocations: 237 kB / 0.8598 GB, free: 7.957 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.6233, allocations: 0.4971 MB / 0.8603 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.6259, allocations: 1.755 MB / 0.862 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006942/0.6266, allocations: 1.182 MB / 0.8632 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009343/0.6275, allocations: 436 kB / 0.8636 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.6277, allocations: 83.42 kB / 0.8637 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of SimCode: time 3.21e-07/0.6277, allocations: 0 / 0.8637 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of Templates: time 0.3628/0.9905, allocations: 18.77 MB / 0.882 GB, free: 186.2 MB / 0.6856 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)