Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009309/0.0009354, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001146/0.001146, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.725/0.725, allocations: 132.4 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000293/0.000293, allocations: 8.938 kB / 0.5034 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3414, allocations: 81.57 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1472/0.4886, allocations: 146.7 MB / 0.7264 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004182/0.4928, allocations: 3.371 MB / 0.7297 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.4931, allocations: 15.88 kB / 0.7297 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004297/0.4936, allocations: 103.2 kB / 0.7298 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.4946, allocations: 402.1 kB / 0.7302 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009579/0.4956, allocations: 358.6 kB / 0.7305 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00298/0.4986, allocations: 2.999 MB / 0.7334 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.4996, allocations: 0.6951 MB / 0.7341 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.501, allocations: 0.8831 MB / 0.735 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.5021, allocations: 0.6962 MB / 0.7357 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.5022, allocations: 36 kB / 0.7357 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.5034, allocations: 0.5535 MB / 0.7362 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003164/0.5037, allocations: 282.9 kB / 0.7365 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.504, allocations: 233.1 kB / 0.7367 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.505, allocations: 1.021 MB / 0.7377 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.505, allocations: 4 kB / 0.7377 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.505, allocations: 3.938 kB / 0.7377 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.412e-05/0.505, allocations: 0 / 0.7377 GB, free: 1.844 MB / 0.5606 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.002026/0.5071, allocations: 1.303 MB / 0.739 GB, free: 492 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.5071, allocations: 12.03 kB / 0.739 GB, free: 480 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007414/0.5079, allocations: 190.4 kB / 0.7392 GB, free: 288 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.5092, allocations: 0.8002 MB / 0.74 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.5092, allocations: 41 kB / 0.74 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.313e-05/0.5093, allocations: 63.98 kB / 0.7401 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.5104, allocations: 0.7888 MB / 0.7408 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.5105, allocations: 11.88 kB / 0.7409 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.5105, allocations: 24 kB / 0.7409 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.5105, allocations: 12 kB / 0.7409 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008733/0.5114, allocations: 0.5383 MB / 0.7414 GB, free: 13.88 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.003487/0.5149, allocations: 4.603 MB / 0.7459 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.5156, allocations: 438.3 kB / 0.7463 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/0.516, allocations: 249.9 kB / 0.7466 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.5162, allocations: 190.2 kB / 0.7468 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004635/0.5167, allocations: 301.1 kB / 0.747 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.5167, allocations: 0 / 0.747 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.003559/0.5203, allocations: 1.35 MB / 0.7484 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.5203, allocations: 81.11 kB / 0.7484 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.5215, allocations: 1.11 MB / 0.7495 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.5216, allocations: 37.7 kB / 0.7496 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.522, allocations: 496 kB / 0.75 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.317e-05/0.5221, allocations: 114.5 kB / 0.7501 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.5221, allocations: 8 kB / 0.7501 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.5222, allocations: 329.9 kB / 0.7505 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.5225, allocations: 184.7 kB / 0.7506 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005302/0.5231, allocations: 0.5018 MB / 0.7511 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/0.5235, allocations: 291.1 kB / 0.7514 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5235, allocations: 0 / 0.7514 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002012/0.5255, allocations: 0.9829 MB / 0.7524 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001377/0.5257, allocations: 272.1 kB / 0.7526 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.5257, allocations: 7.984 kB / 0.7526 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.5269, allocations: 328.4 kB / 0.7529 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.5272, allocations: 71.91 kB / 0.753 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008839/0.5281, allocations: 1.014 MB / 0.754 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006247/0.5287, allocations: 107.4 kB / 0.7541 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/0.5288, allocations: 27.98 kB / 0.7541 GB, free: 56 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.156e-06/0.5288, allocations: 6.344 kB / 0.7541 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001312/0.5301, allocations: 0.7398 MB / 0.7549 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5301, allocations: 4 kB / 0.7549 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004912/0.5306, allocations: 217.8 kB / 0.7551 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.5308, allocations: 63.91 kB / 0.7551 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/0.5342, allocations: 3.107 MB / 0.7582 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.5348, allocations: 91.69 kB / 0.7583 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.5348, allocations: 20 kB / 0.7583 GB, free: 11.65 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004309/0.5353, allocations: 480.7 kB / 0.7587 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.5354, allocations: 102.7 kB / 0.7588 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.5366, allocations: 0.7064 MB / 0.7595 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.5366, allocations: 4 kB / 0.7595 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.5366, allocations: 0 / 0.7595 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.5366, allocations: 8 kB / 0.7595 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.5388, allocations: 1.622 MB / 0.7611 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5388, allocations: 4 kB / 0.7611 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.5389, allocations: 27.91 kB / 0.7611 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004339/0.5393, allocations: 216.7 kB / 0.7614 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.5394, allocations: 12.22 kB / 0.7614 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008021/0.5402, allocations: 0.9793 MB / 0.7623 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5402, allocations: 8.016 kB / 0.7623 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.5413, allocations: 0.8346 MB / 0.7631 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.5416, allocations: 223.8 kB / 0.7634 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.5417, allocations: 8 kB / 0.7634 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/0.5422, allocations: 59.78 kB / 0.7634 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/0.5423, allocations: 31.95 kB / 0.7635 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.5423, allocations: 12 kB / 0.7635 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008845/0.5432, allocations: 0.7877 MB / 0.7642 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5432, allocations: 0 / 0.7642 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001169/0.5444, allocations: 451.4 kB / 0.7647 GB, free: 4.906 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003305/0.5447, allocations: 185.3 kB / 0.7648 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.5464, allocations: 1.053 MB / 0.7659 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5464, allocations: 0 / 0.7659 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004746/0.5469, allocations: 238.3 kB / 0.7661 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.5487, allocations: 468.3 kB / 0.7665 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.5513, allocations: 1.978 MB / 0.7685 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/0.552, allocations: 1.185 MB / 0.7696 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008182/0.5529, allocations: 319.6 kB / 0.7699 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.553, allocations: 63.42 kB / 0.77 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.553, allocations: 0 / 0.77 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of Templates: time 0.02732/0.5803, allocations: 18.36 MB / 0.7879 GB, free: 13.23 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)