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.667/1.667, allocations: 288.4 MB / 304.3 MB, free: 8.082 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.001162/0.001161, allocations: 182 kB / 373 MB, free: 10.18 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.727/1.727, allocations: 205.4 MB / 0.6317 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008645/0.0008647, allocations: 82.89 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004217, allocations: 16.28 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2256, allocations: 115.3 MB / 0.9807 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.368/4.593, allocations: 2.062 GB / 3.043 GB, free: 255.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/4.593, allocations: 88.92 kB / 3.043 GB, free: 255.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3804/4.974, allocations: 219.9 MB / 3.258 GB, free: 30.96 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.074e-06/4.974, allocations: 0 / 3.258 GB, free: 30.96 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.359e-05/4.974, allocations: 8 kB / 3.258 GB, free: 30.96 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.0009778/4.975, allocations: 0.592 MB / 3.258 GB, free: 30.31 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/4.975, allocations: 8.031 kB / 3.258 GB, free: 30.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003429/4.975, allocations: 68.45 kB / 3.258 GB, free: 30.24 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/4.976, allocations: 314.7 kB / 3.259 GB, free: 29.89 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/4.976, allocations: 12.38 kB / 3.259 GB, free: 29.88 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/4.976, allocations: 12.38 kB / 3.259 GB, free: 29.87 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/4.976, allocations: 192.7 kB / 3.259 GB, free: 29.67 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/4.976, allocations: 3.938 kB / 3.259 GB, free: 29.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/4.976, allocations: 8 kB / 3.259 GB, free: 29.66 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/4.976, allocations: 4 kB / 3.259 GB, free: 29.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002645/4.977, allocations: 135.8 kB / 3.259 GB, free: 29.52 MB / 0.948 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.0008389/4.977, allocations: 0.7809 MB / 3.26 GB, free: 28.67 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/4.978, allocations: 86.45 kB / 3.26 GB, free: 28.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/4.978, allocations: 72.88 kB / 3.26 GB, free: 28.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/4.978, allocations: 190.1 kB / 3.26 GB, free: 28.28 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/4.978, allocations: 38.55 kB / 3.26 GB, free: 28.23 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/4.978, allocations: 0 / 3.26 GB, free: 28.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0005926/4.979, allocations: 225.2 kB / 3.26 GB, free: 28 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/4.979, allocations: 51.41 kB / 3.261 GB, free: 27.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/4.979, allocations: 267 kB / 3.261 GB, free: 27.67 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/4.979, allocations: 29.7 kB / 3.261 GB, free: 27.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/4.979, allocations: 148 kB / 3.261 GB, free: 27.49 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/4.979, allocations: 31.55 kB / 3.261 GB, free: 27.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/4.979, allocations: 0 / 3.261 GB, free: 27.46 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.952e-05/4.979, allocations: 334.8 kB / 3.261 GB, free: 27.12 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/4.979, allocations: 47.97 kB / 3.261 GB, free: 27.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/4.979, allocations: 110.8 kB / 3.261 GB, free: 26.94 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/4.98, allocations: 127.8 kB / 3.262 GB, free: 26.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/4.98, allocations: 4 kB / 3.262 GB, free: 26.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003012/4.98, allocations: 161.3 kB / 3.262 GB, free: 26.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/4.98, allocations: 115.6 kB / 3.262 GB, free: 26.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/4.98, allocations: 0 / 3.262 GB, free: 26.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/4.98, allocations: 4 kB / 3.262 GB, free: 26.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/4.98, allocations: 27.86 kB / 3.262 GB, free: 26.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/4.98, allocations: 4 kB / 3.262 GB, free: 26.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/4.98, allocations: 27.83 kB / 3.262 GB, free: 26.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/4.98, allocations: 19.92 kB / 3.262 GB, free: 26.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.219e-06/4.98, allocations: 4 kB / 3.262 GB, free: 26.42 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002367/4.981, allocations: 112 kB / 3.262 GB, free: 26.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/4.981, allocations: 4 kB / 3.262 GB, free: 26.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-06/4.981, allocations: 0 / 3.262 GB, free: 26.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/4.981, allocations: 31.95 kB / 3.262 GB, free: 26.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-06/4.981, allocations: 0 / 3.262 GB, free: 26.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/4.981, allocations: 27.81 kB / 3.262 GB, free: 26.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/4.981, allocations: 12 kB / 3.262 GB, free: 26.24 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 () * 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.0001128/4.981, allocations: 217.1 kB / 3.262 GB, free: 26.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/4.981, allocations: 27.66 kB / 3.262 GB, free: 25.99 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/4.981, allocations: 167.3 kB / 3.262 GB, free: 25.82 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/4.981, allocations: 4 kB / 3.263 GB, free: 25.81 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/4.981, allocations: 3.938 kB / 3.263 GB, free: 25.81 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/4.981, allocations: 0 / 3.263 GB, free: 25.81 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007046/4.982, allocations: 0.5898 MB / 3.263 GB, free: 25.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/4.982, allocations: 4 kB / 3.263 GB, free: 25.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/4.982, allocations: 27.98 kB / 3.263 GB, free: 25.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/4.982, allocations: 4 kB / 3.263 GB, free: 25.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/4.982, allocations: 0 / 3.263 GB, free: 25.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/4.982, allocations: 4 kB / 3.263 GB, free: 25.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/4.982, allocations: 16.09 kB / 3.263 GB, free: 25.09 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/4.983, allocations: 297.1 kB / 3.263 GB, free: 24.76 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/4.983, allocations: 112.8 kB / 3.264 GB, free: 24.63 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/4.983, allocations: 8 kB / 3.264 GB, free: 24.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/4.983, allocations: 23.97 kB / 3.264 GB, free: 24.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/4.983, allocations: 7.938 kB / 3.264 GB, free: 24.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/4.983, allocations: 12.17 kB / 3.264 GB, free: 24.58 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001282/4.983, allocations: 190 kB / 3.264 GB, free: 24.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/4.983, allocations: 3.938 kB / 3.264 GB, free: 24.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006923/4.984, allocations: 179.8 kB / 3.264 GB, free: 24.21 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 () * 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.001025/4.985, allocations: 0.8968 MB / 3.265 GB, free: 23.32 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000409/4.985, allocations: 167.8 kB / 3.265 GB, free: 23.16 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/4.985, allocations: 0 / 3.265 GB, free: 23.16 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/4.985, allocations: 72.08 kB / 3.265 GB, free: 23.09 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008041/4.986, allocations: 135.6 kB / 3.265 GB, free: 22.96 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006116/4.987, allocations: 0.4972 MB / 3.266 GB, free: 22.41 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/4.987, allocations: 0.756 MB / 3.266 GB, free: 21.62 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002138/4.987, allocations: 62.89 kB / 3.266 GB, free: 21.56 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/4.987, allocations: 19.44 kB / 3.266 GB, free: 21.54 MB / 0.948 GB Notification: Performance of SimCode: time 2e-07/4.987, allocations: 4 kB / 3.266 GB, free: 21.54 MB / 0.948 GB Notification: Performance of Templates: time 0.01799/5.005, allocations: 14.99 MB / 3.281 GB, free: 6.59 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)