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.004805/0.004811, allocations: 233.5 kB / 15.82 MB, free: 6.293 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.002268/0.002268, allocations: 174 kB / 16.7 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.076/4.076, allocations: 389.1 MB / 406.5 MB, free: 11.85 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.957/3.957, allocations: 472.3 MB / 0.9024 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006467/0.0006471, allocations: 8 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1737, allocations: 98.73 MB / 1.105 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.764/1.938, allocations: 410.2 MB / 1.505 GB, free: 226.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/1.938, allocations: 106.6 kB / 1.505 GB, free: 226.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.257/5.195, allocations: 0.6406 GB / 2.146 GB, free: 121.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.886e-06/5.195, allocations: 0 / 2.146 GB, free: 121.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004107/5.195, allocations: 52.09 kB / 2.146 GB, free: 121.6 MB / 0.823 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.01034/5.206, allocations: 2.076 MB / 2.148 GB, free: 120.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/5.206, allocations: 11.53 kB / 2.148 GB, free: 120.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/5.207, allocations: 201.5 kB / 2.148 GB, free: 120.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008108/5.216, allocations: 1.566 MB / 2.15 GB, free: 120.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/5.216, allocations: 89.12 kB / 2.15 GB, free: 120.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005188/5.216, allocations: 110.7 kB / 2.15 GB, free: 120.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005037/5.221, allocations: 1.045 MB / 2.151 GB, free: 120.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.766e-05/5.221, allocations: 3.938 kB / 2.151 GB, free: 120.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/5.222, allocations: 46.47 kB / 2.151 GB, free: 120.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.466e-05/5.222, allocations: 27.59 kB / 2.151 GB, free: 120.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004165/5.226, allocations: 0.7366 MB / 2.152 GB, free: 120.1 MB / 0.823 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.01855/5.245, allocations: 5.274 MB / 2.157 GB, free: 117.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/5.246, allocations: 290.3 kB / 2.157 GB, free: 117.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009937/5.247, allocations: 220.2 kB / 2.157 GB, free: 117.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008644/5.248, allocations: 0.6643 MB / 2.158 GB, free: 116.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/5.248, allocations: 40.16 kB / 2.158 GB, free: 116.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=38): time 5.18e-06/5.248, allocations: 0 / 2.158 GB, free: 116.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=38): time 0.003584/5.252, allocations: 0.6645 MB / 2.159 GB, free: 116.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/5.252, allocations: 59.47 kB / 2.159 GB, free: 116.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00479/5.257, allocations: 1.398 MB / 2.16 GB, free: 116.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003007/5.257, allocations: 41.27 kB / 2.16 GB, free: 116.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00136/5.258, allocations: 0.7441 MB / 2.161 GB, free: 116.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/5.259, allocations: 140.4 kB / 2.161 GB, free: 116.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/5.259, allocations: 20.12 kB / 2.161 GB, free: 116.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001331/5.259, allocations: 337.9 kB / 2.161 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/5.26, allocations: 233.7 kB / 2.162 GB, free: 115.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/5.262, allocations: 0.5053 MB / 2.162 GB, free: 115.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/5.265, allocations: 314.2 kB / 2.162 GB, free: 115.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/5.265, allocations: 2.062 kB / 2.162 GB, free: 115.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00428/5.27, allocations: 0.8471 MB / 2.163 GB, free: 115.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001948/5.27, allocations: 244.4 kB / 2.163 GB, free: 115.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/5.27, allocations: 5.031 kB / 2.163 GB, free: 115.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.565e-05/5.27, allocations: 13.38 kB / 2.163 GB, free: 115.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/5.272, allocations: 180.1 kB / 2.164 GB, free: 115.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.192e-05/5.272, allocations: 14 kB / 2.164 GB, free: 115.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003675/5.276, allocations: 181.4 kB / 2.164 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/5.276, allocations: 37.17 kB / 2.164 GB, free: 115 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/5.276, allocations: 3.531 kB / 2.164 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002707/5.279, allocations: 0.6757 MB / 2.165 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/5.279, allocations: 5.062 kB / 2.165 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/5.279, allocations: 9.656 kB / 2.165 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/5.28, allocations: 176.7 kB / 2.165 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/5.28, allocations: 16.81 kB / 2.165 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/5.283, allocations: 164.8 kB / 2.165 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/5.283, allocations: 32.38 kB / 2.165 GB, free: 115 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (93): * Single equations (assignments): 93 * 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.001179/5.284, allocations: 425.6 kB / 2.165 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000537/5.285, allocations: 149.3 kB / 2.165 GB, free: 114.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/5.287, allocations: 0.6234 MB / 2.166 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/5.287, allocations: 6.188 kB / 2.166 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/5.287, allocations: 0 / 2.166 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/5.288, allocations: 0.6875 MB / 2.167 GB, free: 114.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004563/5.292, allocations: 1.64 MB / 2.168 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/5.292, allocations: 1.312 kB / 2.168 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007831/5.293, allocations: 87.59 kB / 2.168 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/5.293, allocations: 1.406 kB / 2.168 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/5.293, allocations: 13.77 kB / 2.168 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/5.293, allocations: 2.188 kB / 2.168 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/5.293, allocations: 0 / 2.168 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/5.295, allocations: 0.8098 MB / 2.169 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/5.297, allocations: 302.9 kB / 2.17 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005279/5.297, allocations: 12 kB / 2.17 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/5.299, allocations: 107 kB / 2.17 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/5.299, allocations: 26.7 kB / 2.17 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.534e-05/5.299, allocations: 14.38 kB / 2.17 GB, free: 113.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002204/5.302, allocations: 0.9833 MB / 2.171 GB, free: 113.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.51e-07/5.302, allocations: 1.906 kB / 2.171 GB, free: 113.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003406/5.305, allocations: 0.7869 MB / 2.171 GB, free: 113.2 MB / 0.823 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 (39): * Single equations (assignments): 39 * 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 Backend phase and start with SimCode phase: time 0.001629/5.307, allocations: 0.7116 MB / 2.172 GB, free: 113 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002485/5.309, allocations: 0.8823 MB / 2.173 GB, free: 113 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/5.309, allocations: 0 / 2.173 GB, free: 113 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000484/5.31, allocations: 184.9 kB / 2.173 GB, free: 113 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008278/5.318, allocations: 0.975 MB / 2.174 GB, free: 113 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005345/5.324, allocations: 2.77 MB / 2.177 GB, free: 111.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008246/5.324, allocations: 1.267 MB / 2.178 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002139/5.327, allocations: 306.4 kB / 2.178 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/5.327, allocations: 113.8 kB / 2.178 GB, free: 111 MB / 0.823 GB Notification: Performance of SimCode: time 8.21e-07/5.327, allocations: 0 / 2.178 GB, free: 111 MB / 0.823 GB Notification: Performance of Templates: time 0.07958/5.407, allocations: 32.48 MB / 2.21 GB, free: 109.8 MB / 0.823 GB