Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009069/0.000907, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.006733/0.006733, allocations: 173 kB / 16.26 MB, free: 6.613 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.443/1.443, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 12.97 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3252, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1971/0.5224, allocations: 157.3 MB / 1.228 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005157/0.5276, allocations: 3.58 MB / 1.231 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004221/0.5281, allocations: 7.938 kB / 1.231 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006276/0.5287, allocations: 143.1 kB / 1.231 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.5302, allocations: 0.4941 MB / 1.232 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.5316, allocations: 390.3 kB / 1.232 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003761/0.5354, allocations: 3.483 MB / 1.236 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.5366, allocations: 0.7582 MB / 1.236 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.5383, allocations: 0.9141 MB / 1.237 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009567/0.5393, allocations: 0.7116 MB / 1.238 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.729e-05/0.5394, allocations: 32 kB / 1.238 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.541, allocations: 0.799 MB / 1.239 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.5413, allocations: 274.9 kB / 1.239 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006279/0.5419, allocations: 0.5339 MB / 1.24 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.5436, allocations: 1.363 MB / 1.241 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5436, allocations: 0 / 1.241 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5436, allocations: 4 kB / 1.241 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.5436, allocations: 0 / 1.241 GB, free: 12.13 MB / 0.9981 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.002198/0.5458, allocations: 1.272 MB / 1.242 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5459, allocations: 12.03 kB / 1.242 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007587/0.5467, allocations: 190.5 kB / 1.242 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.5479, allocations: 0.7984 MB / 1.243 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.5479, allocations: 44.98 kB / 1.243 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.096e-05/0.548, allocations: 56 kB / 1.243 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.5492, allocations: 0.8004 MB / 1.244 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.5493, allocations: 3.938 kB / 1.244 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.604e-05/0.5493, allocations: 24 kB / 1.244 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.5493, allocations: 15.94 kB / 1.244 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.5504, allocations: 0.5461 MB / 1.245 GB, free: 8.18 MB / 0.9981 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.00442/0.5548, allocations: 4.599 MB / 1.249 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008625/0.5557, allocations: 430.3 kB / 1.249 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/0.5561, allocations: 249.5 kB / 1.25 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000334/0.5565, allocations: 198.1 kB / 1.25 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005539/0.557, allocations: 305.6 kB / 1.25 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.675e-06/0.557, allocations: 0 / 1.25 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.00525/0.5623, allocations: 1.676 MB / 1.252 GB, free: 272 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.5624, allocations: 81.11 kB / 1.252 GB, free: 172 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5265/1.089, allocations: 1.117 MB / 1.253 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/1.089, allocations: 35.31 kB / 1.253 GB, free: 184 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003683/1.089, allocations: 490.4 kB / 1.254 GB, free: 184 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.374e-05/1.09, allocations: 112.6 kB / 1.254 GB, free: 184 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/1.09, allocations: 43.7 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.589e-05/1.09, allocations: 322.1 kB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004523/1.09, allocations: 214.6 kB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/1.091, allocations: 0.5254 MB / 1.255 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009187/1.092, allocations: 0.6431 MB / 1.255 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.092, allocations: 4.469 kB / 1.255 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00236/1.094, allocations: 1.047 MB / 1.256 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/1.094, allocations: 276.5 kB / 1.257 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.094, allocations: 5.688 kB / 1.257 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/1.095, allocations: 391.3 kB / 1.257 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/1.096, allocations: 60.12 kB / 1.257 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/1.097, allocations: 1.097 MB / 1.258 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007175/1.098, allocations: 95.2 kB / 1.258 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/1.098, allocations: 26.42 kB / 1.258 GB, free: 182 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.874e-06/1.098, allocations: 4.5 kB / 1.258 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001308/1.099, allocations: 0.7384 MB / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.099, allocations: 8.547 kB / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005263/1.1, allocations: 212.5 kB / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/1.1, allocations: 65.69 kB / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/1.103, allocations: 3.006 MB / 1.262 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/1.104, allocations: 91.28 kB / 1.262 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/1.104, allocations: 24.55 kB / 1.262 GB, free: 180.2 MB / 0.9981 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.0004909/1.104, allocations: 468.4 kB / 1.263 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/1.104, allocations: 98.59 kB / 1.263 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/1.106, allocations: 0.7151 MB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.106, allocations: 6.484 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.106, allocations: 4.641 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/1.106, allocations: 5.047 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/1.108, allocations: 1.62 MB / 1.265 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/1.108, allocations: 3.234 kB / 1.265 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/1.108, allocations: 22.58 kB / 1.265 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004602/1.109, allocations: 256.7 kB / 1.265 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/1.109, allocations: 10.7 kB / 1.265 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008626/1.109, allocations: 1.036 MB / 1.266 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.109, allocations: 6.219 kB / 1.266 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/1.111, allocations: 0.8345 MB / 1.267 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/1.111, allocations: 221.1 kB / 1.267 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/1.111, allocations: 9.344 kB / 1.267 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004916/1.111, allocations: 56.19 kB / 1.267 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/1.112, allocations: 28.94 kB / 1.268 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/1.112, allocations: 15.69 kB / 1.268 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001005/1.113, allocations: 0.7957 MB / 1.268 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.113, allocations: 1.562 kB / 1.268 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00124/1.114, allocations: 433.1 kB / 1.269 GB, free: 177.1 MB / 0.9981 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.0003864/1.114, allocations: 169.5 kB / 1.269 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002408/1.117, allocations: 1.223 MB / 1.27 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.117, allocations: 3.938 kB / 1.27 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006153/1.117, allocations: 274.6 kB / 1.27 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/1.12, allocations: 461 kB / 1.271 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/1.123, allocations: 2.098 MB / 1.273 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008751/1.124, allocations: 1.189 MB / 1.274 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001126/1.125, allocations: 310 kB / 1.274 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/1.125, allocations: 58.06 kB / 1.274 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of SimCode: time 4.4e-07/1.125, allocations: 0 / 1.274 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03455/1.16, allocations: 18.4 MB / 1.292 GB, free: 168 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)