Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 292.3 MB / 308.1 MB, free: 4.309 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.001177/0.001176, allocations: 179 kB / 376.9 MB, free: 1.816 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.585/1.585, allocations: 205 MB / 0.6353 GB, free: 9.793 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.0009746/0.0009745, allocations: 101.7 kB / 0.748 GB, free: 61.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.259, allocations: 114.6 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.6681/0.9271, allocations: 159.3 MB / 1.138 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004944/0.9321, allocations: 3.625 MB / 1.141 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005679/0.9327, allocations: 10.25 kB / 1.141 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0007246/0.9335, allocations: 143.7 kB / 1.142 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.9351, allocations: 0.4912 MB / 1.142 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.9365, allocations: 383.7 kB / 1.142 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003507/0.94, allocations: 3.506 MB / 1.146 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.9414, allocations: 0.763 MB / 1.147 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002348/0.9438, allocations: 0.9364 MB / 1.147 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.9453, allocations: 0.7249 MB / 1.148 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002713/0.9456, allocations: 42.5 kB / 1.148 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.9478, allocations: 0.8003 MB / 1.149 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0005615/0.9484, allocations: 288.4 kB / 1.149 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.9498, allocations: 0.5193 MB / 1.15 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00213/0.9519, allocations: 1.387 MB / 1.151 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.952, allocations: 0 / 1.151 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.603e-06/0.952, allocations: 0 / 1.151 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.952, allocations: 3.25 kB / 1.151 GB, free: 11.89 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.002685/0.9547, allocations: 1.455 MB / 1.153 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.9547, allocations: 9.781 kB / 1.153 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007603/0.9555, allocations: 192.1 kB / 1.153 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.9569, allocations: 0.797 MB / 1.154 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-05/0.957, allocations: 48.22 kB / 1.154 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.241e-05/0.9571, allocations: 55.22 kB / 1.154 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.9584, allocations: 0.7928 MB / 1.154 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.9584, allocations: 3.938 kB / 1.154 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.495e-05/0.9585, allocations: 21.94 kB / 1.154 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.9585, allocations: 16.09 kB / 1.154 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008686/0.9594, allocations: 0.5339 MB / 1.155 GB, free: 9.727 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.004232/0.9637, allocations: 4.584 MB / 1.159 GB, free: 5.84 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.9644, allocations: 412.5 kB / 1.16 GB, free: 5.715 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.9647, allocations: 248.8 kB / 1.16 GB, free: 5.637 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003068/0.965, allocations: 195.4 kB / 1.16 GB, free: 5.441 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004921/0.9655, allocations: 303 kB / 1.161 GB, free: 5.312 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.9656, allocations: 0 / 1.161 GB, free: 5.312 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31): time 0.004748/0.9703, allocations: 1.645 MB / 1.162 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.9704, allocations: 83.64 kB / 1.162 GB, free: 4.785 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.9717, allocations: 1.118 MB / 1.163 GB, free: 4.395 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/0.9718, allocations: 36.17 kB / 1.163 GB, free: 4.359 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/0.9722, allocations: 486 kB / 1.164 GB, free: 3.988 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.873e-05/0.9723, allocations: 114 kB / 1.164 GB, free: 3.902 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.9724, allocations: 115.3 kB / 1.164 GB, free: 3.844 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.9726, allocations: 327 kB / 1.164 GB, free: 3.531 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/0.9729, allocations: 212.5 kB / 1.165 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/0.9735, allocations: 0.5217 MB / 1.165 GB, free: 3.039 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008583/0.9744, allocations: 0.636 MB / 1.166 GB, free: 2.648 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.9744, allocations: 3.094 kB / 1.166 GB, free: 2.648 MB / 0.7605 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00208/0.9765, allocations: 1.036 MB / 1.167 GB, free: 2.281 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.9766, allocations: 35.42 kB / 1.167 GB, free: 2.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.9766, allocations: 6.906 kB / 1.167 GB, free: 2.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.9778, allocations: 383.7 kB / 1.167 GB, free: 2.18 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.978, allocations: 62.03 kB / 1.167 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.9793, allocations: 1.082 MB / 1.168 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007833/0.9801, allocations: 101.9 kB / 1.168 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.9802, allocations: 25.78 kB / 1.168 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007151/0.9809, allocations: 0.4944 MB / 1.169 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005263/0.9814, allocations: 0.4926 MB / 1.169 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008265/0.9823, allocations: 0.5447 MB / 1.17 GB, free: 472 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.498e-06/0.9823, allocations: 1.875 kB / 1.17 GB, free: 472 kB / 0.7605 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001587/0.9839, allocations: 0.832 MB / 1.171 GB, free: 136 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.9839, allocations: 36.58 kB / 1.171 GB, free: 100 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.9839, allocations: 7.281 kB / 1.171 GB, free: 100 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005435/0.9845, allocations: 215 kB / 1.171 GB, free: 52 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.9847, allocations: 66.81 kB / 1.171 GB, free: 40 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/0.9885, allocations: 2.997 MB / 1.174 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.9896, allocations: 90.84 kB / 1.174 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/0.9897, allocations: 21.78 kB / 1.174 GB, free: 13.97 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003375/0.9901, allocations: 220.6 kB / 1.174 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.9903, allocations: 96.03 kB / 1.174 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.9917, allocations: 0.716 MB / 1.175 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.9918, allocations: 7 kB / 1.175 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.9918, allocations: 2.969 kB / 1.175 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9918, allocations: 0 / 1.175 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/0.9943, allocations: 1.602 MB / 1.177 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.9943, allocations: 3.219 kB / 1.177 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.9944, allocations: 22.98 kB / 1.177 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/0.9949, allocations: 244.5 kB / 1.177 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.9949, allocations: 10.34 kB / 1.177 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009231/0.9959, allocations: 1.03 MB / 1.178 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9959, allocations: 3.156 kB / 1.178 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.998, allocations: 1.774 MB / 1.18 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005237/0.9985, allocations: 215.6 kB / 1.18 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.9986, allocations: 10.61 kB / 1.18 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.9991, allocations: 46.94 kB / 1.18 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.9993, allocations: 36.66 kB / 1.18 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.9993, allocations: 13 kB / 1.18 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001148/1, allocations: 0.7901 MB / 1.181 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.01e-07/1, allocations: 0 / 1.181 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001971/1.002, allocations: 444.9 kB / 1.181 GB, free: 10.19 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005709/1.003, allocations: 179.3 kB / 1.181 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002775/1.006, allocations: 1.203 MB / 1.182 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.006, allocations: 4 kB / 1.182 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006713/1.006, allocations: 277 kB / 1.183 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/1.009, allocations: 455.7 kB / 1.183 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/1.013, allocations: 2.323 MB / 1.185 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/1.014, allocations: 1.188 MB / 1.187 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001166/1.015, allocations: 305.3 kB / 1.187 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/1.015, allocations: 64.2 kB / 1.187 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of SimCode: time 1.202e-06/1.015, allocations: 1.438 kB / 1.187 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of Templates: time 0.04431/1.06, allocations: 19.06 MB / 1.206 GB, free: 5.938 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)