Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009159/0.009162, allocations: 110.2 kB / 15.05 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001134/0.001134, allocations: 183.8 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.981/1.981, allocations: 194.5 MB / 211.2 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.123/2.123, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004685, allocations: 12 kB / 0.5869 GB, free: 2.125 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5338/0.5343, allocations: 98.7 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9888/1.523, allocations: 447.3 MB / 1.12 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/1.523, allocations: 100 kB / 1.12 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 30.6/32.12, allocations: 6.202 GB / 7.323 GB, free: 65.91 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.639e-06/32.12, allocations: 5.781 kB / 7.323 GB, free: 65.91 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.003821/32.13, allocations: 0.5344 MB / 7.323 GB, free: 65.79 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.08371/32.21, allocations: 21.3 MB / 7.344 GB, free: 58.2 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/32.21, allocations: 8.281 kB / 7.344 GB, free: 58.2 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0164/32.23, allocations: 2.455 MB / 7.346 GB, free: 57.19 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08489/32.31, allocations: 23.71 MB / 7.369 GB, free: 54.62 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001189/32.31, allocations: 0.7121 MB / 7.37 GB, free: 54.6 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005511/32.32, allocations: 1.024 MB / 7.371 GB, free: 54.58 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04632/32.36, allocations: 16.86 MB / 7.388 GB, free: 52.77 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005118/32.37, allocations: 19.27 kB / 7.388 GB, free: 52.76 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004126/32.37, allocations: 361 kB / 7.388 GB, free: 52.76 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002488/32.37, allocations: 213.2 kB / 7.388 GB, free: 52.76 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04604/32.42, allocations: 19.8 MB / 7.408 GB, free: 52.7 MB / 1.089 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.16/32.58, allocations: 78.18 MB / 7.484 GB, free: 20.71 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02612/32.6, allocations: 12.48 MB / 7.496 GB, free: 20.25 MB / 1.089 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 evalFunc (simulation): time 0.08075/32.68, allocations: 33.42 MB / 7.529 GB, free: 11.66 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02133/32.7, allocations: 9.503 MB / 7.538 GB, free: 11.49 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05648/32.76, allocations: 14.91 MB / 7.553 GB, free: 10.62 MB / 1.089 GB Notification: Performance of pre-optimization done (n=604): time 4.155e-05/32.76, allocations: 0 / 7.553 GB, free: 10.62 MB / 1.089 GB Notification: Performance of matching and sorting (n=858): time 2.015/34.78, allocations: 203.1 MB / 7.751 GB, free: 94.8 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005231/34.78, allocations: 2.537 MB / 7.753 GB, free: 91.79 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03765/34.81, allocations: 14.79 MB / 7.768 GB, free: 91.12 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.003929/34.82, allocations: 280.5 kB / 7.768 GB, free: 91.09 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01204/34.83, allocations: 7.937 MB / 7.776 GB, free: 90.63 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.005711/34.84, allocations: 2.961 MB / 7.779 GB, free: 90.5 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003393/34.84, allocations: 216 kB / 7.779 GB, free: 90.5 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.001008/34.84, allocations: 0.7563 MB / 7.78 GB, free: 90.17 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02216/34.86, allocations: 9.74 MB / 7.789 GB, free: 90.15 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02617/34.89, allocations: 13.49 MB / 7.802 GB, free: 86.24 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02614/34.91, allocations: 11.22 MB / 7.813 GB, free: 86.02 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001178/34.92, allocations: 13.19 kB / 7.813 GB, free: 86.02 MB / 1.12 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.7589/35.67, allocations: 130 MB / 7.94 GB, free: 82.3 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.006152/35.68, allocations: 33.17 MB / 7.973 GB, free: 47.92 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004862/35.68, allocations: 109.1 kB / 7.973 GB, free: 47.92 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75/37.43, allocations: 152.3 MB / 8.121 GB, free: 138.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01601/37.45, allocations: 2.191 MB / 8.124 GB, free: 138.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2198/37.67, allocations: 79.04 MB / 8.201 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02277/37.69, allocations: 1.205 MB / 8.202 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004823/37.69, allocations: 0.9117 MB / 8.203 GB, free: 131.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/37.69, allocations: 2.062 kB / 8.203 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7601/38.45, allocations: 128.5 MB / 8.328 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004834/38.46, allocations: 109.9 kB / 8.328 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.815/39.27, allocations: 152.6 MB / 8.477 GB, free: 46.15 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01258/39.28, allocations: 2.169 MB / 8.48 GB, free: 44.15 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151/40.43, allocations: 86.43 MB / 8.564 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02295/40.46, allocations: 1.19 MB / 8.565 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004673/40.46, allocations: 0.8608 MB / 8.566 GB, free: 134.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulsStart,stepPump.pulsStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (989): * Single equations (assignments): 909 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.01684/40.48, allocations: 4.267 MB / 8.57 GB, free: 134.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007188/40.49, allocations: 1.556 MB / 8.572 GB, free: 134.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2487/40.73, allocations: 50.99 MB / 8.621 GB, free: 133.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001766/40.73, allocations: 99.77 kB / 8.622 GB, free: 133.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001865/40.73, allocations: 30.75 kB / 8.622 GB, free: 133.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.219/40.95, allocations: 44.96 MB / 8.665 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2805/41.23, allocations: 69.74 MB / 8.734 GB, free: 128 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001199/41.23, allocations: 4.812 kB / 8.734 GB, free: 128 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009992/41.24, allocations: 1.375 MB / 8.735 GB, free: 128 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2415/41.49, allocations: 44.76 MB / 8.779 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002433/41.49, allocations: 343 kB / 8.779 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09135/41.58, allocations: 34.25 MB / 8.812 GB, free: 117.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/41.58, allocations: 4.031 kB / 8.812 GB, free: 117.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2367/41.82, allocations: 58.53 MB / 8.87 GB, free: 86.23 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0138/41.83, allocations: 3.626 MB / 8.873 GB, free: 84.04 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007039/41.84, allocations: 277.4 kB / 8.873 GB, free: 83.95 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01748/41.85, allocations: 1.051 MB / 8.874 GB, free: 83.41 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003279/41.86, allocations: 0.5972 MB / 8.875 GB, free: 83.11 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002269/41.86, allocations: 343.7 kB / 8.875 GB, free: 82.88 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.02709/41.89, allocations: 11.34 MB / 8.886 GB, free: 77.09 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.213e-06/41.89, allocations: 0 / 8.886 GB, free: 77.09 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0504/41.94, allocations: 8.753 MB / 8.895 GB, free: 69.47 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulsStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (667): * Single equations (assignments): 643 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {33 118,33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01211/41.95, allocations: 5.659 MB / 8.9 GB, free: 65.16 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.1019/42.05, allocations: 43.04 MB / 8.942 GB, free: 32.65 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.141e-05/42.05, allocations: 14.62 kB / 8.942 GB, free: 32.64 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.02784/42.08, allocations: 11.48 MB / 8.954 GB, free: 22.57 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.9519/43.03, allocations: 7.883 MB / 8.961 GB, free: 130.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09223/43.12, allocations: 39.98 MB / 9 GB, free: 116 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02183/43.15, allocations: 9.41 MB / 9.01 GB, free: 114.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.03379/43.18, allocations: 5.001 MB / 9.015 GB, free: 114.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007661/43.19, allocations: 1.257 MB / 9.016 GB, free: 114.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.719e-06/43.19, allocations: 6.281 kB / 9.016 GB, free: 114.7 MB / 1.167 GB Notification: Performance of Templates: time 2.964/46.15, allocations: 489.9 MB / 9.494 GB, free: 164.9 MB / 1.214 GB