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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 3.973/3.973, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.942e-05, allocations: 4.719 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1674, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.188, allocations: 384.7 MB / 1.01 GB, free: 9.758 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/1.188, allocations: 99.84 kB / 1.011 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.696/2.885, allocations: 348.7 MB / 1.351 GB, free: 67.86 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.478e-06/2.885, allocations: 4 kB / 1.351 GB, free: 67.85 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.453e-05/2.885, allocations: 28.17 kB / 1.351 GB, free: 67.82 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.001933/2.887, allocations: 1.149 MB / 1.352 GB, free: 66.63 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/2.887, allocations: 8.031 kB / 1.352 GB, free: 66.62 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/2.887, allocations: 114.8 kB / 1.352 GB, free: 66.51 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/2.888, allocations: 0.6646 MB / 1.353 GB, free: 65.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/2.889, allocations: 57 kB / 1.353 GB, free: 65.75 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/2.889, allocations: 88 kB / 1.353 GB, free: 65.66 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009437/2.89, allocations: 0.5023 MB / 1.354 GB, free: 65.13 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/2.89, allocations: 7.891 kB / 1.354 GB, free: 65.12 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.377e-05/2.89, allocations: 24 kB / 1.354 GB, free: 65.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/2.89, allocations: 12 kB / 1.354 GB, free: 65.09 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007089/2.891, allocations: 331.8 kB / 1.354 GB, free: 64.77 MB / 0.823 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.004239/2.895, allocations: 2.478 MB / 1.356 GB, free: 62.15 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007172/2.896, allocations: 266.6 kB / 1.357 GB, free: 61.88 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/2.896, allocations: 101.3 kB / 1.357 GB, free: 61.78 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/2.896, allocations: 344.6 kB / 1.357 GB, free: 61.37 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/2.896, allocations: 38.8 kB / 1.357 GB, free: 61.32 MB / 0.823 GB Notification: Performance of pre-optimization done (n=27): time 3.458e-06/2.896, allocations: 448 / 1.357 GB, free: 61.32 MB / 0.823 GB Notification: Performance of matching and sorting (n=27): time 0.0009187/2.897, allocations: 321.4 kB / 1.357 GB, free: 61 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/2.897, allocations: 59.41 kB / 1.357 GB, free: 60.93 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009389/2.898, allocations: 0.6413 MB / 1.358 GB, free: 60.28 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/2.898, allocations: 45.64 kB / 1.358 GB, free: 60.23 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/2.899, allocations: 446.6 kB / 1.359 GB, free: 59.79 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.607e-05/2.899, allocations: 94.64 kB / 1.359 GB, free: 59.69 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/2.899, allocations: 8 kB / 1.359 GB, free: 59.68 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.338e-05/2.899, allocations: 326 kB / 1.359 GB, free: 59.36 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/2.899, allocations: 125.1 kB / 1.359 GB, free: 59.24 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008796/2.9, allocations: 0.7741 MB / 1.36 GB, free: 58.24 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/2.9, allocations: 208.4 kB / 1.36 GB, free: 58.04 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.486e-06/2.9, allocations: 0 / 1.36 GB, free: 58.04 MB / 0.823 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001147/2.902, allocations: 0.5106 MB / 1.361 GB, free: 57.52 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001797/2.902, allocations: 0.7939 MB / 1.361 GB, free: 56.66 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/2.902, allocations: 12 kB / 1.361 GB, free: 56.65 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/2.902, allocations: 4 kB / 1.361 GB, free: 56.65 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/2.903, allocations: 167.7 kB / 1.361 GB, free: 56.48 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/2.904, allocations: 2.36 MB / 1.364 GB, free: 54.03 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/2.906, allocations: 395.7 kB / 1.364 GB, free: 53.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/2.906, allocations: 31.98 kB / 1.364 GB, free: 53.61 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/2.906, allocations: 4 kB / 1.364 GB, free: 53.61 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008761/2.907, allocations: 378.1 kB / 1.365 GB, free: 53.24 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.513e-06/2.907, allocations: 4 kB / 1.365 GB, free: 53.23 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/2.907, allocations: 8.188 kB / 1.365 GB, free: 53.23 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007031/2.908, allocations: 135.8 kB / 1.365 GB, free: 53.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/2.908, allocations: 11.92 kB / 1.365 GB, free: 53.08 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/2.91, allocations: 387.6 kB / 1.365 GB, free: 52.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-05/2.91, allocations: 23.98 kB / 1.365 GB, free: 52.68 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 () * 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.000228/2.911, allocations: 147.5 kB / 1.365 GB, free: 52.53 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/2.911, allocations: 79 kB / 1.365 GB, free: 52.45 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009705/2.912, allocations: 404.6 kB / 1.366 GB, free: 52.05 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/2.912, allocations: 4 kB / 1.366 GB, free: 52.05 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.222e-06/2.912, allocations: 0 / 1.366 GB, free: 52.05 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.697e-06/2.912, allocations: 3.938 kB / 1.366 GB, free: 52.04 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/2.914, allocations: 1.019 MB / 1.367 GB, free: 50.96 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.146e-06/2.914, allocations: 3.938 kB / 1.367 GB, free: 50.96 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/2.914, allocations: 99.98 kB / 1.367 GB, free: 50.86 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.735e-06/2.914, allocations: 7.938 kB / 1.367 GB, free: 50.85 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/2.914, allocations: 11.95 kB / 1.367 GB, free: 50.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000862/2.915, allocations: 2.352 MB / 1.369 GB, free: 48.39 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.857e-06/2.915, allocations: 0 / 1.369 GB, free: 48.39 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007422/2.916, allocations: 487.5 kB / 1.37 GB, free: 47.88 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/2.916, allocations: 195.9 kB / 1.37 GB, free: 47.67 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/2.917, allocations: 8 kB / 1.37 GB, free: 47.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006998/2.917, allocations: 59.92 kB / 1.37 GB, free: 47.61 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.18e-05/2.917, allocations: 19.97 kB / 1.37 GB, free: 47.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/2.917, allocations: 23.95 kB / 1.37 GB, free: 47.56 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0007506/2.918, allocations: 0.4952 MB / 1.37 GB, free: 47.07 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.65e-07/2.918, allocations: 0 / 1.37 GB, free: 47.07 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001751/2.92, allocations: 0.4954 MB / 1.371 GB, free: 46.58 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 () * 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.0009412/2.921, allocations: 477.5 kB / 1.371 GB, free: 46.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001992/2.923, allocations: 0.6428 MB / 1.372 GB, free: 45.46 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.656e-06/2.923, allocations: 0 / 1.372 GB, free: 45.46 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005304/2.923, allocations: 163.8 kB / 1.372 GB, free: 45.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/2.926, allocations: 418.6 kB / 1.372 GB, free: 44.89 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/2.928, allocations: 0.8639 MB / 1.373 GB, free: 44 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/2.928, allocations: 0.9798 MB / 1.374 GB, free: 42.99 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001295/2.929, allocations: 205.8 kB / 1.374 GB, free: 42.79 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/2.93, allocations: 55.42 kB / 1.375 GB, free: 42.73 MB / 0.823 GB Notification: Performance of SimCode: time 1.806e-06/2.93, allocations: 0 / 1.375 GB, free: 42.73 MB / 0.823 GB Notification: Performance of Templates: time 0.05149/2.981, allocations: 22.2 MB / 1.396 GB, free: 20.83 MB / 0.823 GB