Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006112/0.006111, allocations: 237.9 kB / 15.8 MB, free: 6.316 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.001996/0.001996, allocations: 179.6 kB / 16.69 MB, free: 5.473 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 4.368/4.368, allocations: 389.1 MB / 406.5 MB, free: 11.83 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 4.718/4.718, allocations: 472.3 MB / 0.9024 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005118/0.0005121, allocations: 12 kB / 1.008 GB, free: 138.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1852, allocations: 98.72 MB / 1.105 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.04894/0.2342, allocations: 40.71 MB / 1.144 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02477/0.259, allocations: 12.03 MB / 1.156 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001968/0.261, allocations: 39.75 kB / 1.156 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002513/0.2636, allocations: 475.7 kB / 1.157 GB, free: 5.031 MB / 0.6198 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.008259/0.2719, allocations: 1.894 MB / 1.158 GB, free: 3.148 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005346/0.2773, allocations: 1.106 MB / 1.16 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.5697/0.847, allocations: 3.649 MB / 1.163 GB, free: 37.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.8494, allocations: 0.7335 MB / 1.164 GB, free: 37.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003984/0.8534, allocations: 1.035 MB / 1.165 GB, free: 37.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0028/0.8563, allocations: 0.8274 MB / 1.166 GB, free: 37.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005461/0.8569, allocations: 46.03 kB / 1.166 GB, free: 37.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00444/0.8613, allocations: 0.9468 MB / 1.167 GB, free: 37.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007192/0.8621, allocations: 191.9 kB / 1.167 GB, free: 37.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0009245/0.8631, allocations: 270.3 kB / 1.167 GB, free: 37.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004382/0.8675, allocations: 1.66 MB / 1.169 GB, free: 36.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.8675, allocations: 3.312 kB / 1.169 GB, free: 36.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.577e-06/0.8676, allocations: 6.266 kB / 1.169 GB, free: 36.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.716e-05/0.8676, allocations: 0 / 1.169 GB, free: 36.94 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.005353/0.873, allocations: 1.42 MB / 1.17 GB, free: 36.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.8731, allocations: 7.25 kB / 1.17 GB, free: 36.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008196/0.8739, allocations: 133.2 kB / 1.17 GB, free: 36.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004667/0.8786, allocations: 1.157 MB / 1.171 GB, free: 35.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/0.8787, allocations: 58.06 kB / 1.171 GB, free: 35.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.8789, allocations: 67.45 kB / 1.171 GB, free: 35.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.8811, allocations: 0.7416 MB / 1.172 GB, free: 35.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.188e-05/0.8812, allocations: 1.438 kB / 1.172 GB, free: 35.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.8813, allocations: 30.31 kB / 1.172 GB, free: 35.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.771e-05/0.8814, allocations: 20.09 kB / 1.172 GB, free: 35.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.8832, allocations: 0.5211 MB / 1.173 GB, free: 35.62 MB / 0.6198 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.008324/0.8916, allocations: 4.508 MB / 1.177 GB, free: 32.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.8929, allocations: 358.5 kB / 1.177 GB, free: 32.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005351/0.8935, allocations: 207.1 kB / 1.178 GB, free: 32.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001602/0.8951, allocations: 1.512 MB / 1.179 GB, free: 31.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.8952, allocations: 43.45 kB / 1.179 GB, free: 31.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 4.148e-06/0.8952, allocations: 2.812 kB / 1.179 GB, free: 31.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.003909/0.8991, allocations: 0.8627 MB / 1.18 GB, free: 31.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.8992, allocations: 57.28 kB / 1.18 GB, free: 30.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/0.9015, allocations: 0.8865 MB / 1.181 GB, free: 30.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.9017, allocations: 36.48 kB / 1.181 GB, free: 30.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005131/0.9022, allocations: 498.7 kB / 1.181 GB, free: 30.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.9025, allocations: 143.4 kB / 1.182 GB, free: 30.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.9025, allocations: 8.75 kB / 1.182 GB, free: 30.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0009452/0.9035, allocations: 327.3 kB / 1.182 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.9042, allocations: 170.6 kB / 1.182 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/0.9049, allocations: 330.7 kB / 1.182 GB, free: 46.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006741/0.9056, allocations: 217.8 kB / 1.183 GB, free: 46.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.9056, allocations: 1.375 kB / 1.183 GB, free: 46.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002869/0.9085, allocations: 0.7187 MB / 1.183 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.9087, allocations: 211 kB / 1.183 GB, free: 45.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.805e-05/0.9088, allocations: 7.188 kB / 1.184 GB, free: 45.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009678/0.9097, allocations: 115.8 kB / 1.184 GB, free: 45.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000856/0.9106, allocations: 120.9 kB / 1.184 GB, free: 45.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008659/0.9115, allocations: 0.6222 MB / 1.184 GB, free: 45.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.9133, allocations: 95.83 kB / 1.184 GB, free: 45.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/0.9135, allocations: 28.44 kB / 1.184 GB, free: 45.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.9135, allocations: 3.594 kB / 1.184 GB, free: 45.14 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002339/0.9158, allocations: 0.6045 MB / 1.185 GB, free: 45.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.617e-05/0.9159, allocations: 9.344 kB / 1.185 GB, free: 45.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008703/0.9168, allocations: 114.5 kB / 1.185 GB, free: 45.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008014/0.9177, allocations: 111.5 kB / 1.185 GB, free: 45.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007799/0.9184, allocations: 0.6239 MB / 1.186 GB, free: 44.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.92, allocations: 84.75 kB / 1.186 GB, free: 44.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.9202, allocations: 30.05 kB / 1.186 GB, free: 44.57 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (59): * Single equations (assignments): 56 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001773/0.922, allocations: 352.1 kB / 1.186 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008159/0.9228, allocations: 93.5 kB / 1.186 GB, free: 44.33 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003428/0.9263, allocations: 0.9913 MB / 1.187 GB, free: 44.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002143/0.9285, allocations: 0.9167 MB / 1.188 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/0.9286, allocations: 2.688 kB / 1.188 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.9297, allocations: 283.8 kB / 1.189 GB, free: 43.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/0.93, allocations: 14.59 kB / 1.189 GB, free: 43.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.9311, allocations: 53.64 kB / 1.189 GB, free: 43.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.9313, allocations: 51.77 kB / 1.189 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002683/0.934, allocations: 0.8309 MB / 1.189 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002921/0.937, allocations: 1.227 MB / 1.191 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006708/0.9377, allocations: 304.4 kB / 1.191 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001549/0.9393, allocations: 0.6168 MB / 1.192 GB, free: 43.2 MB / 0.6355 GB Notification: Performance of Backend: time 9.52e-07/0.9393, allocations: 0 / 1.192 GB, free: 43.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00448/0.9438, allocations: 1.198 MB / 1.193 GB, free: 42.95 MB / 0.6355 GB Notification: Performance of SimCode: time 0.00743/0.9513, allocations: 2.992 MB / 1.196 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.06784/1.019, allocations: 23.83 MB / 1.219 GB, free: 37.71 MB / 0.6355 GB