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.00925/0.00925, allocations: 112.4 kB / 15.06 MB, free: 6.031 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.001107/0.001107, allocations: 188.5 kB / 15.95 MB, free: 5.965 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.913/1.913, allocations: 194.6 MB / 211.3 MB, free: 11.12 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.19/2.19, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004667, allocations: 16 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/0.5558, allocations: 98.7 MB / 0.6833 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9713/1.527, allocations: 410.2 MB / 1.084 GB, free: 42.19 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/1.527, allocations: 111.7 kB / 1.084 GB, free: 42.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.049/4.577, allocations: 0.6451 GB / 1.729 GB, free: 125.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.329e-06/4.577, allocations: 0 / 1.729 GB, free: 125.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002393/4.577, allocations: 56.19 kB / 1.729 GB, free: 125.3 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.005428/4.582, allocations: 2.086 MB / 1.731 GB, free: 123.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/4.583, allocations: 10.83 kB / 1.731 GB, free: 123.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009036/4.583, allocations: 209.6 kB / 1.731 GB, free: 123.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004346/4.588, allocations: 1.613 MB / 1.733 GB, free: 122.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.319e-05/4.588, allocations: 86 kB / 1.733 GB, free: 122.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/4.588, allocations: 112 kB / 1.733 GB, free: 122 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/4.59, allocations: 1.044 MB / 1.734 GB, free: 120.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/4.591, allocations: 0 / 1.734 GB, free: 120.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/4.591, allocations: 44 kB / 1.734 GB, free: 120.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-05/4.591, allocations: 24 kB / 1.734 GB, free: 120.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/4.592, allocations: 0.7365 MB / 1.735 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.009664/4.602, allocations: 5.306 MB / 1.74 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/4.603, allocations: 293.1 kB / 1.74 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004518/4.603, allocations: 0.6702 MB / 1.741 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.4e-05/4.603, allocations: 38.5 kB / 1.741 GB, free: 113.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=38): time 3.848e-06/4.603, allocations: 6.781 kB / 1.741 GB, free: 113.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=38): time 0.001789/4.605, allocations: 0.6616 MB / 1.742 GB, free: 112.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/4.605, allocations: 55.41 kB / 1.742 GB, free: 112.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/4.608, allocations: 1.271 MB / 1.743 GB, free: 111.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/4.608, allocations: 40.33 kB / 1.743 GB, free: 111.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006173/4.608, allocations: 0.7389 MB / 1.744 GB, free: 110.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/4.609, allocations: 133.9 kB / 1.744 GB, free: 110.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/4.609, allocations: 16 kB / 1.744 GB, free: 110.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.982e-05/4.609, allocations: 337.9 kB / 1.744 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005955/4.609, allocations: 228.9 kB / 1.745 GB, free: 109.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007254/4.61, allocations: 0.5093 MB / 1.745 GB, free: 109.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006654/4.611, allocations: 305.3 kB / 1.745 GB, free: 109 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.857e-06/4.611, allocations: 0 / 1.745 GB, free: 109 MB / 0.823 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002011/4.613, allocations: 0.8509 MB / 1.746 GB, free: 108.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004138/4.613, allocations: 2.07 MB / 1.748 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/4.613, allocations: 4 kB / 1.748 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/4.613, allocations: 8 kB / 1.748 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008873/4.614, allocations: 182.7 kB / 1.748 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/4.614, allocations: 11.98 kB / 1.748 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/4.616, allocations: 177.3 kB / 1.749 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/4.616, allocations: 35.98 kB / 1.749 GB, free: 105.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/4.616, allocations: 8.031 kB / 1.749 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001508/4.618, allocations: 0.6755 MB / 1.749 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/4.618, allocations: 4 kB / 1.749 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/4.618, allocations: 11.95 kB / 1.749 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007787/4.618, allocations: 175.7 kB / 1.749 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/4.619, allocations: 19.88 kB / 1.749 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/4.62, allocations: 168.7 kB / 1.75 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.624e-05/4.62, allocations: 39.98 kB / 1.75 GB, free: 104.4 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.0009281/4.621, allocations: 428.8 kB / 1.75 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003989/4.622, allocations: 146.2 kB / 1.75 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/4.623, allocations: 0.6213 MB / 1.751 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/4.623, allocations: 4 kB / 1.751 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.887e-06/4.623, allocations: 3 kB / 1.751 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008223/4.624, allocations: 0.6909 MB / 1.752 GB, free: 102.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/4.627, allocations: 1.648 MB / 1.753 GB, free: 100.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.958e-06/4.628, allocations: 7 kB / 1.753 GB, free: 100.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000501/4.628, allocations: 95.81 kB / 1.753 GB, free: 100.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.876e-06/4.628, allocations: 0 / 1.753 GB, free: 100.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/4.628, allocations: 8 kB / 1.753 GB, free: 100.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.251e-06/4.628, allocations: 4 kB / 1.753 GB, free: 100.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/4.628, allocations: 2.719 kB / 1.753 GB, free: 100.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/4.63, allocations: 0.8048 MB / 1.754 GB, free: 99.77 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008392/4.631, allocations: 307 kB / 1.754 GB, free: 99.45 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/4.631, allocations: 12 kB / 1.754 GB, free: 99.44 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/4.632, allocations: 112.9 kB / 1.754 GB, free: 99.34 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.236e-05/4.632, allocations: 26.45 kB / 1.754 GB, free: 99.32 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/4.632, allocations: 16 kB / 1.754 GB, free: 99.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001843/4.634, allocations: 1.018 MB / 1.755 GB, free: 98.29 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.68e-07/4.634, allocations: 0 / 1.755 GB, free: 98.29 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002761/4.637, allocations: 0.8032 MB / 1.756 GB, free: 97.48 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.001317/4.638, allocations: 0.725 MB / 1.757 GB, free: 96.86 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001979/4.64, allocations: 0.8745 MB / 1.758 GB, free: 95.99 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/4.64, allocations: 0 / 1.758 GB, free: 95.99 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003778/4.641, allocations: 192 kB / 1.758 GB, free: 95.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005242/4.646, allocations: 0.9534 MB / 1.759 GB, free: 94.87 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004941/4.651, allocations: 2.782 MB / 1.762 GB, free: 92.07 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009407/4.652, allocations: 1.264 MB / 1.763 GB, free: 90.77 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001874/4.654, allocations: 305.6 kB / 1.763 GB, free: 90.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/4.654, allocations: 115.4 kB / 1.763 GB, free: 90.38 MB / 0.823 GB Notification: Performance of SimCode: time 1.725e-06/4.654, allocations: 0 / 1.763 GB, free: 90.38 MB / 0.823 GB Notification: Performance of Templates: time 0.06846/4.723, allocations: 32.94 MB / 1.795 GB, free: 58.3 MB / 0.823 GB