Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01101/0.01102, allocations: 222.1 kB / 15.17 MB, free: 5.93 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.001104/0.001104, allocations: 177.4 kB / 16.06 MB, free: 5.828 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 3.665/3.665, allocations: 389.1 MB / 405.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.786/3.786, allocations: 472.3 MB / 0.9018 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005267/0.0005269, allocations: 16 kB / 1.008 GB, free: 176.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.126, allocations: 98.72 MB / 1.104 GB, free: 80.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.03688/0.1629, allocations: 40.75 MB / 1.144 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01496/0.1779, allocations: 12.02 MB / 1.156 GB, free: 27.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.1791, allocations: 40.44 kB / 1.156 GB, free: 27.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.1804, allocations: 469.5 kB / 1.156 GB, free: 27.27 MB / 0.6042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004655/0.1851, allocations: 1.907 MB / 1.158 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003428/0.1885, allocations: 1.097 MB / 1.159 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003422/0.192, allocations: 3.7 MB / 1.163 GB, free: 20.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.193, allocations: 0.7506 MB / 1.163 GB, free: 19.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.1946, allocations: 1.053 MB / 1.164 GB, free: 18.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009292/0.1955, allocations: 0.8394 MB / 1.165 GB, free: 17.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.1956, allocations: 48 kB / 1.165 GB, free: 17.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.1979, allocations: 0.9507 MB / 1.166 GB, free: 16.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.1981, allocations: 205.9 kB / 1.166 GB, free: 16.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.1984, allocations: 273.1 kB / 1.167 GB, free: 16.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.2001, allocations: 1.676 MB / 1.168 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.307e-06/0.2001, allocations: 0 / 1.168 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.808e-06/0.2001, allocations: 0 / 1.168 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.2001, allocations: 0 / 1.168 GB, free: 14.82 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002738/0.2029, allocations: 1.446 MB / 1.17 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.2029, allocations: 8.031 kB / 1.17 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003126/0.2032, allocations: 131.9 kB / 1.17 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.2057, allocations: 1.175 MB / 1.171 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.664e-05/0.2058, allocations: 54 kB / 1.171 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.206, allocations: 72 kB / 1.171 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.2074, allocations: 0.7547 MB / 1.172 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.2074, allocations: 0 / 1.172 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-05/0.2075, allocations: 24 kB / 1.172 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/0.2076, allocations: 25.11 kB / 1.172 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.2089, allocations: 0.5685 MB / 1.172 GB, free: 10.48 MB / 0.6042 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.004896/0.2138, allocations: 3.988 MB / 1.176 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009622/0.2148, allocations: 448.3 kB / 1.177 GB, free: 5.758 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.2152, allocations: 213.7 kB / 1.177 GB, free: 5.551 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.2163, allocations: 1.528 MB / 1.178 GB, free: 3.695 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.2163, allocations: 34.56 kB / 1.178 GB, free: 3.652 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 3.455e-06/0.2163, allocations: 0 / 1.178 GB, free: 3.652 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.001518/0.2179, allocations: 0.6453 MB / 1.179 GB, free: 3.004 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.2179, allocations: 63.34 kB / 1.179 GB, free: 2.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.2194, allocations: 1.004 MB / 1.18 GB, free: 1.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.2195, allocations: 33.7 kB / 1.18 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/0.2199, allocations: 488.6 kB / 1.181 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.22, allocations: 165.2 kB / 1.181 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.2201, allocations: 12 kB / 1.181 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.254e-05/0.2202, allocations: 322 kB / 1.181 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.2206, allocations: 185 kB / 1.181 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.2212, allocations: 322.7 kB / 1.182 GB, free: 368 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/0.2217, allocations: 228.1 kB / 1.182 GB, free: 148 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.445e-06/0.2217, allocations: 4 kB / 1.182 GB, free: 144 kB / 0.6042 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.4294/0.6512, allocations: 0.6413 MB / 1.182 GB, free: 82.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/0.6513, allocations: 188 kB / 1.183 GB, free: 82.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/0.6513, allocations: 11.67 kB / 1.183 GB, free: 82.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.6514, allocations: 9.281 kB / 1.183 GB, free: 82.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.652, allocations: 128.8 kB / 1.183 GB, free: 82.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.652, allocations: 8.25 kB / 1.183 GB, free: 82.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008474/0.6529, allocations: 94.72 kB / 1.183 GB, free: 82.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/0.653, allocations: 32.95 kB / 1.183 GB, free: 82.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.8e-06/0.653, allocations: 4.188 kB / 1.183 GB, free: 82.38 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001308/0.6543, allocations: 0.5296 MB / 1.183 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.6543, allocations: 3.594 kB / 1.183 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.35e-06/0.6544, allocations: 7.312 kB / 1.183 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/0.6549, allocations: 125.4 kB / 1.184 GB, free: 82.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.655, allocations: 14.42 kB / 1.184 GB, free: 82.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007377/0.6557, allocations: 86.81 kB / 1.184 GB, free: 82.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.33e-05/0.6558, allocations: 32.17 kB / 1.184 GB, free: 82.35 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005096/0.6563, allocations: 342.2 kB / 1.184 GB, free: 82.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.6565, allocations: 107.4 kB / 1.184 GB, free: 82.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.6588, allocations: 0.9527 MB / 1.185 GB, free: 82.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/0.6589, allocations: 14.84 kB / 1.185 GB, free: 82.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.81e-06/0.6589, allocations: 4.219 kB / 1.185 GB, free: 82.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00137/0.6603, allocations: 0.8312 MB / 1.186 GB, free: 81.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003811/0.6641, allocations: 1.966 MB / 1.188 GB, free: 80.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/0.6642, allocations: 4.469 kB / 1.188 GB, free: 80.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/0.6647, allocations: 95.02 kB / 1.188 GB, free: 80.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.6647, allocations: 3.688 kB / 1.188 GB, free: 80.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.334e-05/0.6648, allocations: 18.88 kB / 1.188 GB, free: 80.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.513e-06/0.6648, allocations: 4.109 kB / 1.188 GB, free: 80.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.866e-06/0.6648, allocations: 2.844 kB / 1.188 GB, free: 80.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.6672, allocations: 1.172 MB / 1.189 GB, free: 79.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/0.6676, allocations: 304.5 kB / 1.189 GB, free: 79.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.6678, allocations: 14.5 kB / 1.189 GB, free: 79.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008276/0.6687, allocations: 54.77 kB / 1.189 GB, free: 79.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.6688, allocations: 50.69 kB / 1.189 GB, free: 79.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.6689, allocations: 26.84 kB / 1.189 GB, free: 79.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001456/0.6704, allocations: 0.7101 MB / 1.19 GB, free: 79.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.95e-07/0.6704, allocations: 3.094 kB / 1.19 GB, free: 79.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001992/0.6724, allocations: 0.5972 MB / 1.191 GB, free: 79.25 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * 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 (60): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.001078/0.6735, allocations: 0.4976 MB / 1.191 GB, free: 79.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001979/0.6755, allocations: 0.928 MB / 1.192 GB, free: 78.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.261e-06/0.6755, allocations: 0 / 1.192 GB, free: 78.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007324/0.6763, allocations: 386.8 kB / 1.192 GB, free: 78.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/0.6794, allocations: 0.5841 MB / 1.193 GB, free: 78.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/0.6832, allocations: 2.459 MB / 1.195 GB, free: 77.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007355/0.684, allocations: 1.082 MB / 1.197 GB, free: 76.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001429/0.6854, allocations: 283.4 kB / 1.197 GB, free: 76.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/0.6858, allocations: 103.1 kB / 1.197 GB, free: 76.4 MB / 0.6042 GB Notification: Performance of SimCode: time 1.771e-06/0.6858, allocations: 3.938 kB / 1.197 GB, free: 76.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.05624/0.742, allocations: 24.6 MB / 1.221 GB, free: 67.5 MB / 0.6042 GB