Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004369/0.004374, allocations: 236 kB / 15.81 MB, free: 6.285 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.00136/0.00136, allocations: 178.8 kB / 16.69 MB, free: 5.449 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.14/4.14, allocations: 389.1 MB / 406.5 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 4.017/4.017, allocations: 472.3 MB / 0.9024 GB, free: 18.78 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006853/0.0006855, allocations: 12 kB / 1.008 GB, free: 13.43 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2421, allocations: 98.71 MB / 1.105 GB, free: 10.75 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.7018/0.9439, allocations: 72.07 MB / 1.175 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03189/0.9758, allocations: 16.31 MB / 1.191 GB, free: 27.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00386/0.9798, allocations: 72.25 kB / 1.191 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004345/0.9841, allocations: 0.8969 MB / 1.192 GB, free: 27.04 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. [/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.01104/0.9952, allocations: 2.571 MB / 1.194 GB, free: 25.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01564/1.011, allocations: 3.735 MB / 1.198 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009613/1.021, allocations: 5.468 MB / 1.203 GB, free: 21.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003426/1.024, allocations: 1.159 MB / 1.204 GB, free: 21.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00512/1.029, allocations: 1.423 MB / 1.206 GB, free: 20.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004095/1.033, allocations: 1.26 MB / 1.207 GB, free: 20.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0007387/1.034, allocations: 57.53 kB / 1.207 GB, free: 20.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005493/1.04, allocations: 0.7675 MB / 1.208 GB, free: 19.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/1.041, allocations: 297.5 kB / 1.208 GB, free: 19.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001271/1.042, allocations: 372.5 kB / 1.209 GB, free: 19.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005455/1.048, allocations: 2.05 MB / 1.211 GB, free: 19.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.048, allocations: 0 / 1.211 GB, free: 19.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.464e-06/1.048, allocations: 0 / 1.211 GB, free: 19.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001083/1.048, allocations: 1.031 kB / 1.211 GB, free: 19.06 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.005852/1.054, allocations: 1.821 MB / 1.212 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 8.28e-05/1.054, allocations: 12.89 kB / 1.212 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/1.055, allocations: 206.8 kB / 1.213 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004747/1.06, allocations: 1.334 MB / 1.214 GB, free: 17.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/1.06, allocations: 90.14 kB / 1.214 GB, free: 16.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003198/1.06, allocations: 105.5 kB / 1.214 GB, free: 16.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004139/1.064, allocations: 1.069 MB / 1.215 GB, free: 16.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.895e-05/1.064, allocations: 1.062 kB / 1.215 GB, free: 16.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/1.065, allocations: 45.55 kB / 1.215 GB, free: 16.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.366e-05/1.065, allocations: 36 kB / 1.215 GB, free: 16.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003371/1.068, allocations: 0.7624 MB / 1.216 GB, free: 16.12 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.01262/1.081, allocations: 5.23 MB / 1.221 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008676/1.082, allocations: 293.7 kB / 1.221 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/1.082, allocations: 213.5 kB / 1.221 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005584/1.083, allocations: 0.6576 MB / 1.222 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/1.083, allocations: 42.14 kB / 1.222 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 3.216e-06/1.083, allocations: 0 / 1.222 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.002357/1.085, allocations: 0.6543 MB / 1.223 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/1.085, allocations: 55.44 kB / 1.223 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003264/1.089, allocations: 1.402 MB / 1.224 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002367/1.089, allocations: 39.02 kB / 1.224 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008703/1.09, allocations: 0.7509 MB / 1.225 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/1.09, allocations: 135.9 kB / 1.225 GB, free: 9.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/1.09, allocations: 15.25 kB / 1.225 GB, free: 9.758 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.888e-05/1.09, allocations: 338.8 kB / 1.225 GB, free: 9.438 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007876/1.091, allocations: 229.2 kB / 1.226 GB, free: 9.359 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009092/1.092, allocations: 467 kB / 1.226 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009147/1.093, allocations: 306.8 kB / 1.226 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.659e-06/1.093, allocations: 2.156 kB / 1.226 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002713/1.096, allocations: 0.8573 MB / 1.227 GB, free: 8.512 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/1.096, allocations: 255.6 kB / 1.228 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/1.096, allocations: 6.375 kB / 1.228 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.861e-05/1.096, allocations: 9.594 kB / 1.228 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/1.097, allocations: 175 kB / 1.228 GB, free: 8.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.48e-05/1.097, allocations: 17.92 kB / 1.228 GB, free: 8.172 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/1.1, allocations: 169.3 kB / 1.228 GB, free: 8.094 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/1.1, allocations: 34.14 kB / 1.228 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.1, allocations: 8.688 kB / 1.228 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002033/1.102, allocations: 0.693 MB / 1.229 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/1.102, allocations: 6.094 kB / 1.229 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/1.102, allocations: 10.72 kB / 1.229 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/1.103, allocations: 170.6 kB / 1.229 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/1.103, allocations: 12.8 kB / 1.229 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/1.106, allocations: 149 kB / 1.229 GB, free: 7.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/1.106, allocations: 40.39 kB / 1.229 GB, free: 7.719 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (95): * Single equations (assignments): 95 * 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.001108/1.107, allocations: 433.1 kB / 1.229 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005681/1.108, allocations: 148.6 kB / 1.23 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/1.109, allocations: 0.59 MB / 1.23 GB, free: 7.062 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001419/1.111, allocations: 0.7291 MB / 1.231 GB, free: 6.449 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/1.111, allocations: 3.984 kB / 1.231 GB, free: 6.445 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/1.112, allocations: 304.2 kB / 1.231 GB, free: 6.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004013/1.113, allocations: 10.66 kB / 1.231 GB, free: 6.172 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/1.114, allocations: 86.06 kB / 1.231 GB, free: 6.129 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/1.114, allocations: 25.5 kB / 1.231 GB, free: 6.117 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001729/1.116, allocations: 0.5667 MB / 1.232 GB, free: 5.781 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002571/1.119, allocations: 0.9934 MB / 1.233 GB, free: 5.148 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005837/1.119, allocations: 213.6 kB / 1.233 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002506/1.122, allocations: 0.9372 MB / 1.234 GB, free: 4.523 MB / 0.6042 GB Notification: Performance of Backend: time 8.81e-07/1.122, allocations: 0 / 1.234 GB, free: 4.523 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005179/1.127, allocations: 1.154 MB / 1.235 GB, free: 3.98 MB / 0.6042 GB Notification: Performance of SimCode: time 0.01285/1.14, allocations: 3.939 MB / 1.239 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of Templates: time 0.1252/1.265, allocations: 30.61 MB / 1.269 GB, free: 9.355 MB / 0.6355 GB