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.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004229/0.004235, 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.001128/0.001128, 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 3.898/3.898, allocations: 389.1 MB / 406.5 MB, free: 11.82 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.764/3.764, allocations: 472.3 MB / 0.9024 GB, free: 18.77 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005056/0.0005059, allocations: 9.469 kB / 1.008 GB, free: 13.43 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2216, allocations: 98.71 MB / 1.105 GB, free: 10.76 MB / 0.573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.668/1.889, allocations: 384.8 MB / 1.48 GB, free: 230.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003553/1.89, allocations: 106.9 kB / 1.481 GB, free: 230.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.67/3.56, allocations: 347.3 MB / 1.82 GB, free: 186.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.435e-06/3.56, allocations: 0 / 1.82 GB, free: 186.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001294/3.56, allocations: 33.77 kB / 1.82 GB, free: 186.2 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.004165/3.565, allocations: 1.304 MB / 1.821 GB, free: 185.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/3.565, allocations: 9.344 kB / 1.821 GB, free: 185.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000561/3.565, allocations: 119.1 kB / 1.821 GB, free: 185.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002479/3.568, allocations: 0.676 MB / 1.822 GB, free: 185.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-05/3.568, allocations: 60.62 kB / 1.822 GB, free: 185.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/3.568, allocations: 84.05 kB / 1.822 GB, free: 185.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/3.57, allocations: 0.5424 MB / 1.822 GB, free: 185.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/3.57, allocations: 5.203 kB / 1.822 GB, free: 185.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.351e-05/3.57, allocations: 20.25 kB / 1.822 GB, free: 185.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/3.57, allocations: 10.5 kB / 1.822 GB, free: 185.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/3.571, allocations: 392.9 kB / 1.823 GB, free: 185.2 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.006387/3.577, allocations: 2.483 MB / 1.825 GB, free: 184.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009047/3.578, allocations: 275.9 kB / 1.826 GB, free: 184.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004191/3.579, allocations: 129.9 kB / 1.826 GB, free: 184.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/3.579, allocations: 343.9 kB / 1.826 GB, free: 183.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/3.579, allocations: 35.7 kB / 1.826 GB, free: 183.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=27): time 2.705e-06/3.579, allocations: 0 / 1.826 GB, free: 183.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=27): time 0.001945/3.581, allocations: 461.9 kB / 1.826 GB, free: 183.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/3.581, allocations: 54.28 kB / 1.827 GB, free: 183.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/3.583, allocations: 0.7465 MB / 1.827 GB, free: 183.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003447/3.583, allocations: 49.39 kB / 1.827 GB, free: 183.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004591/3.583, allocations: 447.2 kB / 1.828 GB, free: 183.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/3.584, allocations: 94.84 kB / 1.828 GB, free: 183.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/3.584, allocations: 11.88 kB / 1.828 GB, free: 183.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.394e-05/3.584, allocations: 323.1 kB / 1.828 GB, free: 182.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/3.584, allocations: 152.7 kB / 1.828 GB, free: 182.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/3.586, allocations: 0.8011 MB / 1.829 GB, free: 182.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/3.586, allocations: 234.5 kB / 1.829 GB, free: 182.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/3.586, allocations: 1.375 kB / 1.829 GB, free: 182.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001939/3.588, allocations: 0.5457 MB / 1.83 GB, free: 182.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.383e-05/3.589, allocations: 149.8 kB / 1.83 GB, free: 182 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/3.589, allocations: 5.344 kB / 1.83 GB, free: 182 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/3.589, allocations: 7.688 kB / 1.83 GB, free: 182 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/3.591, allocations: 205.1 kB / 1.83 GB, free: 182 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/3.592, allocations: 2.375 MB / 1.832 GB, free: 179.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00348/3.596, allocations: 390.9 kB / 1.833 GB, free: 179.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/3.596, allocations: 25.52 kB / 1.833 GB, free: 179.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/3.596, allocations: 3.469 kB / 1.833 GB, free: 179.6 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001424/3.597, allocations: 435.2 kB / 1.833 GB, free: 179.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/3.597, allocations: 2 kB / 1.833 GB, free: 179.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/3.597, allocations: 8.062 kB / 1.833 GB, free: 179.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/3.599, allocations: 138.6 kB / 1.833 GB, free: 179.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/3.599, allocations: 3.344 kB / 1.833 GB, free: 179.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003323/3.602, allocations: 386 kB / 1.834 GB, free: 179.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/3.602, allocations: 20 kB / 1.834 GB, free: 179.6 MB / 0.823 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 (62): * Single equations (assignments): 58 * 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.0007201/3.603, allocations: 303.7 kB / 1.834 GB, free: 179.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002775/3.603, allocations: 79.75 kB / 1.834 GB, free: 179.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/3.605, allocations: 446.6 kB / 1.835 GB, free: 179.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/3.605, allocations: 14.38 kB / 1.835 GB, free: 179.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/3.605, allocations: 0 / 1.835 GB, free: 179.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/3.605, allocations: 1.062 kB / 1.835 GB, free: 179.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/3.608, allocations: 1.067 MB / 1.836 GB, free: 179 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/3.608, allocations: 4.594 kB / 1.836 GB, free: 179 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008099/3.608, allocations: 105.1 kB / 1.836 GB, free: 179 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/3.608, allocations: 2.312 kB / 1.836 GB, free: 179 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/3.608, allocations: 6.969 kB / 1.836 GB, free: 179 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009505/3.609, allocations: 2.355 MB / 1.838 GB, free: 176.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/3.609, allocations: 1.156 kB / 1.838 GB, free: 176.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/3.611, allocations: 0.4982 MB / 1.839 GB, free: 176.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004755/3.611, allocations: 198.2 kB / 1.839 GB, free: 176.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/3.612, allocations: 17.33 kB / 1.839 GB, free: 176.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/3.613, allocations: 57.86 kB / 1.839 GB, free: 176.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.692e-05/3.613, allocations: 24.41 kB / 1.839 GB, free: 176.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/3.613, allocations: 16.5 kB / 1.839 GB, free: 176.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001992/3.615, allocations: 0.5023 MB / 1.839 GB, free: 176.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.91e-07/3.615, allocations: 0 / 1.839 GB, free: 176.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002489/3.617, allocations: 0.493 MB / 1.84 GB, free: 176.2 MB / 0.823 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 (32): * Single equations (assignments): 26 * 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.001329/3.619, allocations: 478.4 kB / 1.84 GB, free: 176 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00378/3.622, allocations: 0.7264 MB / 1.841 GB, free: 176 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/3.622, allocations: 3.688 kB / 1.841 GB, free: 176 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008682/3.623, allocations: 198.6 kB / 1.841 GB, free: 176 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/3.627, allocations: 419.8 kB / 1.842 GB, free: 176 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/3.631, allocations: 1.459 MB / 1.843 GB, free: 175.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/3.631, allocations: 0.9777 MB / 1.844 GB, free: 174.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001652/3.633, allocations: 159.2 kB / 1.844 GB, free: 174.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/3.633, allocations: 64.12 kB / 1.844 GB, free: 174.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.072e-06/3.633, allocations: 1.844 kB / 1.844 GB, free: 174.5 MB / 0.823 GB Notification: Performance of Templates: time 0.06656/3.7, allocations: 20.49 MB / 1.864 GB, free: 173.9 MB / 0.823 GB