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.001464/0.001464, allocations: 104.1 kB / 16.35 MB, free: 5.828 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.001522/0.001523, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7743/0.7743, allocations: 132.2 MB / 423.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3295, allocations: 80.19 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1582/0.4878, allocations: 161.6 MB / 0.7393 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004581/0.4924, allocations: 3.624 MB / 0.7429 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.4927, allocations: 11.88 kB / 0.7429 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.4932, allocations: 166.9 kB / 0.743 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.4945, allocations: 0.5172 MB / 0.7435 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.4956, allocations: 444.3 kB / 0.744 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002502/0.4981, allocations: 2.571 MB / 0.7465 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/0.5008, allocations: 2.411 MB / 0.7488 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.5026, allocations: 1.043 MB / 0.7498 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009782/0.5036, allocations: 0.7195 MB / 0.7505 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.5037, allocations: 56 kB / 0.7506 GB, free: 492 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3006/0.8043, allocations: 0.7376 MB / 0.7513 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006247/0.8049, allocations: 312.9 kB / 0.7516 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001/0.806, allocations: 0.5455 MB / 0.7521 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.8077, allocations: 1.427 MB / 0.7535 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.8077, allocations: 3.75 kB / 0.7535 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8077, allocations: 0 / 0.7535 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.235e-05/0.8078, allocations: 0.5938 kB / 0.7535 GB, free: 5.5 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.002046/0.8098, allocations: 1.46 MB / 0.755 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.8099, allocations: 11.22 kB / 0.755 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007749/0.8106, allocations: 181.4 kB / 0.7552 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.8121, allocations: 0.8581 MB / 0.756 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.126e-05/0.8121, allocations: 44.66 kB / 0.756 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.8123, allocations: 58.19 kB / 0.7561 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.8136, allocations: 0.8229 MB / 0.7569 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.8136, allocations: 8.281 kB / 0.7569 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.8137, allocations: 26.12 kB / 0.7569 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.8137, allocations: 13.19 kB / 0.7569 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009773/0.8147, allocations: 0.5575 MB / 0.7575 GB, free: 4.02 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.00417/0.8189, allocations: 4.199 MB / 0.7616 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008439/0.8197, allocations: 441.5 kB / 0.762 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005756/0.8203, allocations: 348.2 kB / 0.7623 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/0.8206, allocations: 193.3 kB / 0.7625 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005813/0.8212, allocations: 320 kB / 0.7628 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000265/0.8215, allocations: 35.41 kB / 0.7629 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.8215, allocations: 0.5625 kB / 0.7629 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001287/0.8228, allocations: 0.7014 MB / 0.7635 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.8229, allocations: 86.23 kB / 0.7636 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.8241, allocations: 1.15 MB / 0.7648 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.8242, allocations: 38.58 kB / 0.7648 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/0.8246, allocations: 490.6 kB / 0.7653 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/0.8247, allocations: 113.4 kB / 0.7654 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.8249, allocations: 113.6 kB / 0.7655 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.825, allocations: 324.5 kB / 0.7658 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.8254, allocations: 238.2 kB / 0.766 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.826, allocations: 0.5432 MB / 0.7665 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007975/0.8268, allocations: 0.6754 MB / 0.7672 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.8268, allocations: 3.281 kB / 0.7672 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001155/0.828, allocations: 0.7751 MB / 0.768 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.828, allocations: 33.39 kB / 0.768 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.8281, allocations: 8.984 kB / 0.768 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.8281, allocations: 7.719 kB / 0.768 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.8286, allocations: 120.5 kB / 0.7681 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.8286, allocations: 16.47 kB / 0.7681 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007399/0.8294, allocations: 60.19 kB / 0.7682 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/0.8294, allocations: 27.31 kB / 0.7682 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007132/0.8301, allocations: 0.5151 MB / 0.7687 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005654/0.8307, allocations: 0.5051 MB / 0.7692 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008174/0.8315, allocations: 0.5886 MB / 0.7698 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.8316, allocations: 5.062 kB / 0.7698 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001158/0.8327, allocations: 0.6915 MB / 0.7705 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.8328, allocations: 34.42 kB / 0.7705 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.8328, allocations: 5.719 kB / 0.7705 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.8328, allocations: 8.031 kB / 0.7705 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.8332, allocations: 115 kB / 0.7706 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.8333, allocations: 15.09 kB / 0.7706 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/0.834, allocations: 66.62 kB / 0.7707 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.8341, allocations: 22.38 kB / 0.7707 GB, free: 14.41 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.0002367/0.8343, allocations: 225.1 kB / 0.7709 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.8345, allocations: 99 kB / 0.771 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008523/0.8353, allocations: 0.5416 MB / 0.7716 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.8353, allocations: 10.34 kB / 0.7716 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.8354, allocations: 3.844 kB / 0.7716 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.8354, allocations: 4.031 kB / 0.7716 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.8374, allocations: 1.5 MB / 0.773 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.8374, allocations: 3.594 kB / 0.7731 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.8377, allocations: 69.61 kB / 0.7731 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.8377, allocations: 4.375 kB / 0.7731 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.8377, allocations: 11.44 kB / 0.7731 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.8377, allocations: 3.531 kB / 0.7731 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8378, allocations: 7.469 kB / 0.7731 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007955/0.8386, allocations: 0.6613 MB / 0.7738 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/0.8389, allocations: 224.2 kB / 0.774 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.8391, allocations: 8.969 kB / 0.774 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/0.8396, allocations: 39.12 kB / 0.774 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.809e-05/0.8397, allocations: 35.62 kB / 0.7741 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.8397, allocations: 12.22 kB / 0.7741 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001159/0.8409, allocations: 0.8206 MB / 0.7749 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8409, allocations: 0 / 0.7749 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001345/0.8423, allocations: 418.5 kB / 0.7753 GB, free: 13.13 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.0005204/0.8428, allocations: 185.4 kB / 0.7755 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.8443, allocations: 0.9043 MB / 0.7764 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8443, allocations: 2.375 kB / 0.7764 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003857/0.8447, allocations: 235.7 kB / 0.7766 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.8467, allocations: 0.4992 MB / 0.7771 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.8495, allocations: 1.766 MB / 0.7788 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007579/0.8503, allocations: 1.182 MB / 0.7799 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001039/0.8513, allocations: 434 kB / 0.7804 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.8515, allocations: 78.11 kB / 0.7804 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.8515, allocations: 0 / 0.7804 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of Templates: time 0.02794/0.8794, allocations: 18.63 MB / 0.7986 GB, free: 7.898 MB / 0.5919 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)