Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.677/1.677, allocations: 285.4 MB / 298 MB, free: 5.973 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.001117/0.001117, allocations: 184.8 kB / 366.4 MB, free: 2.109 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.525/1.525, allocations: 205.1 MB / 0.6248 GB, free: 7.762 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.0008516/0.0008516, allocations: 95.44 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.023e-05/4.043e-05, allocations: 4 kB / 0.8583 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7574/0.7575, allocations: 115.3 MB / 0.9709 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.969/5.726, allocations: 2.062 GB / 3.033 GB, free: 32.66 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004291/5.727, allocations: 82.95 kB / 3.033 GB, free: 32.62 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.026/6.753, allocations: 220.1 MB / 3.248 GB, free: 201.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.023e-06/6.753, allocations: 0 / 3.248 GB, free: 201.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.789e-05/6.753, allocations: 11.92 kB / 3.248 GB, free: 201.9 MB / 0.948 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.001157/6.754, allocations: 0.5562 MB / 3.249 GB, free: 201.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/6.754, allocations: 8.031 kB / 3.249 GB, free: 201.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004351/6.754, allocations: 59.59 kB / 3.249 GB, free: 201.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/6.755, allocations: 301.5 kB / 3.249 GB, free: 200.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/6.755, allocations: 15.95 kB / 3.249 GB, free: 200.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/6.755, allocations: 16 kB / 3.249 GB, free: 200.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/6.755, allocations: 169 kB / 3.249 GB, free: 200.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/6.755, allocations: 0 / 3.249 GB, free: 200.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/6.755, allocations: 8 kB / 3.249 GB, free: 200.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/6.756, allocations: 8 kB / 3.249 GB, free: 200.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/6.756, allocations: 95.84 kB / 3.249 GB, free: 200.5 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.001105/6.757, allocations: 0.7927 MB / 3.25 GB, free: 199.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/6.757, allocations: 62.56 kB / 3.25 GB, free: 199.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.903e-05/6.757, allocations: 60.89 kB / 3.25 GB, free: 199.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/6.757, allocations: 186.2 kB / 3.25 GB, free: 199.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/6.757, allocations: 30.75 kB / 3.25 GB, free: 199.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 3.026e-06/6.757, allocations: 0 / 3.25 GB, free: 199.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004526/6.758, allocations: 149.2 kB / 3.25 GB, free: 199.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/6.758, allocations: 55.41 kB / 3.251 GB, free: 199.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/6.758, allocations: 239.4 kB / 3.251 GB, free: 198.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/6.758, allocations: 25.7 kB / 3.251 GB, free: 198.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/6.758, allocations: 151.9 kB / 3.251 GB, free: 198.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/6.758, allocations: 35.48 kB / 3.251 GB, free: 198.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/6.758, allocations: 4 kB / 3.251 GB, free: 198.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.07e-05/6.758, allocations: 334.8 kB / 3.251 GB, free: 198.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.665e-05/6.758, allocations: 24 kB / 3.251 GB, free: 198.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.581e-05/6.759, allocations: 86.84 kB / 3.251 GB, free: 198.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.446e-05/6.759, allocations: 36.02 kB / 3.251 GB, free: 198.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/6.759, allocations: 0 / 3.251 GB, free: 198.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002272/6.759, allocations: 145.3 kB / 3.252 GB, free: 197.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/6.759, allocations: 356 kB / 3.252 GB, free: 197.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/6.759, allocations: 7.953 kB / 3.252 GB, free: 197.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/6.759, allocations: 0 / 3.252 GB, free: 197.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/6.759, allocations: 27.98 kB / 3.252 GB, free: 197.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/6.759, allocations: 0 / 3.252 GB, free: 197.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/6.759, allocations: 31.81 kB / 3.252 GB, free: 197.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/6.759, allocations: 4 kB / 3.252 GB, free: 197.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/6.759, allocations: 4 kB / 3.252 GB, free: 197.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001294/6.76, allocations: 79.89 kB / 3.252 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/6.76, allocations: 32 / 3.252 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-06/6.76, allocations: 4 kB / 3.252 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/6.76, allocations: 27.98 kB / 3.252 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/6.76, allocations: 3.938 kB / 3.252 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/6.76, allocations: 23.92 kB / 3.252 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/6.76, allocations: 7.984 kB / 3.252 GB, free: 197.3 MB / 0.948 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 () * 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 7.305e-05/6.76, allocations: 120.9 kB / 3.252 GB, free: 197.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/6.76, allocations: 23.72 kB / 3.252 GB, free: 197.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/6.76, allocations: 135.8 kB / 3.252 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/6.76, allocations: 0 / 3.252 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/6.76, allocations: 0 / 3.252 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/6.76, allocations: 4.078 kB / 3.252 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000701/6.761, allocations: 0.5624 MB / 3.253 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/6.761, allocations: 4 kB / 3.253 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/6.761, allocations: 27.92 kB / 3.253 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/6.761, allocations: 3.938 kB / 3.253 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/6.761, allocations: 16.2 kB / 3.253 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/6.761, allocations: 7.953 kB / 3.253 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/6.761, allocations: 0 / 3.253 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/6.762, allocations: 345.2 kB / 3.253 GB, free: 195.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/6.762, allocations: 112.8 kB / 3.253 GB, free: 195.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/6.762, allocations: 15.88 kB / 3.253 GB, free: 195.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/6.762, allocations: 15.98 kB / 3.253 GB, free: 195.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/6.762, allocations: 11.98 kB / 3.253 GB, free: 195.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/6.762, allocations: 8 kB / 3.253 GB, free: 195.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001531/6.762, allocations: 191.1 kB / 3.254 GB, free: 195.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/6.762, allocations: 0 / 3.254 GB, free: 195.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007961/6.763, allocations: 175.8 kB / 3.254 GB, free: 195.4 MB / 0.948 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 () * 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.001504/6.764, allocations: 0.8885 MB / 3.255 GB, free: 194.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002734/6.765, allocations: 125.8 kB / 3.255 GB, free: 194.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/6.765, allocations: 0 / 3.255 GB, free: 194.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.661e-05/6.765, allocations: 48.36 kB / 3.255 GB, free: 194.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007638/6.766, allocations: 133.6 kB / 3.255 GB, free: 194.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/6.766, allocations: 305.3 kB / 3.255 GB, free: 193.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/6.766, allocations: 0.7609 MB / 3.256 GB, free: 193.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002931/6.767, allocations: 93.97 kB / 3.256 GB, free: 193 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/6.767, allocations: 19.38 kB / 3.256 GB, free: 193 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/6.767, allocations: 3.938 kB / 3.256 GB, free: 193 MB / 0.948 GB Notification: Performance of Templates: time 0.02178/6.789, allocations: 17.77 MB / 3.273 GB, free: 175.3 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)