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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",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.01102/0.01102, allocations: 107.4 kB / 15.05 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.001151/0.001151, allocations: 185.5 kB / 15.95 MB, free: 5.941 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 1.959/1.959, allocations: 194.5 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.327/2.327, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007206/0.0007207, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7202/0.721, allocations: 98.71 MB / 0.6834 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.213/1.934, allocations: 410.2 MB / 1.084 GB, free: 39.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/1.935, allocations: 107.7 kB / 1.084 GB, free: 39.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.439/5.373, allocations: 0.6451 GB / 1.729 GB, free: 123 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.735e-06/5.373, allocations: 0 / 1.729 GB, free: 123 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002211/5.374, allocations: 54.84 kB / 1.729 GB, free: 122.9 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.006242/5.38, allocations: 2.071 MB / 1.731 GB, free: 120.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/5.38, allocations: 8.031 kB / 1.731 GB, free: 120.8 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004045/5.38, allocations: 158.7 kB / 1.731 GB, free: 120.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007408/5.381, allocations: 207 kB / 1.732 GB, free: 120.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004944/5.386, allocations: 1.622 MB / 1.733 GB, free: 118.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.768e-05/5.386, allocations: 82 kB / 1.733 GB, free: 118.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/5.386, allocations: 120.5 kB / 1.733 GB, free: 118.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/5.389, allocations: 1.032 MB / 1.734 GB, free: 117.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.595e-05/5.389, allocations: 3.938 kB / 1.734 GB, free: 117.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/5.389, allocations: 46.34 kB / 1.735 GB, free: 117.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/5.389, allocations: 27.94 kB / 1.735 GB, free: 117.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/5.391, allocations: 0.7406 MB / 1.735 GB, free: 116.8 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.01039/5.402, allocations: 5.296 MB / 1.74 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007542/5.403, allocations: 304.9 kB / 1.741 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005728/5.403, allocations: 0.6624 MB / 1.741 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/5.403, allocations: 40.91 kB / 1.741 GB, free: 110 MB / 0.823 GB Notification: Performance of pre-optimization done (n=38): time 3.326e-06/5.403, allocations: 0 / 1.741 GB, free: 110 MB / 0.823 GB Notification: Performance of matching and sorting (n=38): time 0.002144/5.405, allocations: 0.666 MB / 1.742 GB, free: 109.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/5.405, allocations: 57.78 kB / 1.742 GB, free: 109.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/5.408, allocations: 1.271 MB / 1.743 GB, free: 108 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001742/5.408, allocations: 41.7 kB / 1.743 GB, free: 108 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006789/5.409, allocations: 0.7354 MB / 1.744 GB, free: 107.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/5.409, allocations: 136.9 kB / 1.744 GB, free: 107.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/5.409, allocations: 18.34 kB / 1.744 GB, free: 107.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/5.409, allocations: 337.9 kB / 1.745 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000688/5.41, allocations: 229.9 kB / 1.745 GB, free: 106.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008562/5.411, allocations: 0.5025 MB / 1.745 GB, free: 105.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008604/5.412, allocations: 310.7 kB / 1.746 GB, free: 105.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/5.412, allocations: 0 / 1.746 GB, free: 105.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00243/5.414, allocations: 0.8494 MB / 1.746 GB, free: 104.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004449/5.414, allocations: 2.066 MB / 1.748 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/5.414, allocations: 4 kB / 1.748 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.319e-05/5.415, allocations: 8 kB / 1.748 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/5.416, allocations: 186 kB / 1.749 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/5.416, allocations: 11.94 kB / 1.749 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/5.418, allocations: 179.7 kB / 1.749 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/5.418, allocations: 39.98 kB / 1.749 GB, free: 102.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/5.418, allocations: 0 / 1.749 GB, free: 102.1 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001866/5.42, allocations: 0.678 MB / 1.75 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/5.42, allocations: 4 kB / 1.75 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/5.42, allocations: 19.89 kB / 1.75 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/5.421, allocations: 175 kB / 1.75 GB, free: 101.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/5.421, allocations: 11.98 kB / 1.75 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/5.424, allocations: 165.8 kB / 1.75 GB, free: 101.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.262e-05/5.424, allocations: 39.98 kB / 1.75 GB, free: 101.1 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.0009686/5.425, allocations: 428.9 kB / 1.75 GB, free: 100.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003779/5.425, allocations: 150.1 kB / 1.75 GB, free: 100.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/5.427, allocations: 0.6232 MB / 1.751 GB, free: 99.84 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/5.427, allocations: 4 kB / 1.751 GB, free: 99.83 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/5.427, allocations: 0 / 1.751 GB, free: 99.83 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001086/5.428, allocations: 0.6893 MB / 1.752 GB, free: 99.06 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003909/5.432, allocations: 1.655 MB / 1.753 GB, free: 97.36 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/5.432, allocations: 0 / 1.753 GB, free: 97.36 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007048/5.433, allocations: 87.89 kB / 1.753 GB, free: 97.28 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/5.433, allocations: 2.406 kB / 1.753 GB, free: 97.28 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/5.433, allocations: 8 kB / 1.753 GB, free: 97.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/5.433, allocations: 4 kB / 1.753 GB, free: 97.27 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/5.433, allocations: 3.984 kB / 1.753 GB, free: 97.26 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/5.435, allocations: 0.8111 MB / 1.754 GB, free: 96.44 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/5.436, allocations: 315 kB / 1.755 GB, free: 96.11 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/5.436, allocations: 4 kB / 1.755 GB, free: 96.11 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/5.438, allocations: 116.1 kB / 1.755 GB, free: 96 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/5.438, allocations: 27 kB / 1.755 GB, free: 95.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/5.438, allocations: 12 kB / 1.755 GB, free: 95.96 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002469/5.441, allocations: 1.018 MB / 1.756 GB, free: 94.95 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.5e-07/5.441, allocations: 0 / 1.756 GB, free: 94.95 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003766/5.445, allocations: 0.7955 MB / 1.756 GB, free: 94.16 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.004059/5.449, allocations: 2.012 MB / 1.758 GB, free: 92.21 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002612/5.451, allocations: 0.8741 MB / 1.759 GB, free: 91.35 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/5.452, allocations: 0 / 1.759 GB, free: 91.35 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005196/5.452, allocations: 188.5 kB / 1.759 GB, free: 91.16 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008648/5.461, allocations: 0.9521 MB / 1.76 GB, free: 90.23 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009743/5.471, allocations: 7.074 MB / 1.767 GB, free: 83.01 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009035/5.471, allocations: 1.261 MB / 1.769 GB, free: 81.72 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002316/5.474, allocations: 309.3 kB / 1.769 GB, free: 81.44 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/5.475, allocations: 0.5773 MB / 1.769 GB, free: 80.86 MB / 0.823 GB Notification: Performance of SimCode: time 1.282e-06/5.475, allocations: 4 kB / 1.769 GB, free: 80.86 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1376/5.613, allocations: 47.35 MB / 1.816 GB, free: 34.42 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/5.613, allocations: 227.2 kB / 1.816 GB, free: 34.18 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.548/10.16, allocations: 64 / 1.816 GB, free: 34.18 MB / 0.823 GB