Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.252/4.252, allocations: 433.4 MB / 440.9 MB, free: 4.52 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.668e-05, allocations: 4.75 kB / 0.5325 GB, free: 12.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1765, allocations: 98.72 MB / 0.6289 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9799/1.156, allocations: 384.1 MB / 1.004 GB, free: 5.188 MB / 0.7449 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/1.157, allocations: 93.89 kB / 1.004 GB, free: 5.137 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 1.456/2.613, allocations: 345.8 MB / 1.342 GB, free: 53.49 MB / 0.8074 GB Notification: Performance of FrontEnd: time 1.958e-06/2.613, allocations: 0 / 1.342 GB, free: 53.49 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 9.024e-05/2.613, allocations: 32.17 kB / 1.342 GB, free: 53.46 MB / 0.8074 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.0021/2.615, allocations: 1.142 MB / 1.343 GB, free: 52.27 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/2.615, allocations: 12.03 kB / 1.343 GB, free: 52.26 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004131/2.616, allocations: 114.8 kB / 1.343 GB, free: 52.14 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/2.618, allocations: 0.6571 MB / 1.344 GB, free: 51.45 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/2.618, allocations: 16 kB / 1.344 GB, free: 51.43 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002635/2.618, allocations: 59.98 kB / 1.344 GB, free: 51.37 MB / 0.8074 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008241/2.619, allocations: 322.5 kB / 1.344 GB, free: 51.05 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000905/2.62, allocations: 448.5 kB / 1.344 GB, free: 50.59 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/2.62, allocations: 4 kB / 1.344 GB, free: 50.58 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.215e-05/2.62, allocations: 0 / 1.344 GB, free: 50.58 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/2.62, allocations: 12 kB / 1.344 GB, free: 50.57 MB / 0.8074 GB Warning: The model contains alias variables with conflicting start and/or 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.005154/2.625, allocations: 2.361 MB / 1.347 GB, free: 48.09 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007432/2.626, allocations: 263.3 kB / 1.347 GB, free: 47.82 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/2.626, allocations: 105.3 kB / 1.347 GB, free: 47.71 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/2.626, allocations: 336.6 kB / 1.347 GB, free: 47.31 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/2.626, allocations: 38.8 kB / 1.348 GB, free: 47.26 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=27): time 3.684e-06/2.626, allocations: 0 / 1.348 GB, free: 47.26 MB / 0.8074 GB Notification: Performance of matching and sorting (n=27): time 0.001678/2.628, allocations: 399 kB / 1.348 GB, free: 46.87 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/2.628, allocations: 59.41 kB / 1.348 GB, free: 46.8 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008154/2.629, allocations: 0.5314 MB / 1.348 GB, free: 46.26 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 0.0001986/2.629, allocations: 33.7 kB / 1.348 GB, free: 46.22 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/2.63, allocations: 446.1 kB / 1.349 GB, free: 45.77 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/2.63, allocations: 90.66 kB / 1.349 GB, free: 45.68 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/2.63, allocations: 0 / 1.349 GB, free: 45.68 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 0.0001167/2.63, allocations: 382.8 kB / 1.349 GB, free: 45.3 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/2.63, allocations: 121 kB / 1.349 GB, free: 45.18 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000787/2.631, allocations: 0.7379 MB / 1.35 GB, free: 44.22 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/2.632, allocations: 302.3 kB / 1.35 GB, free: 43.93 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-06/2.632, allocations: 0 / 1.35 GB, free: 43.93 MB / 0.8074 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001807/2.634, allocations: 0.5496 MB / 1.351 GB, free: 43.38 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001835/2.634, allocations: 0.794 MB / 1.352 GB, free: 42.52 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/2.634, allocations: 7.938 kB / 1.352 GB, free: 42.51 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/2.634, allocations: 7.938 kB / 1.352 GB, free: 42.5 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/2.635, allocations: 175.7 kB / 1.352 GB, free: 42.33 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/2.637, allocations: 2.383 MB / 1.354 GB, free: 39.85 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/2.639, allocations: 367.9 kB / 1.355 GB, free: 39.49 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/2.639, allocations: 31.98 kB / 1.355 GB, free: 39.46 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/2.639, allocations: 4 kB / 1.355 GB, free: 39.46 MB / 0.8074 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001365/2.64, allocations: 406.1 kB / 1.355 GB, free: 39.06 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.763e-06/2.64, allocations: 4 kB / 1.355 GB, free: 39.05 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/2.64, allocations: 4.188 kB / 1.355 GB, free: 39.05 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006616/2.641, allocations: 140 kB / 1.355 GB, free: 38.91 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.182e-06/2.641, allocations: 4 kB / 1.355 GB, free: 38.91 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/2.643, allocations: 355.7 kB / 1.356 GB, free: 38.56 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.943e-05/2.643, allocations: 31.92 kB / 1.356 GB, free: 38.53 MB / 0.8074 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 56 * 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.0002525/2.643, allocations: 128.5 kB / 1.356 GB, free: 38.4 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/2.644, allocations: 67.16 kB / 1.356 GB, free: 38.34 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/2.645, allocations: 456.2 kB / 1.356 GB, free: 37.88 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/2.645, allocations: 4 kB / 1.356 GB, free: 37.88 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.729e-06/2.645, allocations: 0 / 1.356 GB, free: 37.88 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.507e-06/2.645, allocations: 7.984 kB / 1.356 GB, free: 37.87 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/2.648, allocations: 1.02 MB / 1.357 GB, free: 36.8 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.602e-06/2.648, allocations: 0 / 1.357 GB, free: 36.8 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006087/2.649, allocations: 103.8 kB / 1.357 GB, free: 36.7 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.182e-06/2.649, allocations: 4 kB / 1.357 GB, free: 36.7 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/2.649, allocations: 4.062 kB / 1.357 GB, free: 36.69 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008873/2.65, allocations: 2.364 MB / 1.36 GB, free: 34.23 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.604e-06/2.65, allocations: 0 / 1.36 GB, free: 34.23 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/2.651, allocations: 0.5425 MB / 1.36 GB, free: 33.66 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/2.652, allocations: 184 kB / 1.36 GB, free: 33.46 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/2.652, allocations: 0 / 1.36 GB, free: 33.46 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006972/2.652, allocations: 55.92 kB / 1.36 GB, free: 33.4 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/2.652, allocations: 23.97 kB / 1.36 GB, free: 33.38 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/2.653, allocations: 15.98 kB / 1.36 GB, free: 33.36 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 0.0005935/2.653, allocations: 411.2 kB / 1.361 GB, free: 32.97 MB / 0.8074 GB Notification: Performance of sort global known variables: time 9.44e-07/2.653, allocations: 7.938 kB / 1.361 GB, free: 32.96 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.001814/2.655, allocations: 487 kB / 1.361 GB, free: 32.48 MB / 0.8074 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 () * 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.001087/2.656, allocations: 491.2 kB / 1.362 GB, free: 32 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.00219/2.658, allocations: 0.6051 MB / 1.362 GB, free: 31.39 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 7.465e-06/2.658, allocations: 0.75 kB / 1.362 GB, free: 31.39 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 0.0005403/2.659, allocations: 160 kB / 1.363 GB, free: 31.24 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/2.661, allocations: 331.2 kB / 1.363 GB, free: 30.91 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/2.663, allocations: 0.8317 MB / 1.364 GB, free: 30.05 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/2.664, allocations: 0.9792 MB / 1.365 GB, free: 29.04 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 0.001345/2.665, allocations: 185.1 kB / 1.365 GB, free: 28.86 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/2.665, allocations: 55.42 kB / 1.365 GB, free: 28.8 MB / 0.8074 GB Notification: Performance of SimCode: time 1.77e-06/2.665, allocations: 0 / 1.365 GB, free: 28.8 MB / 0.8074 GB Notification: Performance of Templates: time 0.03867/2.704, allocations: 18.22 MB / 1.383 GB, free: 10.81 MB / 0.8074 GB