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.009169/0.009174, allocations: 107.6 kB / 15.06 MB, free: 5.562 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.001833/0.001833, allocations: 182.5 kB / 15.95 MB, free: 5.523 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.83/1.83, allocations: 194.6 MB / 211.3 MB, free: 10.98 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.229/2.229, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006465/0.0006467, allocations: 12 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.6713, allocations: 98.72 MB / 0.6833 GB, free: 16.9 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01922/0.6906, allocations: 16.33 MB / 0.6993 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01277/0.7034, allocations: 7.28 MB / 0.7064 GB, free: 452 kB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.7046, allocations: 20.59 kB / 0.7064 GB, free: 440 kB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.7058, allocations: 379.7 kB / 0.7068 GB, free: 124 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.709, allocations: 0.7858 MB / 0.7075 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.008475/0.7175, allocations: 2.128 MB / 0.7096 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002275/0.7198, allocations: 0.965 MB / 0.7106 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008225/0.7207, allocations: 413.4 kB / 0.711 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.7219, allocations: 0.5038 MB / 0.7115 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007314/0.7227, allocations: 397.7 kB / 0.7118 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.7228, allocations: 29 kB / 0.7119 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.7251, allocations: 0.6371 MB / 0.7125 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.7253, allocations: 122.1 kB / 0.7126 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.7257, allocations: 148 kB / 0.7127 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.7271, allocations: 0.742 MB / 0.7135 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.044e-06/0.7271, allocations: 3.938 kB / 0.7135 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.146e-06/0.7272, allocations: 4 kB / 0.7135 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.7272, allocations: 0 / 0.7135 GB, free: 11.62 MB / 0.5417 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.002197/0.7294, allocations: 0.9658 MB / 0.7144 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.7295, allocations: 17.25 kB / 0.7144 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003247/0.7298, allocations: 86.02 kB / 0.7145 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.7309, allocations: 476.4 kB / 0.715 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/0.731, allocations: 36.31 kB / 0.715 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.956e-05/0.7311, allocations: 49.22 kB / 0.7151 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.7326, allocations: 0.6267 MB / 0.7157 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.7327, allocations: 5.188 kB / 0.7157 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.518e-05/0.7327, allocations: 17.94 kB / 0.7157 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.7328, allocations: 12.34 kB / 0.7157 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.7343, allocations: 0.5088 MB / 0.7162 GB, free: 9.641 MB / 0.5417 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.004882/0.7392, allocations: 3.177 MB / 0.7193 GB, free: 6.699 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.7403, allocations: 353.2 kB / 0.7196 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004196/0.7408, allocations: 347.6 kB / 0.72 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.7408, allocations: 36.06 kB / 0.72 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=36): time 3.358e-06/0.7408, allocations: 1.438 kB / 0.72 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36): time 0.002924/0.7438, allocations: 0.8434 MB / 0.7208 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.7438, allocations: 55.41 kB / 0.7209 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.7449, allocations: 0.5692 MB / 0.7214 GB, free: 5.23 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.75e-05/0.745, allocations: 37.48 kB / 0.7215 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/0.7453, allocations: 327.1 kB / 0.7218 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.7455, allocations: 133.7 kB / 0.7219 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.7455, allocations: 18.38 kB / 0.7219 GB, free: 4.77 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002146/0.7457, allocations: 369.1 kB / 0.7223 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007065/0.7465, allocations: 216.2 kB / 0.7225 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/0.7473, allocations: 372.2 kB / 0.7228 GB, free: 4.031 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007951/0.7481, allocations: 255.4 kB / 0.7231 GB, free: 3.91 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.685e-06/0.7482, allocations: 1.156 kB / 0.7231 GB, free: 3.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002164/0.7503, allocations: 0.7231 MB / 0.7238 GB, free: 3.555 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009208/0.7513, allocations: 1.753 MB / 0.7255 GB, free: 1.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.7513, allocations: 4.375 kB / 0.7255 GB, free: 1.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007735/0.7521, allocations: 141.8 kB / 0.7256 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008551/0.753, allocations: 151.1 kB / 0.7258 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009007/0.7539, allocations: 0.6343 MB / 0.7264 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008996/0.7548, allocations: 106.3 kB / 0.7265 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-05/0.7549, allocations: 26.53 kB / 0.7265 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.7549, allocations: 5.844 kB / 0.7265 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001852/0.7568, allocations: 0.6162 MB / 0.7271 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.7568, allocations: 4 kB / 0.7271 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.7569, allocations: 8.844 kB / 0.7272 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008136/0.7577, allocations: 169.5 kB / 0.7273 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.7577, allocations: 8 kB / 0.7273 GB, free: 0.5703 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007809/0.7585, allocations: 87.53 kB / 0.7274 GB, free: 496 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.978e-05/0.7586, allocations: 31.98 kB / 0.7274 GB, free: 464 kB / 0.5417 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.0004504/0.7591, allocations: 277.5 kB / 0.7277 GB, free: 176 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.7592, allocations: 59.25 kB / 0.7278 GB, free: 116 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.7614, allocations: 0.7005 MB / 0.7284 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.7614, allocations: 7.984 kB / 0.7284 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.723e-06/0.7614, allocations: 3.953 kB / 0.7285 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.938e-06/0.7615, allocations: 0 / 0.7285 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.7647, allocations: 1.301 MB / 0.7297 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.7647, allocations: 0 / 0.7297 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/0.7652, allocations: 91.91 kB / 0.7298 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005539/0.7658, allocations: 132.8 kB / 0.7299 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/0.7658, allocations: 15.92 kB / 0.73 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008532/0.7667, allocations: 0.6265 MB / 0.7306 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.7667, allocations: 3.984 kB / 0.7306 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.7685, allocations: 0.6927 MB / 0.7312 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003954/0.7689, allocations: 196 kB / 0.7314 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.769, allocations: 15.98 kB / 0.7314 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/0.7697, allocations: 47.95 kB / 0.7315 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.7698, allocations: 35.95 kB / 0.7315 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.918e-05/0.7698, allocations: 23.94 kB / 0.7315 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000636/0.7705, allocations: 387.1 kB / 0.7319 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.48e-07/0.7705, allocations: 0 / 0.7319 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001447/0.772, allocations: 387.4 kB / 0.7323 GB, free: 11.32 MB / 0.5573 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.0007574/0.7727, allocations: 292.9 kB / 0.7326 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002719/0.7755, allocations: 0.9045 MB / 0.7334 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.195e-06/0.7755, allocations: 0 / 0.7334 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009544/0.7765, allocations: 295.7 kB / 0.7337 GB, free: 9.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.7782, allocations: 255.7 kB / 0.734 GB, free: 9.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.7807, allocations: 1.238 MB / 0.7352 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/0.7813, allocations: 0.9272 MB / 0.7361 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008586/0.7822, allocations: 154.2 kB / 0.7362 GB, free: 7.219 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.7824, allocations: 59.42 kB / 0.7363 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of SimCode: time 1.6e-06/0.7824, allocations: 0 / 0.7363 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of Templates: time 0.02977/0.8122, allocations: 11.9 MB / 0.7479 GB, free: 11.41 MB / 0.573 GB