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.TwoWayValveTable.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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01282/0.01282, allocations: 221.2 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.001176/0.001176, allocations: 177.6 kB / 16.06 MB, free: 5.832 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.875/3.875, allocations: 389.1 MB / 405.9 MB, free: 13.61 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 4.167/4.167, allocations: 472.3 MB / 0.9018 GB, free: 16 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.0004971, allocations: 12 kB / 1.008 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6632/0.6638, allocations: 98.71 MB / 1.104 GB, free: 206.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02432/0.6881, allocations: 15.89 MB / 1.12 GB, free: 195.1 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0143/0.7025, allocations: 6.898 MB / 1.126 GB, free: 190.6 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008916/0.7034, allocations: 14.38 kB / 1.126 GB, free: 190.6 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.7049, allocations: 261.4 kB / 1.127 GB, free: 190.5 MB / 0.7136 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.002718/0.7077, allocations: 0.5708 MB / 1.127 GB, free: 190.2 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.008171/0.7159, allocations: 1.652 MB / 1.129 GB, free: 189.5 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0025/0.7185, allocations: 1.151 MB / 1.13 GB, free: 189.1 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008047/0.7193, allocations: 266.2 kB / 1.13 GB, free: 189 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.7205, allocations: 353.9 kB / 1.131 GB, free: 188.8 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007953/0.7213, allocations: 291.3 kB / 1.131 GB, free: 188.7 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.7215, allocations: 18.22 kB / 1.131 GB, free: 188.7 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.7231, allocations: 422.4 kB / 1.131 GB, free: 188.6 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.7233, allocations: 107.6 kB / 1.131 GB, free: 188.6 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.7236, allocations: 113.7 kB / 1.131 GB, free: 188.5 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.725, allocations: 0.531 MB / 1.132 GB, free: 188.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.725, allocations: 3.656 kB / 1.132 GB, free: 188.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.893e-06/0.725, allocations: 1.531 kB / 1.132 GB, free: 188.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.725, allocations: 0 / 1.132 GB, free: 188.3 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001775/0.7268, allocations: 0.7929 MB / 1.133 GB, free: 187.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.7269, allocations: 9.375 kB / 1.133 GB, free: 187.7 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.937e-05/0.727, allocations: 62.41 kB / 1.133 GB, free: 187.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.7272, allocations: 61.62 kB / 1.133 GB, free: 187.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009689/0.7282, allocations: 419.9 kB / 1.133 GB, free: 187.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.7283, allocations: 25.02 kB / 1.133 GB, free: 187.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.563e-05/0.7284, allocations: 32.5 kB / 1.133 GB, free: 187.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007526/0.7291, allocations: 278 kB / 1.134 GB, free: 187.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.7292, allocations: 0 / 1.134 GB, free: 187.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.7292, allocations: 10.75 kB / 1.134 GB, free: 187 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.7292, allocations: 5.219 kB / 1.134 GB, free: 187 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006727/0.7299, allocations: 208.2 kB / 1.134 GB, free: 187 MB / 0.7136 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.002693/0.7326, allocations: 1.256 MB / 1.135 GB, free: 185.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006947/0.7333, allocations: 199.4 kB / 1.135 GB, free: 185.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.7336, allocations: 78.11 kB / 1.135 GB, free: 185.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002263/0.7359, allocations: 1.293 MB / 1.137 GB, free: 184.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.736, allocations: 42.58 kB / 1.137 GB, free: 184.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 2.815e-06/0.736, allocations: 0 / 1.137 GB, free: 184.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0009562/0.737, allocations: 257.5 kB / 1.137 GB, free: 184.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.737, allocations: 53.59 kB / 1.137 GB, free: 184.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009797/0.738, allocations: 0.57 MB / 1.137 GB, free: 183.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.7381, allocations: 32.52 kB / 1.137 GB, free: 183.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.7383, allocations: 256.2 kB / 1.138 GB, free: 183.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.7384, allocations: 59.44 kB / 1.138 GB, free: 183.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.834e-05/0.7384, allocations: 8.25 kB / 1.138 GB, free: 183.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.7385, allocations: 357.9 kB / 1.138 GB, free: 183.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.7388, allocations: 81.56 kB / 1.138 GB, free: 183.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.7393, allocations: 203.8 kB / 1.138 GB, free: 183 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.7397, allocations: 130 kB / 1.139 GB, free: 182.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.7397, allocations: 1.438 kB / 1.139 GB, free: 182.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001045/0.7408, allocations: 347.5 kB / 1.139 GB, free: 182.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.875e-05/0.7409, allocations: 177.3 kB / 1.139 GB, free: 182.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.7409, allocations: 1.375 kB / 1.139 GB, free: 182.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.741, allocations: 6.109 kB / 1.139 GB, free: 182.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.7414, allocations: 62.34 kB / 1.139 GB, free: 182.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.7415, allocations: 7.422 kB / 1.139 GB, free: 182.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/0.7422, allocations: 53.64 kB / 1.139 GB, free: 182.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/0.7422, allocations: 14.64 kB / 1.139 GB, free: 182.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.7423, allocations: 10.52 kB / 1.139 GB, free: 182.5 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008196/0.7431, allocations: 283.3 kB / 1.139 GB, free: 182.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.7431, allocations: 2.406 kB / 1.139 GB, free: 182.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.7431, allocations: 3.125 kB / 1.139 GB, free: 182.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.7436, allocations: 65.88 kB / 1.14 GB, free: 182.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.7436, allocations: 7.656 kB / 1.14 GB, free: 182.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006744/0.7443, allocations: 50.84 kB / 1.14 GB, free: 182.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.7444, allocations: 18.34 kB / 1.14 GB, free: 182.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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.0003607/0.7447, allocations: 260.6 kB / 1.14 GB, free: 182.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.7448, allocations: 50.39 kB / 1.14 GB, free: 182 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008548/0.7457, allocations: 263.8 kB / 1.14 GB, free: 181.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.7457, allocations: 2.156 kB / 1.14 GB, free: 181.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7458, allocations: 4.594 kB / 1.14 GB, free: 181.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.7458, allocations: 3.281 kB / 1.14 GB, free: 181.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.7473, allocations: 0.7105 MB / 1.141 GB, free: 181.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.7473, allocations: 4.062 kB / 1.141 GB, free: 181.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.7476, allocations: 33.36 kB / 1.141 GB, free: 181.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.7476, allocations: 1.5 kB / 1.141 GB, free: 181.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.7477, allocations: 4 kB / 1.141 GB, free: 181.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.7477, allocations: 3.953 kB / 1.141 GB, free: 181.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7477, allocations: 4 kB / 1.141 GB, free: 181.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009768/0.7487, allocations: 442.3 kB / 1.141 GB, free: 180.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/0.749, allocations: 152.4 kB / 1.141 GB, free: 180.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.931e-05/0.7491, allocations: 4 kB / 1.141 GB, free: 180.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.7495, allocations: 23.34 kB / 1.141 GB, free: 180.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.7496, allocations: 15.98 kB / 1.141 GB, free: 180.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.7496, allocations: 4 kB / 1.141 GB, free: 180.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006547/0.7503, allocations: 406.8 kB / 1.142 GB, free: 180.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.81e-07/0.7503, allocations: 0 / 1.142 GB, free: 180.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001139/0.7514, allocations: 227.7 kB / 1.142 GB, free: 180 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (senVolFlo.d) * 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 (17): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002288/0.7537, allocations: 1.259 MB / 1.143 GB, free: 178.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.7549, allocations: 449.3 kB / 1.144 GB, free: 178.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.7549, allocations: 2.375 kB / 1.144 GB, free: 178.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.7552, allocations: 91.83 kB / 1.144 GB, free: 178.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.7575, allocations: 255.1 kB / 1.144 GB, free: 178.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005799/0.7634, allocations: 2.741 MB / 1.147 GB, free: 175.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.7638, allocations: 0.8472 MB / 1.148 GB, free: 174.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006715/0.7645, allocations: 98.91 kB / 1.148 GB, free: 174.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.7648, allocations: 159.4 kB / 1.148 GB, free: 174.2 MB / 0.7136 GB Notification: Performance of SimCode: time 1.153e-06/0.7648, allocations: 0 / 1.148 GB, free: 174.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0552/0.82, allocations: 14.26 MB / 1.162 GB, free: 160.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003456/0.8204, allocations: 277.1 kB / 1.162 GB, free: 160.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/3.749, allocations: 0 / 1.162 GB, free: 160.6 MB / 0.7136 GB