Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 292.3 MB / 308.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001362/0.001362, allocations: 188.5 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 99.34 kB / 0.748 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 51.91 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.277, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.6896/0.9667, allocations: 159.4 MB / 1.138 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004411/0.9712, allocations: 3.63 MB / 1.141 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.9716, allocations: 10.56 kB / 1.141 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.9723, allocations: 140.1 kB / 1.142 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.9736, allocations: 0.4966 MB / 1.142 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.9748, allocations: 385.5 kB / 1.142 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003192/0.978, allocations: 3.505 MB / 1.146 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.9791, allocations: 0.7685 MB / 1.147 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.9807, allocations: 0.9219 MB / 1.147 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007975/0.9815, allocations: 0.7399 MB / 1.148 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 8.678e-05/0.9816, allocations: 35.25 kB / 1.148 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.9831, allocations: 0.7998 MB / 1.149 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.9834, allocations: 286.3 kB / 1.149 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0005835/0.984, allocations: 0.5197 MB / 1.15 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.9854, allocations: 1.381 MB / 1.151 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.9854, allocations: 4.844 kB / 1.151 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.185e-06/0.9854, allocations: 3.125 kB / 1.151 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.9854, allocations: 0 / 1.151 GB, free: 11.82 MB / 0.7605 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.002356/0.9878, allocations: 1.448 MB / 1.153 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9879, allocations: 13.91 kB / 1.153 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006949/0.9886, allocations: 194 kB / 1.153 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.9898, allocations: 0.7966 MB / 1.154 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.9898, allocations: 45.98 kB / 1.154 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.84e-05/0.9899, allocations: 61.97 kB / 1.154 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.991, allocations: 0.785 MB / 1.154 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.991, allocations: 7.125 kB / 1.154 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.9911, allocations: 22.47 kB / 1.154 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.9911, allocations: 12.81 kB / 1.154 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008092/0.9919, allocations: 0.5347 MB / 1.155 GB, free: 9.648 MB / 0.7605 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.003999/0.9959, allocations: 4.586 MB / 1.159 GB, free: 5.762 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006864/0.9966, allocations: 424.5 kB / 1.16 GB, free: 5.629 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.997, allocations: 245 kB / 1.16 GB, free: 5.555 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/0.9973, allocations: 191.3 kB / 1.16 GB, free: 5.363 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004696/0.9978, allocations: 297.1 kB / 1.161 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=31): time 2.274e-06/0.9978, allocations: 224 / 1.161 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31): time 0.003795/1.002, allocations: 1.325 MB / 1.162 GB, free: 4.801 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/1.002, allocations: 87.7 kB / 1.162 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/1.003, allocations: 1.123 MB / 1.163 GB, free: 4.309 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/1.003, allocations: 33.8 kB / 1.163 GB, free: 4.273 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003743/1.003, allocations: 489.1 kB / 1.163 GB, free: 3.902 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.311e-05/1.004, allocations: 112.5 kB / 1.164 GB, free: 3.816 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/1.004, allocations: 108 kB / 1.164 GB, free: 3.762 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.004, allocations: 330.9 kB / 1.164 GB, free: 3.445 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/1.004, allocations: 210.5 kB / 1.164 GB, free: 3.387 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/1.005, allocations: 0.5179 MB / 1.165 GB, free: 2.961 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008168/1.006, allocations: 0.6316 MB / 1.165 GB, free: 2.57 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.006, allocations: 3.188 kB / 1.165 GB, free: 2.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002149/1.008, allocations: 1.039 MB / 1.166 GB, free: 2.203 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/1.008, allocations: 40.27 kB / 1.166 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.008, allocations: 7.812 kB / 1.166 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/1.009, allocations: 356.9 kB / 1.167 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/1.009, allocations: 68.44 kB / 1.167 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/1.01, allocations: 1.018 MB / 1.168 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008612/1.011, allocations: 89.48 kB / 1.168 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/1.011, allocations: 26.89 kB / 1.168 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007563/1.012, allocations: 0.4974 MB / 1.168 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005017/1.013, allocations: 493.4 kB / 1.169 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006821/1.013, allocations: 0.5537 MB / 1.169 GB, free: 384 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.825e-06/1.013, allocations: 1.219 kB / 1.169 GB, free: 384 kB / 0.7605 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001436/1.015, allocations: 0.8257 MB / 1.17 GB, free: 52 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/1.015, allocations: 31.95 kB / 1.17 GB, free: 20 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.015, allocations: 10.06 kB / 1.17 GB, free: 16 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005212/1.015, allocations: 209.1 kB / 1.17 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/1.016, allocations: 68.75 kB / 1.171 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00349/1.019, allocations: 3.072 MB / 1.174 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008738/1.02, allocations: 99.72 kB / 1.174 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/1.02, allocations: 20.41 kB / 1.174 GB, free: 13.8 MB / 0.7761 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.0002381/1.02, allocations: 213 kB / 1.174 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/1.02, allocations: 104.6 kB / 1.174 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/1.022, allocations: 0.7087 MB / 1.175 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.022, allocations: 7.125 kB / 1.175 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/1.022, allocations: 0.75 kB / 1.175 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/1.022, allocations: 7.594 kB / 1.175 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/1.024, allocations: 1.607 MB / 1.176 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.024, allocations: 6.984 kB / 1.176 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/1.024, allocations: 24.41 kB / 1.176 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004407/1.025, allocations: 223.8 kB / 1.176 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/1.025, allocations: 8.156 kB / 1.176 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008318/1.026, allocations: 0.9877 MB / 1.177 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.026, allocations: 4.062 kB / 1.177 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/1.028, allocations: 1.769 MB / 1.179 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/1.028, allocations: 218.1 kB / 1.179 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.846e-05/1.028, allocations: 12.06 kB / 1.179 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/1.029, allocations: 45.88 kB / 1.179 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/1.029, allocations: 27.41 kB / 1.179 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/1.029, allocations: 16.83 kB / 1.179 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0009322/1.03, allocations: 0.7912 MB / 1.18 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.6e-07/1.03, allocations: 1.344 kB / 1.18 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001511/1.031, allocations: 441.1 kB / 1.181 GB, free: 9.992 MB / 0.7761 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.0004173/1.032, allocations: 176.3 kB / 1.181 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001975/1.034, allocations: 1.067 MB / 1.182 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.034, allocations: 1.219 kB / 1.182 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005158/1.034, allocations: 236 kB / 1.182 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/1.036, allocations: 462.1 kB / 1.183 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/1.04, allocations: 2.293 MB / 1.185 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/1.041, allocations: 1.192 MB / 1.186 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001338/1.043, allocations: 306.5 kB / 1.186 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/1.043, allocations: 57.09 kB / 1.186 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of SimCode: time 2.344e-06/1.043, allocations: 0 / 1.186 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of Templates: time 0.04234/1.085, allocations: 19.47 MB / 1.205 GB, free: 5.766 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)