Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001125/0.001126, allocations: 103.4 kB / 15.98 MB, free: 5.891 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.001101/0.001101, allocations: 189.7 kB / 16.91 MB, free: 5.746 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.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.966/0.966, allocations: 135.1 MB / 425.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 67.48 kB / 0.5055 GB, free: 5.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1593, allocations: 80.93 MB / 0.5845 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4544/0.6138, allocations: 159.4 MB / 0.7402 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005303/0.6191, allocations: 3.596 MB / 0.7437 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004768/0.6196, allocations: 9.125 kB / 0.7437 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006564/0.6203, allocations: 139.9 kB / 0.7438 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.6219, allocations: 0.4958 MB / 0.7443 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.6233, allocations: 394.7 kB / 0.7447 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002961/0.6263, allocations: 2.565 MB / 0.7472 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.6275, allocations: 0.8987 MB / 0.7481 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.6296, allocations: 1.073 MB / 0.7491 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.6306, allocations: 0.7437 MB / 0.7499 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.6308, allocations: 54.44 kB / 0.7499 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.6323, allocations: 0.7641 MB / 0.7507 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003415/0.6327, allocations: 310.9 kB / 0.751 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006867/0.6333, allocations: 0.5479 MB / 0.7515 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.6346, allocations: 1.052 MB / 0.7525 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.6346, allocations: 0 / 0.7525 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6346, allocations: 0 / 0.7525 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.6346, allocations: 0 / 0.7525 GB, free: 1.316 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.002284/0.6369, allocations: 1.447 MB / 0.7539 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.637, allocations: 12.03 kB / 0.7539 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008219/0.6378, allocations: 190.5 kB / 0.7541 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.639, allocations: 0.8022 MB / 0.7549 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.6391, allocations: 45 kB / 0.7549 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.6392, allocations: 56 kB / 0.755 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.6405, allocations: 0.7939 MB / 0.7558 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.6405, allocations: 7.938 kB / 0.7558 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-05/0.6406, allocations: 24 kB / 0.7558 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.6406, allocations: 15.94 kB / 0.7558 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009818/0.6416, allocations: 0.5266 MB / 0.7563 GB, free: 13.21 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.004321/0.6459, allocations: 4.587 MB / 0.7608 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007218/0.6466, allocations: 418.3 kB / 0.7612 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/0.647, allocations: 246.4 kB / 0.7614 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/0.6473, allocations: 190.2 kB / 0.7616 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005105/0.6479, allocations: 303.2 kB / 0.7619 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.245e-06/0.6479, allocations: 0 / 0.7619 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.00403/0.6519, allocations: 1.322 MB / 0.7632 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.652, allocations: 85.11 kB / 0.7633 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.6535, allocations: 1.118 MB / 0.7644 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.17e-05/0.6536, allocations: 33.7 kB / 0.7644 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.654, allocations: 489.2 kB / 0.7649 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.6541, allocations: 114.7 kB / 0.765 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.6543, allocations: 106 kB / 0.7651 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6544, allocations: 333.9 kB / 0.7654 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.6548, allocations: 210.4 kB / 0.7656 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006205/0.6554, allocations: 0.5213 MB / 0.7661 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008626/0.6563, allocations: 0.627 MB / 0.7667 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6563, allocations: 4 kB / 0.7667 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002436/0.6588, allocations: 1.044 MB / 0.7678 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/0.6588, allocations: 37.69 kB / 0.7678 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.6589, allocations: 4 kB / 0.7678 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.6603, allocations: 372.5 kB / 0.7682 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.6605, allocations: 55.91 kB / 0.7682 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.6617, allocations: 1.011 MB / 0.7692 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008535/0.6625, allocations: 95.53 kB / 0.7693 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.6626, allocations: 24 kB / 0.7693 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007348/0.6633, allocations: 0.4928 MB / 0.7698 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005504/0.6639, allocations: 497.9 kB / 0.7703 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007445/0.6647, allocations: 0.5547 MB / 0.7708 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.679e-06/0.6647, allocations: 3.984 kB / 0.7708 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001607/0.6663, allocations: 0.83 MB / 0.7716 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.6663, allocations: 45.62 kB / 0.7717 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.6664, allocations: 4 kB / 0.7717 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005078/0.6669, allocations: 205.1 kB / 0.7719 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.6671, allocations: 59.91 kB / 0.7719 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003827/0.6709, allocations: 3.337 MB / 0.7752 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008431/0.6718, allocations: 92.02 kB / 0.7753 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.6718, allocations: 31.97 kB / 0.7753 GB, free: 8.609 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.000231/0.6721, allocations: 214.2 kB / 0.7755 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.6722, allocations: 106.7 kB / 0.7756 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.6736, allocations: 0.7103 MB / 0.7763 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.6736, allocations: 0 / 0.7763 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6736, allocations: 4 kB / 0.7763 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.6736, allocations: 0 / 0.7763 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.6761, allocations: 1.603 MB / 0.7779 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.6761, allocations: 7.984 kB / 0.7779 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.6762, allocations: 23.92 kB / 0.7779 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/0.6767, allocations: 228.9 kB / 0.7781 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.6767, allocations: 12 kB / 0.7781 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008743/0.6776, allocations: 0.9793 MB / 0.7791 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/0.6776, allocations: 4.031 kB / 0.7791 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.6789, allocations: 0.8252 MB / 0.7799 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/0.6792, allocations: 215.8 kB / 0.7801 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.6793, allocations: 15.94 kB / 0.7801 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.6798, allocations: 39.95 kB / 0.7801 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/0.6799, allocations: 27.97 kB / 0.7802 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.6799, allocations: 15.98 kB / 0.7802 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009989/0.6809, allocations: 0.7877 MB / 0.781 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.11e-07/0.6809, allocations: 0 / 0.781 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001297/0.6822, allocations: 447.4 kB / 0.7814 GB, free: 2.176 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.0004379/0.6827, allocations: 173.1 kB / 0.7816 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001919/0.6846, allocations: 1.075 MB / 0.7826 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6846, allocations: 0 / 0.7826 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.6851, allocations: 222.6 kB / 0.7828 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.687, allocations: 462.7 kB / 0.7833 GB, free: 252 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.6901, allocations: 2.116 MB / 0.7853 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007137/0.6908, allocations: 1.188 MB / 0.7865 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.691, allocations: 59.44 kB / 0.7865 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.691, allocations: 0 / 0.7865 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.02742/0.7184, allocations: 20.32 MB / 0.8064 GB, free: 8.578 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)