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.001581/0.001581, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001757/0.001757, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.477/1.477, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8034/0.8034, allocations: 132.2 MB / 423.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001426, allocations: 67.89 kB / 0.5024 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3858, allocations: 80.19 MB / 0.5808 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1707/0.5565, allocations: 161.6 MB / 0.7386 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00562/0.5622, allocations: 3.622 MB / 0.7421 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005436/0.5628, allocations: 15.88 kB / 0.7421 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.5636, allocations: 162.9 kB / 0.7423 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.5656, allocations: 0.525 MB / 0.7428 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.567, allocations: 436.1 kB / 0.7432 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002864/0.5699, allocations: 2.527 MB / 0.7457 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.5713, allocations: 0.9449 MB / 0.7466 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.5734, allocations: 1.035 MB / 0.7476 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.5747, allocations: 0.7039 MB / 0.7483 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002646/0.5749, allocations: 56 kB / 0.7483 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.5768, allocations: 0.7328 MB / 0.7491 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004977/0.5773, allocations: 306.9 kB / 0.7494 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.5785, allocations: 0.5439 MB / 0.7499 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3657/0.9441, allocations: 1.386 MB / 0.7512 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.9442, allocations: 0 / 0.7512 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.275e-06/0.9442, allocations: 0.8438 kB / 0.7512 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.723e-05/0.9443, allocations: 0 / 0.7512 GB, free: 6.172 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.003747/0.948, allocations: 1.451 MB / 0.7527 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.9481, allocations: 8.812 kB / 0.7527 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.9494, allocations: 185.9 kB / 0.7528 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.9511, allocations: 0.8062 MB / 0.7536 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.9512, allocations: 40.09 kB / 0.7537 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.9513, allocations: 61.88 kB / 0.7537 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.953, allocations: 0.787 MB / 0.7545 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.953, allocations: 7.219 kB / 0.7545 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.816e-05/0.9531, allocations: 26.77 kB / 0.7545 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.9531, allocations: 14.72 kB / 0.7545 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.9544, allocations: 0.5278 MB / 0.7551 GB, free: 4.703 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.006124/0.9606, allocations: 4.61 MB / 0.7596 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.9618, allocations: 421.5 kB / 0.76 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006421/0.9624, allocations: 242.9 kB / 0.7602 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004154/0.9629, allocations: 192.7 kB / 0.7604 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008063/0.9637, allocations: 299.3 kB / 0.7607 GB, free: 17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.595e-06/0.9637, allocations: 0 / 0.7607 GB, free: 17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.006276/0.97, allocations: 1.304 MB / 0.7619 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.9701, allocations: 85.83 kB / 0.762 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.972, allocations: 1.118 MB / 0.7631 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.9722, allocations: 40.22 kB / 0.7631 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004979/0.9727, allocations: 496.2 kB / 0.7636 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.9728, allocations: 111.7 kB / 0.7637 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.9731, allocations: 106.5 kB / 0.7638 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.9732, allocations: 327.3 kB / 0.7641 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005094/0.9738, allocations: 215.4 kB / 0.7643 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007088/0.9745, allocations: 0.5193 MB / 0.7649 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.9757, allocations: 0.631 MB / 0.7655 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.9757, allocations: 2.125 kB / 0.7655 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003647/0.9794, allocations: 1.043 MB / 0.7665 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/0.9795, allocations: 36.16 kB / 0.7665 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.9795, allocations: 6.406 kB / 0.7665 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/0.9815, allocations: 367.4 kB / 0.7669 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.9819, allocations: 60.89 kB / 0.7669 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.9836, allocations: 1.016 MB / 0.7679 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.985, allocations: 69.52 kB / 0.768 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.584e-05/0.9851, allocations: 26.44 kB / 0.768 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001361/0.9865, allocations: 0.4944 MB / 0.7685 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008542/0.9873, allocations: 491.2 kB / 0.769 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001177/0.9885, allocations: 0.5623 MB / 0.7695 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.527e-06/0.9886, allocations: 3.312 kB / 0.7695 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.002705/0.9913, allocations: 0.8289 MB / 0.7703 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.246e-05/0.9913, allocations: 40.36 kB / 0.7704 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.9914, allocations: 5.188 kB / 0.7704 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007451/0.9921, allocations: 205 kB / 0.7706 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.9924, allocations: 60.03 kB / 0.7706 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005068/0.9975, allocations: 3.351 MB / 0.7739 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.9989, allocations: 72.05 kB / 0.774 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.305e-05/0.999, allocations: 22.7 kB / 0.774 GB, free: 12.07 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.000358/0.9994, allocations: 219.5 kB / 0.7742 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003938/0.9998, allocations: 98.81 kB / 0.7743 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/1.002, allocations: 0.7048 MB / 0.775 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.002, allocations: 2.688 kB / 0.775 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.002, allocations: 1.031 kB / 0.775 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/1.002, allocations: 3 kB / 0.775 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003933/1.006, allocations: 1.609 MB / 0.7766 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.006, allocations: 0.875 kB / 0.7766 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/1.006, allocations: 21.83 kB / 0.7766 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006701/1.007, allocations: 223.9 kB / 0.7768 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/1.007, allocations: 11.44 kB / 0.7768 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/1.008, allocations: 0.9849 MB / 0.7778 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.008, allocations: 3.219 kB / 0.7778 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/1.01, allocations: 0.8263 MB / 0.7786 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006853/1.011, allocations: 217.1 kB / 0.7788 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/1.011, allocations: 12.55 kB / 0.7788 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008378/1.012, allocations: 20.42 kB / 0.7788 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/1.012, allocations: 29.81 kB / 0.7788 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/1.012, allocations: 14.33 kB / 0.7789 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001808/1.014, allocations: 0.7917 MB / 0.7796 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/1.014, allocations: 1.094 kB / 0.7796 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002629/1.016, allocations: 440 kB / 0.7801 GB, free: 10.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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005968/1.017, allocations: 177.5 kB / 0.7802 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002698/1.02, allocations: 1.088 MB / 0.7813 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.02, allocations: 0.8125 kB / 0.7813 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006327/1.02, allocations: 225.7 kB / 0.7815 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/1.023, allocations: 454.3 kB / 0.7819 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/1.027, allocations: 1.817 MB / 0.7837 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.028, allocations: 1.186 MB / 0.7849 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/1.029, allocations: 63.75 kB / 0.7849 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/1.029, allocations: 4.188 kB / 0.7849 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of Templates: time 0.0307/1.059, allocations: 20.32 MB / 0.8048 GB, free: 2.539 MB / 0.5919 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)