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.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004314/0.004319, allocations: 231 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.0011/0.001101, allocations: 170.5 kB / 16.7 MB, free: 5.453 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.912/3.912, allocations: 389.1 MB / 406.5 MB, free: 11.83 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.769/3.769, allocations: 472.3 MB / 0.9024 GB, free: 18.76 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004831, allocations: 12.56 kB / 1.008 GB, free: 13.39 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2162, allocations: 98.71 MB / 1.105 GB, free: 10.73 MB / 0.573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.678/1.894, allocations: 380.8 MB / 1.477 GB, free: 232.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/1.894, allocations: 101.4 kB / 1.477 GB, free: 232.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7239/2.618, allocations: 226.5 MB / 1.698 GB, free: 69.13 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.835e-06/2.618, allocations: 0 / 1.698 GB, free: 69.13 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.096e-05/2.618, allocations: 20 kB / 1.698 GB, free: 69.11 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002864/2.621, allocations: 1.069 MB / 1.699 GB, free: 68 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/2.621, allocations: 16.75 kB / 1.699 GB, free: 67.98 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/2.622, allocations: 86.33 kB / 1.699 GB, free: 67.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/2.623, allocations: 0.5112 MB / 1.7 GB, free: 67.34 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/2.623, allocations: 37 kB / 1.7 GB, free: 67.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/2.623, allocations: 55.92 kB / 1.7 GB, free: 67.25 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/2.625, allocations: 0.6216 MB / 1.7 GB, free: 66.57 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/2.625, allocations: 0 / 1.7 GB, free: 66.57 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/2.625, allocations: 28 kB / 1.7 GB, free: 66.54 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/2.625, allocations: 12 kB / 1.7 GB, free: 66.53 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/2.626, allocations: 0.4917 MB / 1.701 GB, free: 66.04 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.004616/2.631, allocations: 3.182 MB / 1.704 GB, free: 62.66 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/2.632, allocations: 335.4 kB / 1.704 GB, free: 62.33 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007192/2.633, allocations: 220.8 kB / 1.704 GB, free: 62.11 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/2.633, allocations: 348.4 kB / 1.705 GB, free: 61.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/2.633, allocations: 38.56 kB / 1.705 GB, free: 61.65 MB / 0.823 GB Notification: Performance of pre-optimization done (n=36): time 4.779e-06/2.633, allocations: 96 / 1.705 GB, free: 61.65 MB / 0.823 GB Notification: Performance of matching and sorting (n=36): time 0.003241/2.636, allocations: 0.8174 MB / 1.706 GB, free: 60.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/2.636, allocations: 55.41 kB / 1.706 GB, free: 60.74 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008647/2.637, allocations: 0.5744 MB / 1.706 GB, free: 60.16 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.076e-05/2.637, allocations: 37.7 kB / 1.706 GB, free: 60.11 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/2.638, allocations: 332.3 kB / 1.707 GB, free: 59.79 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/2.638, allocations: 130.1 kB / 1.707 GB, free: 59.66 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/2.638, allocations: 16 kB / 1.707 GB, free: 59.64 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001076/2.638, allocations: 370.8 kB / 1.707 GB, free: 59.27 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007801/2.639, allocations: 209.2 kB / 1.707 GB, free: 59.07 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008728/2.64, allocations: 400.2 kB / 1.708 GB, free: 58.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008279/2.641, allocations: 248.7 kB / 1.708 GB, free: 58.36 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/2.641, allocations: 7.938 kB / 1.708 GB, free: 58.35 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002245/2.643, allocations: 0.7108 MB / 1.709 GB, free: 57.63 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/2.643, allocations: 227.2 kB / 1.709 GB, free: 57.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/2.643, allocations: 4 kB / 1.709 GB, free: 57.34 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009059/2.644, allocations: 144.8 kB / 1.709 GB, free: 57.19 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/2.645, allocations: 163.8 kB / 1.709 GB, free: 57.03 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008136/2.646, allocations: 0.6226 MB / 1.71 GB, free: 56.38 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/2.647, allocations: 107.3 kB / 1.71 GB, free: 56.28 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/2.647, allocations: 39.98 kB / 1.71 GB, free: 56.24 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/2.647, allocations: 4 kB / 1.71 GB, free: 56.23 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001864/2.649, allocations: 0.5997 MB / 1.71 GB, free: 55.63 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/2.649, allocations: 8 kB / 1.71 GB, free: 55.62 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/2.649, allocations: 8 kB / 1.71 GB, free: 55.62 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/2.65, allocations: 163.7 kB / 1.711 GB, free: 55.46 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/2.65, allocations: 11.94 kB / 1.711 GB, free: 55.45 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/2.651, allocations: 99.72 kB / 1.711 GB, free: 55.35 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/2.651, allocations: 35.98 kB / 1.711 GB, free: 55.31 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004186/2.652, allocations: 268.4 kB / 1.711 GB, free: 55.04 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/2.652, allocations: 63.16 kB / 1.711 GB, free: 54.98 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/2.654, allocations: 0.6485 MB / 1.712 GB, free: 54.32 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/2.654, allocations: 7.953 kB / 1.712 GB, free: 54.31 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/2.654, allocations: 0 / 1.712 GB, free: 54.31 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/2.654, allocations: 0 / 1.712 GB, free: 54.31 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/2.658, allocations: 1.315 MB / 1.713 GB, free: 52.93 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/2.658, allocations: 4.031 kB / 1.713 GB, free: 52.93 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/2.658, allocations: 79.89 kB / 1.713 GB, free: 52.85 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006554/2.659, allocations: 136.8 kB / 1.713 GB, free: 52.71 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/2.659, allocations: 12 kB / 1.713 GB, free: 52.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007838/2.66, allocations: 0.6304 MB / 1.714 GB, free: 52.04 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/2.66, allocations: 7.938 kB / 1.714 GB, free: 52.04 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/2.662, allocations: 0.7109 MB / 1.714 GB, free: 51.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/2.663, allocations: 204 kB / 1.715 GB, free: 51.08 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/2.663, allocations: 8 kB / 1.715 GB, free: 51.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008583/2.664, allocations: 63.88 kB / 1.715 GB, free: 51.01 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/2.664, allocations: 27.95 kB / 1.715 GB, free: 50.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/2.664, allocations: 16 kB / 1.715 GB, free: 50.97 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005991/2.664, allocations: 395.1 kB / 1.715 GB, free: 50.59 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.9e-07/2.664, allocations: 0 / 1.715 GB, free: 50.59 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001654/2.666, allocations: 423.4 kB / 1.716 GB, free: 50.18 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001061/2.667, allocations: 421.2 kB / 1.716 GB, free: 49.77 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003231/2.67, allocations: 0.8892 MB / 1.717 GB, free: 48.88 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/2.67, allocations: 8 kB / 1.717 GB, free: 48.87 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/2.672, allocations: 279.7 kB / 1.717 GB, free: 48.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/2.674, allocations: 278.4 kB / 1.717 GB, free: 48.33 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/2.677, allocations: 1.23 MB / 1.719 GB, free: 47.07 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/2.677, allocations: 0.9158 MB / 1.719 GB, free: 46.12 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001027/2.678, allocations: 137 kB / 1.72 GB, free: 45.99 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/2.678, allocations: 59.41 kB / 1.72 GB, free: 45.93 MB / 0.823 GB Notification: Performance of SimCode: time 9.82e-07/2.678, allocations: 4 kB / 1.72 GB, free: 45.93 MB / 0.823 GB Notification: Performance of Templates: time 0.03368/2.712, allocations: 13.18 MB / 1.733 GB, free: 32.9 MB / 0.823 GB