Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 292.3 MB / 308.1 MB, free: 4.281 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.001249/0.001249, allocations: 172.5 kB / 376.9 MB, free: 1.828 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.471/1.471, allocations: 205 MB / 0.6353 GB, free: 9.801 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.001034/0.001034, allocations: 101.6 kB / 0.748 GB, free: 61.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 55.91 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2764, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.6776/0.9541, allocations: 159.4 MB / 1.138 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002568/0.9567, allocations: 1.768 MB / 1.14 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002899/0.9571, allocations: 10.44 kB / 1.14 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005065/0.9576, allocations: 140.6 kB / 1.14 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.9588, allocations: 0.4904 MB / 1.14 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009192/0.9597, allocations: 343 kB / 1.141 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002924/0.9626, allocations: 3.497 MB / 1.144 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009983/0.9637, allocations: 0.7579 MB / 1.145 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.9653, allocations: 0.9174 MB / 1.146 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009033/0.9663, allocations: 0.7308 MB / 1.146 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 8.562e-05/0.9664, allocations: 37.66 kB / 1.146 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.9679, allocations: 0.8011 MB / 1.147 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.9683, allocations: 296 kB / 1.147 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006147/0.9689, allocations: 0.5107 MB / 1.148 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.9703, allocations: 1.382 MB / 1.149 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.9704, allocations: 0 / 1.149 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.32e-07/0.9704, allocations: 4 kB / 1.149 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.9704, allocations: 1.031 kB / 1.149 GB, free: 13.24 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00232/0.9727, allocations: 1.454 MB / 1.151 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.9728, allocations: 13.53 kB / 1.151 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007661/0.9736, allocations: 181.7 kB / 1.151 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.9749, allocations: 0.8019 MB / 1.152 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.9749, allocations: 45.77 kB / 1.152 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.74e-05/0.975, allocations: 61.06 kB / 1.152 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.9762, allocations: 0.7914 MB / 1.152 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.9762, allocations: 7.656 kB / 1.153 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/0.9763, allocations: 22.41 kB / 1.153 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.9763, allocations: 12.84 kB / 1.153 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008305/0.9772, allocations: 0.5378 MB / 1.153 GB, free: 11.07 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.004463/0.9816, allocations: 4.587 MB / 1.158 GB, free: 7.176 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007194/0.9824, allocations: 418.6 kB / 1.158 GB, free: 7.043 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/0.9827, allocations: 245.4 kB / 1.158 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000324/0.9831, allocations: 196.5 kB / 1.158 GB, free: 6.773 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00053/0.9836, allocations: 293.5 kB / 1.159 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=31): time 3.065e-06/0.9836, allocations: 0 / 1.159 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31): time 0.001527/0.9852, allocations: 0.634 MB / 1.159 GB, free: 6.434 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/0.9852, allocations: 87.33 kB / 1.159 GB, free: 6.336 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.9867, allocations: 1.113 MB / 1.16 GB, free: 5.945 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.9867, allocations: 33.08 kB / 1.16 GB, free: 5.91 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/0.9872, allocations: 493.4 kB / 1.161 GB, free: 5.535 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.9873, allocations: 110.3 kB / 1.161 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.9875, allocations: 112.7 kB / 1.161 GB, free: 5.398 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.9877, allocations: 327.8 kB / 1.161 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/0.9881, allocations: 218.8 kB / 1.162 GB, free: 5.016 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007555/0.9889, allocations: 0.5183 MB / 1.162 GB, free: 4.586 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.99, allocations: 0.6283 MB / 1.163 GB, free: 4.207 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.9901, allocations: 3.344 kB / 1.163 GB, free: 4.207 MB / 0.7605 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001461/0.9915, allocations: 0.7262 MB / 1.164 GB, free: 3.914 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.189e-05/0.9916, allocations: 35.36 kB / 1.164 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.9916, allocations: 3.219 kB / 1.164 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.327e-05/0.9917, allocations: 10.28 kB / 1.164 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/0.9936, allocations: 349.2 kB / 1.164 GB, free: 3.863 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/0.9977, allocations: 6.082 MB / 1.17 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000953/0.9987, allocations: 94.61 kB / 1.17 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/0.9987, allocations: 34.75 kB / 1.17 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007891/0.9995, allocations: 0.4966 MB / 1.17 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005525/1, allocations: 498.7 kB / 1.171 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007184/1.001, allocations: 0.5472 MB / 1.171 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/1.001, allocations: 0 / 1.171 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.00107/1.002, allocations: 0.6517 MB / 1.172 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/1.002, allocations: 35.42 kB / 1.172 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.002, allocations: 4.078 kB / 1.172 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/1.002, allocations: 10.44 kB / 1.172 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/1.002, allocations: 153.9 kB / 1.172 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/1.003, allocations: 9.562 kB / 1.172 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006848/1.003, allocations: 85.69 kB / 1.172 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/1.003, allocations: 23.34 kB / 1.172 GB, free: 12.52 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002331/1.003, allocations: 225.8 kB / 1.173 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/1.004, allocations: 97.16 kB / 1.173 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008863/1.005, allocations: 0.4887 MB / 1.173 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.005, allocations: 3.312 kB / 1.173 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.005, allocations: 4.406 kB / 1.173 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.005, allocations: 0 / 1.173 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/1.007, allocations: 1.383 MB / 1.175 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.007, allocations: 0.5 kB / 1.175 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005959/1.007, allocations: 155.8 kB / 1.175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/1.007, allocations: 6.875 kB / 1.175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/1.007, allocations: 11.16 kB / 1.175 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003285/1.011, allocations: 6.021 MB / 1.181 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.011, allocations: 3.938 kB / 1.181 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/1.012, allocations: 1.535 MB / 1.182 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/1.013, allocations: 226.4 kB / 1.182 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/1.013, allocations: 7.312 kB / 1.182 GB, free: 4.133 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005211/1.014, allocations: 44.27 kB / 1.182 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/1.014, allocations: 37.92 kB / 1.182 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/1.014, allocations: 11.38 kB / 1.182 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00106/1.015, allocations: 0.7902 MB / 1.183 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.51e-07/1.015, allocations: 0 / 1.183 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001485/1.016, allocations: 410.2 kB / 1.184 GB, free: 3.773 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 (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000492/1.017, allocations: 189.1 kB / 1.184 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003023/1.02, allocations: 1.072 MB / 1.185 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.02, allocations: 256 / 1.185 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007468/1.021, allocations: 300.4 kB / 1.185 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/1.023, allocations: 451.7 kB / 1.185 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/1.027, allocations: 2.333 MB / 1.188 GB, free: 1.84 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008881/1.028, allocations: 1.193 MB / 1.189 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00116/1.029, allocations: 381 kB / 1.189 GB, free: 1.016 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/1.029, allocations: 61.84 kB / 1.189 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/1.029, allocations: 0 / 1.189 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of Templates: time 0.04015/1.069, allocations: 17.76 MB / 1.207 GB, free: 15.83 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)