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.0149/0.0149, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.001752/0.001752, allocations: 183.8 kB / 15.94 MB, free: 5.93 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.909/1.909, allocations: 194.5 MB / 211.3 MB, free: 11.06 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.111/2.111, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004552/0.0004553, allocations: 12 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5676/0.5681, allocations: 98.71 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9869/1.555, allocations: 384.8 MB / 1.059 GB, free: 66.61 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/1.555, allocations: 99.58 kB / 1.059 GB, free: 66.55 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.603/3.159, allocations: 349.7 MB / 1.401 GB, free: 150.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.307e-06/3.159, allocations: 0 / 1.401 GB, free: 150.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.396e-05/3.159, allocations: 31.98 kB / 1.401 GB, free: 150.6 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.002734/3.161, allocations: 1.305 MB / 1.402 GB, free: 149.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/3.162, allocations: 8.031 kB / 1.402 GB, free: 149.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004021/3.162, allocations: 114.8 kB / 1.402 GB, free: 149.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/3.164, allocations: 0.688 MB / 1.403 GB, free: 148.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/3.164, allocations: 61 kB / 1.403 GB, free: 148.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/3.164, allocations: 84 kB / 1.403 GB, free: 148.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/3.165, allocations: 0.5296 MB / 1.403 GB, free: 147.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/3.165, allocations: 7.891 kB / 1.403 GB, free: 147.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.36e-05/3.165, allocations: 27.98 kB / 1.403 GB, free: 147.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/3.165, allocations: 19.94 kB / 1.403 GB, free: 147.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009237/3.166, allocations: 379.7 kB / 1.404 GB, free: 147.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.004315/3.17, allocations: 2.479 MB / 1.406 GB, free: 144.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007829/3.171, allocations: 290 kB / 1.407 GB, free: 144.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/3.172, allocations: 348.6 kB / 1.407 GB, free: 143.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/3.172, allocations: 50.8 kB / 1.407 GB, free: 143.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=27): time 3.316e-06/3.172, allocations: 0 / 1.407 GB, free: 143.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=27): time 0.001482/3.173, allocations: 463 kB / 1.407 GB, free: 143.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/3.173, allocations: 55.41 kB / 1.407 GB, free: 143.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009918/3.174, allocations: 0.6528 MB / 1.408 GB, free: 142.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002096/3.174, allocations: 49.7 kB / 1.408 GB, free: 142.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/3.175, allocations: 428.6 kB / 1.409 GB, free: 142.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.079e-05/3.175, allocations: 94.64 kB / 1.409 GB, free: 142.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/3.175, allocations: 15.94 kB / 1.409 GB, free: 142.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.442e-05/3.175, allocations: 326 kB / 1.409 GB, free: 141.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/3.175, allocations: 153 kB / 1.409 GB, free: 141.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009556/3.176, allocations: 0.7892 MB / 1.41 GB, free: 140.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/3.177, allocations: 234.7 kB / 1.41 GB, free: 140.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.655e-06/3.177, allocations: 0 / 1.41 GB, free: 140.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001457/3.178, allocations: 0.5457 MB / 1.411 GB, free: 139.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001748/3.179, allocations: 0.794 MB / 1.411 GB, free: 139 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/3.179, allocations: 3.984 kB / 1.411 GB, free: 139 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/3.179, allocations: 4 kB / 1.411 GB, free: 139 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/3.18, allocations: 163.7 kB / 1.412 GB, free: 138.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/3.181, allocations: 2.379 MB / 1.414 GB, free: 136.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/3.183, allocations: 391.6 kB / 1.414 GB, free: 135.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/3.183, allocations: 23.98 kB / 1.414 GB, free: 135.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/3.183, allocations: 8.438 kB / 1.414 GB, free: 135.9 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001111/3.185, allocations: 430.1 kB / 1.415 GB, free: 135.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.391e-06/3.185, allocations: 192 / 1.415 GB, free: 135.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/3.185, allocations: 12 kB / 1.415 GB, free: 135.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/3.185, allocations: 139.7 kB / 1.415 GB, free: 135.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/3.185, allocations: 4 kB / 1.415 GB, free: 135.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/3.187, allocations: 383.6 kB / 1.415 GB, free: 135 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/3.188, allocations: 31.94 kB / 1.415 GB, free: 134.9 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.0005988/3.188, allocations: 293.5 kB / 1.416 GB, free: 134.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/3.188, allocations: 82.97 kB / 1.416 GB, free: 134.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/3.19, allocations: 448.6 kB / 1.416 GB, free: 134.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/3.19, allocations: 8 kB / 1.416 GB, free: 134.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/3.19, allocations: 0 / 1.416 GB, free: 134.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.847e-06/3.19, allocations: 0 / 1.416 GB, free: 134.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/3.192, allocations: 1.077 MB / 1.417 GB, free: 133 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.869e-06/3.192, allocations: 4.062 kB / 1.417 GB, free: 133 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/3.192, allocations: 99.81 kB / 1.417 GB, free: 132.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.043e-06/3.192, allocations: 0 / 1.417 GB, free: 132.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/3.192, allocations: 11.95 kB / 1.417 GB, free: 132.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008571/3.193, allocations: 2.356 MB / 1.419 GB, free: 130.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/3.193, allocations: 3.984 kB / 1.419 GB, free: 130.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009787/3.194, allocations: 0.5233 MB / 1.42 GB, free: 129.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/3.195, allocations: 203.9 kB / 1.42 GB, free: 129.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/3.195, allocations: 4 kB / 1.42 GB, free: 129.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000715/3.196, allocations: 71.83 kB / 1.42 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/3.196, allocations: 19.97 kB / 1.42 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/3.196, allocations: 19.95 kB / 1.42 GB, free: 129.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0007832/3.196, allocations: 0.5028 MB / 1.421 GB, free: 129 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.46e-07/3.197, allocations: 4 kB / 1.421 GB, free: 129 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001975/3.198, allocations: 0.4955 MB / 1.421 GB, free: 128.5 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.001085/3.2, allocations: 475.7 kB / 1.422 GB, free: 128 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002335/3.202, allocations: 0.6659 MB / 1.422 GB, free: 127.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/3.202, allocations: 384 / 1.422 GB, free: 127.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006193/3.203, allocations: 199.8 kB / 1.423 GB, free: 127.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/3.205, allocations: 413.6 kB / 1.423 GB, free: 126.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/3.208, allocations: 1.438 MB / 1.424 GB, free: 125.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/3.208, allocations: 0.9785 MB / 1.425 GB, free: 124.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001128/3.209, allocations: 161.9 kB / 1.425 GB, free: 124.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/3.209, allocations: 67.42 kB / 1.426 GB, free: 124.1 MB / 0.823 GB Notification: Performance of SimCode: time 1.778e-06/3.209, allocations: 0 / 1.426 GB, free: 124.1 MB / 0.823 GB Notification: Performance of Templates: time 0.04258/3.252, allocations: 20.36 MB / 1.445 GB, free: 104.1 MB / 0.823 GB