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.001746/0.001746, allocations: 102.7 kB / 15.98 MB, free: 6.355 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.001992/0.001992, allocations: 197 kB / 16.91 MB, free: 6.195 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.497/1.497, allocations: 222.9 MB / 240.6 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9441/0.9441, allocations: 135.1 MB / 425.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.97 kB / 0.5055 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1679, allocations: 80.92 MB / 0.5845 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4906/0.6585, allocations: 159.4 MB / 0.7402 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00576/0.6643, allocations: 3.604 MB / 0.7437 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000667/0.665, allocations: 14.19 kB / 0.7437 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007521/0.6658, allocations: 139.6 kB / 0.7438 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.6676, allocations: 0.497 MB / 0.7443 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.6691, allocations: 395.8 kB / 0.7447 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003353/0.6725, allocations: 2.593 MB / 0.7472 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003029/0.6755, allocations: 2.391 MB / 0.7496 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/0.6779, allocations: 1.08 MB / 0.7506 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.6793, allocations: 0.7614 MB / 0.7514 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002898/0.6796, allocations: 56 kB / 0.7514 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.6816, allocations: 0.76 MB / 0.7522 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005334/0.6822, allocations: 318.8 kB / 0.7525 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.6833, allocations: 0.544 MB / 0.753 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.6849, allocations: 1.068 MB / 0.754 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.6849, allocations: 0 / 0.754 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6849, allocations: 3.938 kB / 0.754 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.271e-05/0.685, allocations: 4 kB / 0.754 GB, free: 15.81 MB / 0.5762 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.002907/0.6879, allocations: 1.454 MB / 0.7555 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.688, allocations: 12.03 kB / 0.7555 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008428/0.6888, allocations: 182.5 kB / 0.7557 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.6902, allocations: 0.8139 MB / 0.7564 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.6902, allocations: 41 kB / 0.7565 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.589e-05/0.6903, allocations: 56 kB / 0.7565 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.6916, allocations: 0.8249 MB / 0.7573 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.6917, allocations: 3.938 kB / 0.7574 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.76e-05/0.6917, allocations: 25.5 kB / 0.7574 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.6918, allocations: 19.88 kB / 0.7574 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009572/0.6927, allocations: 0.5696 MB / 0.758 GB, free: 11.62 MB / 0.5762 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.004198/0.6969, allocations: 4.199 MB / 0.7621 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007203/0.6977, allocations: 438.7 kB / 0.7625 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004626/0.6982, allocations: 354.4 kB / 0.7628 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/0.6985, allocations: 202.2 kB / 0.763 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005175/0.699, allocations: 319.1 kB / 0.7633 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003474/0.6993, allocations: 31.69 kB / 0.7633 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.685e-06/0.6994, allocations: 4 kB / 0.7633 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001491/0.7009, allocations: 0.7016 MB / 0.764 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.7009, allocations: 81.11 kB / 0.7641 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.7024, allocations: 1.151 MB / 0.7652 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/0.7025, allocations: 41.7 kB / 0.7653 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.7029, allocations: 496.4 kB / 0.7657 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.7031, allocations: 118.4 kB / 0.7659 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.7032, allocations: 110.2 kB / 0.766 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.7034, allocations: 326 kB / 0.7663 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.7038, allocations: 230.9 kB / 0.7665 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006258/0.7044, allocations: 0.5459 MB / 0.767 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009057/0.7054, allocations: 0.679 MB / 0.7677 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.7054, allocations: 7.984 kB / 0.7677 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00128/0.7067, allocations: 0.7672 MB / 0.7684 GB, free: 268 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/0.7067, allocations: 37.7 kB / 0.7685 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.7067, allocations: 4 kB / 0.7685 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.7068, allocations: 8.875 kB / 0.7685 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.7072, allocations: 115.8 kB / 0.7686 GB, free: 96 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.219e-05/0.7073, allocations: 15.88 kB / 0.7686 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008329/0.7081, allocations: 72.14 kB / 0.7687 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.771e-05/0.7082, allocations: 27.98 kB / 0.7687 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006765/0.7089, allocations: 0.5204 MB / 0.7692 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005469/0.7094, allocations: 0.4992 MB / 0.7697 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007684/0.7102, allocations: 0.5958 MB / 0.7703 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.617e-06/0.7102, allocations: 0 / 0.7703 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001114/0.7114, allocations: 0.685 MB / 0.771 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.7114, allocations: 33.7 kB / 0.771 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.7114, allocations: 15.98 kB / 0.771 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.7114, allocations: 8 kB / 0.771 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.7119, allocations: 108.4 kB / 0.7711 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.7119, allocations: 15.92 kB / 0.7711 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008506/0.7127, allocations: 96.02 kB / 0.7712 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/0.7128, allocations: 27.94 kB / 0.7712 GB, free: 13.14 MB / 0.5919 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.0002066/0.713, allocations: 208.1 kB / 0.7714 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.7132, allocations: 102.8 kB / 0.7715 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009846/0.7142, allocations: 0.5424 MB / 0.7721 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.7142, allocations: 4 kB / 0.7721 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.7142, allocations: 3.938 kB / 0.7721 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.7142, allocations: 7.922 kB / 0.7721 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.7164, allocations: 1.489 MB / 0.7735 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.7164, allocations: 3.984 kB / 0.7735 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.7167, allocations: 71.89 kB / 0.7736 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.7167, allocations: 416 / 0.7736 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.7168, allocations: 16 kB / 0.7736 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/0.7168, allocations: 3.984 kB / 0.7736 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7168, allocations: 4 kB / 0.7736 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008454/0.7176, allocations: 0.6607 MB / 0.7743 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.718, allocations: 223.8 kB / 0.7745 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.7181, allocations: 8 kB / 0.7745 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/0.7187, allocations: 59.83 kB / 0.7746 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.438e-05/0.7187, allocations: 35.91 kB / 0.7746 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.7188, allocations: 19.92 kB / 0.7746 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009223/0.7197, allocations: 0.816 MB / 0.7754 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7197, allocations: 0 / 0.7754 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001079/0.7208, allocations: 427.5 kB / 0.7758 GB, free: 8.305 MB / 0.5919 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.0004294/0.7212, allocations: 168.2 kB / 0.776 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.7227, allocations: 0.9469 MB / 0.7769 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.7227, allocations: 0.5625 kB / 0.7769 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.7231, allocations: 235.6 kB / 0.7771 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/0.725, allocations: 0.5049 MB / 0.7776 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.7281, allocations: 2.117 MB / 0.7797 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007736/0.7289, allocations: 1.178 MB / 0.7808 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.7292, allocations: 83.42 kB / 0.7809 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.7292, allocations: 0 / 0.7809 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of Templates: time 0.02485/0.754, allocations: 16.54 MB / 0.7971 GB, free: 2.602 MB / 0.6075 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)