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.001072/0.001072, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001161/0.001161, allocations: 192.2 kB / 16.14 MB, free: 6.711 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9478/0.9478, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.88 kB / 0.5047 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1931, allocations: 80.92 MB / 0.5837 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4409/0.634, allocations: 159.3 MB / 0.7393 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006028/0.6401, allocations: 3.64 MB / 0.7429 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005766/0.6407, allocations: 13.12 kB / 0.7429 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007797/0.6415, allocations: 134.7 kB / 0.743 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.6432, allocations: 0.499 MB / 0.7435 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.6445, allocations: 383.7 kB / 0.7439 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003381/0.6479, allocations: 3.49 MB / 0.7473 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.6491, allocations: 0.766 MB / 0.748 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.651, allocations: 0.9151 MB / 0.7489 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.6522, allocations: 0.7328 MB / 0.7496 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.6524, allocations: 36.84 kB / 0.7497 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.6541, allocations: 0.8028 MB / 0.7504 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.6545, allocations: 286.9 kB / 0.7507 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008895/0.6554, allocations: 0.5244 MB / 0.7512 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.6573, allocations: 1.382 MB / 0.7526 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6573, allocations: 0 / 0.7526 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6573, allocations: 0 / 0.7526 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.927e-05/0.6573, allocations: 0 / 0.7526 GB, free: 0.5195 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.002702/0.66, allocations: 1.459 MB / 0.754 GB, free: 15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.6601, allocations: 8.031 kB / 0.754 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009382/0.661, allocations: 194.4 kB / 0.7542 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.6626, allocations: 0.7945 MB / 0.755 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/0.6626, allocations: 49 kB / 0.755 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.216e-05/0.6627, allocations: 56 kB / 0.7551 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.6641, allocations: 0.7888 MB / 0.7558 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.6641, allocations: 7.938 kB / 0.7559 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/0.6642, allocations: 16 kB / 0.7559 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.6642, allocations: 23.94 kB / 0.7559 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.6652, allocations: 0.5305 MB / 0.7564 GB, free: 12.41 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.004924/0.6701, allocations: 4.587 MB / 0.7609 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007433/0.6709, allocations: 421.7 kB / 0.7613 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.6713, allocations: 246.4 kB / 0.7615 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/0.6716, allocations: 194.4 kB / 0.7617 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005363/0.6722, allocations: 291.2 kB / 0.762 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.375e-06/0.6722, allocations: 7.938 kB / 0.762 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.004126/0.6763, allocations: 1.317 MB / 0.7633 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.6764, allocations: 81.11 kB / 0.7634 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.6781, allocations: 1.13 MB / 0.7645 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.699e-05/0.6782, allocations: 33.7 kB / 0.7645 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/0.6786, allocations: 489.2 kB / 0.765 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.6788, allocations: 114.5 kB / 0.7651 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.6789, allocations: 109.9 kB / 0.7652 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6791, allocations: 322 kB / 0.7655 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.6795, allocations: 215.4 kB / 0.7657 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.6801, allocations: 0.5272 MB / 0.7662 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000935/0.6811, allocations: 0.6307 MB / 0.7668 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.6811, allocations: 4 kB / 0.7668 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002512/0.6836, allocations: 1.035 MB / 0.7678 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.6837, allocations: 43.81 kB / 0.7679 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.6837, allocations: 4.625 kB / 0.7679 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.6852, allocations: 360.4 kB / 0.7682 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.6854, allocations: 59.89 kB / 0.7683 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.6867, allocations: 1.009 MB / 0.7693 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008374/0.6875, allocations: 99.44 kB / 0.7694 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.6876, allocations: 20 kB / 0.7694 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000782/0.6884, allocations: 0.5006 MB / 0.7699 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005764/0.689, allocations: 489.9 kB / 0.7703 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000902/0.6899, allocations: 0.5586 MB / 0.7709 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.6899, allocations: 4 kB / 0.7709 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.00165/0.6915, allocations: 0.8261 MB / 0.7717 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.6916, allocations: 41.62 kB / 0.7717 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.6916, allocations: 4 kB / 0.7717 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005374/0.6921, allocations: 207.5 kB / 0.7719 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.6924, allocations: 63.84 kB / 0.772 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003758/0.6961, allocations: 3.073 MB / 0.775 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000791/0.6969, allocations: 96 kB / 0.7751 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.697, allocations: 23.98 kB / 0.7751 GB, free: 8.082 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.0002107/0.6972, allocations: 215.1 kB / 0.7753 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.6974, allocations: 106.6 kB / 0.7754 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.6988, allocations: 0.7103 MB / 0.7761 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.6988, allocations: 4 kB / 0.7761 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.6988, allocations: 0 / 0.7761 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.6988, allocations: 0 / 0.7761 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.7014, allocations: 1.607 MB / 0.7777 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.7014, allocations: 7.938 kB / 0.7777 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.7016, allocations: 19.98 kB / 0.7777 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004977/0.7021, allocations: 216.9 kB / 0.7779 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.7021, allocations: 19.88 kB / 0.7779 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009181/0.703, allocations: 0.9756 MB / 0.7789 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7031, allocations: 4.031 kB / 0.7789 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.7043, allocations: 0.8252 MB / 0.7797 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/0.7047, allocations: 219.8 kB / 0.7799 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.7049, allocations: 8 kB / 0.7799 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005236/0.7054, allocations: 43.95 kB / 0.78 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-05/0.7055, allocations: 31.89 kB / 0.78 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.7055, allocations: 8 kB / 0.78 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001173/0.7067, allocations: 0.7994 MB / 0.7808 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7067, allocations: 0 / 0.7808 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001438/0.7082, allocations: 439.4 kB / 0.7812 GB, free: 1.656 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.0004919/0.7087, allocations: 171.3 kB / 0.7814 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002014/0.7107, allocations: 1.065 MB / 0.7824 GB, free: 392 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7107, allocations: 0 / 0.7824 GB, free: 392 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005369/0.7112, allocations: 238.5 kB / 0.7826 GB, free: 156 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.7134, allocations: 449.7 kB / 0.7831 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.7165, allocations: 2.059 MB / 0.7851 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007969/0.7173, allocations: 1.192 MB / 0.7862 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009173/0.7182, allocations: 307.9 kB / 0.7865 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.7183, allocations: 59.44 kB / 0.7866 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.7183, allocations: 0 / 0.7866 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of Templates: time 0.0344/0.7527, allocations: 18.97 MB / 0.8051 GB, free: 9.293 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)