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.01024/0.01025, allocations: 221.5 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.001066/0.001066, allocations: 178.5 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.571/3.571, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.861/3.861, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.000508, allocations: 12 kB / 1.008 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4837, allocations: 98.7 MB / 1.104 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09041/0.5742, allocations: 72.07 MB / 1.174 GB, free: 2.477 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02938/0.6036, allocations: 16.33 MB / 1.19 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00236/0.606, allocations: 71.38 kB / 1.19 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002833/0.6088, allocations: 0.9046 MB / 1.191 GB, free: 1.133 MB / 0.5886 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.008592/0.6175, allocations: 2.556 MB / 1.194 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0126/0.6301, allocations: 3.752 MB / 1.197 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.008201/0.6383, allocations: 5.455 MB / 1.203 GB, free: 5.371 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.6407, allocations: 1.168 MB / 1.204 GB, free: 4.176 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003177/0.6439, allocations: 1.431 MB / 1.205 GB, free: 2.738 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.6458, allocations: 1.26 MB / 1.207 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000203/0.6461, allocations: 60 kB / 1.207 GB, free: 1.414 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.6484, allocations: 0.76 MB / 1.207 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003991/0.6488, allocations: 294.6 kB / 1.208 GB, free: 372 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005123/0.6493, allocations: 380.9 kB / 1.208 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002824/0.6522, allocations: 2.034 MB / 1.21 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.088e-06/0.6522, allocations: 4 kB / 1.21 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.115e-06/0.6522, allocations: 0 / 1.21 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.957e-05/0.6522, allocations: 0 / 1.21 GB, free: 13.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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.003514/0.6557, allocations: 1.823 MB / 1.212 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.6558, allocations: 8.031 kB / 1.212 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005501/0.6564, allocations: 205.6 kB / 1.212 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/0.6593, allocations: 1.341 MB / 1.213 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.981e-05/0.6595, allocations: 82 kB / 1.213 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/0.6597, allocations: 119.9 kB / 1.213 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.6621, allocations: 1.065 MB / 1.215 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/0.6622, allocations: 7.938 kB / 1.215 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.6623, allocations: 36 kB / 1.215 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.018e-05/0.6624, allocations: 32 kB / 1.215 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.6644, allocations: 0.7651 MB / 1.215 GB, free: 8.32 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.008833/0.6732, allocations: 5.217 MB / 1.22 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006923/0.6739, allocations: 298.4 kB / 1.221 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004817/0.6744, allocations: 209.1 kB / 1.221 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006934/0.6751, allocations: 0.6609 MB / 1.222 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.6752, allocations: 42.56 kB / 1.222 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=38): time 3.081e-06/0.6752, allocations: 0 / 1.222 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of matching and sorting (n=38): time 0.001668/0.6769, allocations: 0.6518 MB / 1.222 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.6769, allocations: 55.41 kB / 1.222 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002397/0.6793, allocations: 1.4 MB / 1.224 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.793e-05/0.6795, allocations: 37.7 kB / 1.224 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008046/0.6803, allocations: 0.7471 MB / 1.224 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.6804, allocations: 138 kB / 1.225 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.6805, allocations: 16 kB / 1.225 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.6807, allocations: 341.9 kB / 1.225 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/0.6813, allocations: 229.9 kB / 1.225 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008271/0.6822, allocations: 468.2 kB / 1.226 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007385/0.6829, allocations: 302 kB / 1.226 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.041e-06/0.6829, allocations: 4 kB / 1.226 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001974/0.6849, allocations: 0.8523 MB / 1.227 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002023/0.6851, allocations: 266.8 kB / 1.227 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.6852, allocations: 4 kB / 1.227 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.6852, allocations: 12 kB / 1.227 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008787/0.6861, allocations: 167.7 kB / 1.227 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/0.6861, allocations: 15.98 kB / 1.227 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.6874, allocations: 166.7 kB / 1.227 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.461e-05/0.6876, allocations: 47.92 kB / 1.227 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.6876, allocations: 4 kB / 1.227 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001634/0.6892, allocations: 0.6806 MB / 1.228 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.6892, allocations: 11.94 kB / 1.228 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6893, allocations: 8 kB / 1.228 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008004/0.6901, allocations: 176.3 kB / 1.228 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/0.6901, allocations: 15.94 kB / 1.228 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.6912, allocations: 151 kB / 1.228 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.72e-05/0.6913, allocations: 32 kB / 1.228 GB, free: 10.2 MB / 0.6355 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.0007766/0.6921, allocations: 428.8 kB / 1.229 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.6924, allocations: 150.1 kB / 1.229 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.6938, allocations: 0.5901 MB / 1.23 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.6939, allocations: 4 kB / 1.23 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.244e-06/0.6939, allocations: 3.938 kB / 1.23 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/0.695, allocations: 0.73 MB / 1.23 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.6968, allocations: 1.039 MB / 1.231 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.404e-06/0.6969, allocations: 0 / 1.231 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.6973, allocations: 87.84 kB / 1.231 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.915e-06/0.6974, allocations: 0 / 1.231 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.6974, allocations: 12.17 kB / 1.231 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.943e-06/0.6974, allocations: 4 kB / 1.231 GB, free: 7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.163e-06/0.6974, allocations: 0 / 1.231 GB, free: 7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.6993, allocations: 0.904 MB / 1.232 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005737/0.6998, allocations: 303.1 kB / 1.233 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.7001, allocations: 7.953 kB / 1.233 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009693/0.701, allocations: 94.95 kB / 1.233 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/0.7011, allocations: 23.97 kB / 1.233 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.7012, allocations: 23.92 kB / 1.233 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00168/0.7029, allocations: 0.9393 MB / 1.234 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.23e-07/0.7029, allocations: 0 / 1.234 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002196/0.7051, allocations: 0.7171 MB / 1.234 GB, free: 3.961 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U) * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008418/0.706, allocations: 383.6 kB / 1.235 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002113/0.7081, allocations: 0.9067 MB / 1.236 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.136e-06/0.7081, allocations: 7.938 kB / 1.236 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004943/0.7086, allocations: 220.3 kB / 1.236 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004667/0.7133, allocations: 0.8983 MB / 1.237 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004967/0.7183, allocations: 2.79 MB / 1.239 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/0.7195, allocations: 1.272 MB / 1.241 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001652/0.7212, allocations: 312 kB / 1.241 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.7215, allocations: 111.4 kB / 1.241 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of SimCode: time 1.466e-06/0.7215, allocations: 0 / 1.241 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of Templates: time 0.06616/0.7877, allocations: 28.24 MB / 1.269 GB, free: 1.281 MB / 0.6667 GB