Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009762/0.0009763, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006431/0.0006432, allocations: 18.31 kB / 0.6735 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2284, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.6104/0.8389, allocations: 135.6 MB / 0.9196 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003073/0.842, allocations: 1.608 MB / 0.9211 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003815/0.8424, allocations: 8.844 kB / 0.9211 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008115/0.8433, allocations: 174.3 kB / 0.9213 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.845, allocations: 490.2 kB / 0.9218 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.8464, allocations: 435.1 kB / 0.9222 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008981/0.8473, allocations: 357.7 kB / 0.9225 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003705/0.8477, allocations: 140.4 kB / 0.9227 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006559/0.8484, allocations: 223.2 kB / 0.9229 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.8486, allocations: 96.41 kB / 0.923 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.8486, allocations: 9.219 kB / 0.923 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.8498, allocations: 385.2 kB / 0.9233 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.8499, allocations: 69.69 kB / 0.9234 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004545/0.8504, allocations: 71.27 kB / 0.9235 GB, free: 21.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005676/0.851, allocations: 284.7 kB / 0.9237 GB, free: 21.73 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.851, allocations: 0 / 0.9237 GB, free: 21.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.146e-06/0.851, allocations: 0.6094 kB / 0.9237 GB, free: 21.73 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.851, allocations: 0 / 0.9237 GB, free: 21.73 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008586/0.8519, allocations: 0.5272 MB / 0.9243 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.8519, allocations: 16.02 kB / 0.9243 GB, free: 21.28 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/0.8523, allocations: 54.78 kB / 0.9243 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.8527, allocations: 289.2 kB / 0.9246 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.8527, allocations: 8.594 kB / 0.9246 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.8528, allocations: 16.52 kB / 0.9246 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.8531, allocations: 197.1 kB / 0.9248 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.8532, allocations: 2.562 kB / 0.9248 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.8532, allocations: 3.625 kB / 0.9248 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.8532, allocations: 5.156 kB / 0.9248 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.8535, allocations: 137.4 kB / 0.925 GB, free: 20.98 MB / 0.7325 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.001012/0.8545, allocations: 0.7806 MB / 0.9257 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.8548, allocations: 98.2 kB / 0.9258 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.679e-05/0.8548, allocations: 9.062 kB / 0.9258 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.8549, allocations: 37.27 kB / 0.9259 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.8549, allocations: 0 / 0.9259 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006675/0.8555, allocations: 234 kB / 0.9261 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.8556, allocations: 54.64 kB / 0.9261 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.8559, allocations: 263.3 kB / 0.9264 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.8559, allocations: 28.95 kB / 0.9264 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.349e-05/0.856, allocations: 143.7 kB / 0.9265 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.856, allocations: 38.69 kB / 0.9266 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.856, allocations: 4.969 kB / 0.9266 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.8562, allocations: 336.5 kB / 0.9269 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.8563, allocations: 48.95 kB / 0.927 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.8564, allocations: 93.23 kB / 0.927 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.8566, allocations: 66.39 kB / 0.9271 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8566, allocations: 0 / 0.9271 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000309/0.8569, allocations: 171.1 kB / 0.9273 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.8571, allocations: 366.6 kB / 0.9276 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.8571, allocations: 0 / 0.9276 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.8571, allocations: 2.625 kB / 0.9276 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.8572, allocations: 28.48 kB / 0.9277 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.8572, allocations: 4.547 kB / 0.9277 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.8574, allocations: 26.17 kB / 0.9277 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.8574, allocations: 9.312 kB / 0.9277 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/0.8575, allocations: 6.844 kB / 0.9277 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002567/0.8577, allocations: 113.5 kB / 0.9278 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/0.8577, allocations: 0.6562 kB / 0.9278 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/0.8577, allocations: 2.625 kB / 0.9278 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.8578, allocations: 31.95 kB / 0.9278 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.8579, allocations: 2.906 kB / 0.9278 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.858, allocations: 26.31 kB / 0.9279 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.858, allocations: 5.906 kB / 0.9279 GB, free: 19.21 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.8582, allocations: 220.4 kB / 0.9281 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.8582, allocations: 26.22 kB / 0.9281 GB, free: 19 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.8586, allocations: 166.5 kB / 0.9283 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.8586, allocations: 2.406 kB / 0.9283 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.8586, allocations: 0 / 0.9283 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.8586, allocations: 0.6562 kB / 0.9283 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008487/0.8595, allocations: 0.6028 MB / 0.9289 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.8595, allocations: 2.719 kB / 0.9289 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.8596, allocations: 26.81 kB / 0.9289 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.8596, allocations: 8.359 kB / 0.9289 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.8596, allocations: 6.281 kB / 0.9289 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.8596, allocations: 4.531 kB / 0.9289 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8597, allocations: 2.406 kB / 0.9289 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.86, allocations: 389.2 kB / 0.9293 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.8601, allocations: 121.6 kB / 0.9294 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.8602, allocations: 7.094 kB / 0.9294 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.8604, allocations: 16.91 kB / 0.9294 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.8604, allocations: 15.41 kB / 0.9294 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.8604, allocations: 9.594 kB / 0.9294 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001947/0.8606, allocations: 193 kB / 0.9296 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8606, allocations: 192 / 0.9296 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004884/0.8611, allocations: 94.86 kB / 0.9297 GB, free: 18.06 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004059/0.8616, allocations: 169.6 kB / 0.9299 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004556/0.862, allocations: 176.2 kB / 0.93 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.862, allocations: 0 / 0.93 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.8622, allocations: 72.44 kB / 0.9301 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00076/0.8629, allocations: 128.9 kB / 0.9302 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006582/0.8636, allocations: 0.4925 MB / 0.9307 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.864, allocations: 0.7663 MB / 0.9315 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002315/0.8642, allocations: 67.55 kB / 0.9315 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.8643, allocations: 23.81 kB / 0.9316 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.8643, allocations: 0 / 0.9316 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.009874/0.8742, allocations: 4.113 MB / 0.9356 GB, free: 16.62 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) Environment - environmentSimulation: