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.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01051/0.01051, allocations: 220.3 kB / 15.17 MB, free: 6 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.001149/0.00115, allocations: 175.6 kB / 16.06 MB, free: 5.871 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.442/3.442, allocations: 389.1 MB / 405.9 MB, free: 68.53 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.058/4.058, allocations: 472.3 MB / 0.9018 GB, free: 13.29 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004799, allocations: 12 kB / 1.008 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4826, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02605/0.5087, allocations: 28.18 MB / 1.132 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.5254, allocations: 12.92 MB / 1.144 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009723/0.5264, allocations: 31.69 kB / 1.144 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.5276, allocations: 438.4 kB / 1.145 GB, free: 142.3 MB / 0.6823 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.002928/0.5306, allocations: 1.122 MB / 1.146 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00654/0.5371, allocations: 2.305 MB / 1.148 GB, free: 139 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002254/0.5394, allocations: 2.435 MB / 1.15 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006694/0.5401, allocations: 0.5096 MB / 1.151 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.5413, allocations: 0.8005 MB / 1.152 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007361/0.5421, allocations: 0.6187 MB / 1.152 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.887e-05/0.5422, allocations: 28 kB / 1.152 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000881/0.5431, allocations: 365.6 kB / 1.153 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.5432, allocations: 123.4 kB / 1.153 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.5434, allocations: 177.3 kB / 1.153 GB, free: 134 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0007116/0.5441, allocations: 0.7012 MB / 1.154 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.25e-06/0.5441, allocations: 0 / 1.154 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.357e-06/0.5441, allocations: 2.438 kB / 1.154 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.5442, allocations: 0 / 1.154 GB, free: 133.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001457/0.5456, allocations: 0.9904 MB / 1.155 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.5457, allocations: 8.031 kB / 1.155 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.5458, allocations: 94.88 kB / 1.155 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007818/0.5466, allocations: 0.5266 MB / 1.155 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.5467, allocations: 44.94 kB / 1.155 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.662e-05/0.5467, allocations: 58.16 kB / 1.155 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007923/0.5475, allocations: 398.4 kB / 1.156 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.5476, allocations: 0 / 1.156 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.5476, allocations: 27.95 kB / 1.156 GB, free: 131 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.5477, allocations: 8 kB / 1.156 GB, free: 131 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006892/0.5484, allocations: 298.9 kB / 1.156 GB, free: 130.7 MB / 0.6823 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.002663/0.551, allocations: 1.829 MB / 1.158 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.5514, allocations: 170.6 kB / 1.158 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.5516, allocations: 66.92 kB / 1.158 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.5519, allocations: 336.4 kB / 1.158 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.5519, allocations: 38.56 kB / 1.158 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=17): time 2.299e-06/0.5519, allocations: 2.25 kB / 1.158 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17): time 0.0007223/0.5526, allocations: 284.2 kB / 1.159 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.5527, allocations: 55.39 kB / 1.159 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007841/0.5535, allocations: 0.6608 MB / 1.159 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.5535, allocations: 37.64 kB / 1.159 GB, free: 127 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.5538, allocations: 372.1 kB / 1.16 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.5538, allocations: 62.2 kB / 1.16 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.5539, allocations: 4 kB / 1.16 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.554, allocations: 380.4 kB / 1.16 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.5543, allocations: 99.94 kB / 1.16 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.5546, allocations: 183.6 kB / 1.16 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.5549, allocations: 121 kB / 1.161 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.138e-06/0.555, allocations: 0 / 1.161 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007992/0.5558, allocations: 397.6 kB / 1.161 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/0.5558, allocations: 102.7 kB / 1.161 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.664e-06/0.5558, allocations: 0 / 1.161 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.5559, allocations: 4 kB / 1.161 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.557, allocations: 168.9 kB / 1.161 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009809/0.558, allocations: 2.364 MB / 1.163 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006287/0.5587, allocations: 82.38 kB / 1.164 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.665e-05/0.5587, allocations: 12.11 kB / 1.164 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.5588, allocations: 14.16 kB / 1.164 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006783/0.5594, allocations: 283.7 kB / 1.164 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5595, allocations: 0 / 1.164 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.726e-06/0.5595, allocations: 7 kB / 1.164 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.56, allocations: 99.88 kB / 1.164 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.408e-06/0.56, allocations: 4 kB / 1.164 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005542/0.5606, allocations: 86.94 kB / 1.164 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.5606, allocations: 8 kB / 1.164 GB, free: 122.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002611/0.5609, allocations: 275.6 kB / 1.164 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.561, allocations: 67.16 kB / 1.164 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006192/0.5616, allocations: 284.7 kB / 1.165 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.5616, allocations: 4 kB / 1.165 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.3e-06/0.5617, allocations: 2.062 kB / 1.165 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.805e-06/0.5617, allocations: 0 / 1.165 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.563, allocations: 0.8419 MB / 1.165 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.027e-06/0.563, allocations: 0 / 1.165 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.5634, allocations: 80.66 kB / 1.166 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.5634, allocations: 0 / 1.166 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.5634, allocations: 7.984 kB / 1.166 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007992/0.5642, allocations: 2.346 MB / 1.168 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.508e-06/0.5642, allocations: 0 / 1.168 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005322/0.5648, allocations: 370 kB / 1.168 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.565, allocations: 167 kB / 1.168 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.5651, allocations: 4 kB / 1.168 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005197/0.5656, allocations: 62.27 kB / 1.168 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.5657, allocations: 21.56 kB / 1.168 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.5657, allocations: 8.844 kB / 1.168 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005661/0.5663, allocations: 463 kB / 1.169 GB, free: 117 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.19e-07/0.5663, allocations: 0 / 1.169 GB, free: 117 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009275/0.5673, allocations: 339.2 kB / 1.169 GB, free: 116.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004597/0.5677, allocations: 249.5 kB / 1.169 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.5695, allocations: 492.2 kB / 1.17 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.48e-06/0.5695, allocations: 0 / 1.17 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.57, allocations: 133.3 kB / 1.17 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.5721, allocations: 391.5 kB / 1.17 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.5739, allocations: 1.259 MB / 1.172 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.5743, allocations: 0.9379 MB / 1.173 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000522/0.5749, allocations: 108 kB / 1.173 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.575, allocations: 55.42 kB / 1.173 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.322e-06/0.575, allocations: 1 kB / 1.173 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.02555/0.6006, allocations: 12.22 MB / 1.185 GB, free: 101.5 MB / 0.6823 GB