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.008993/0.008999, allocations: 107.5 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.001101/0.001101, 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 2.154/2.154, allocations: 194.5 MB / 211.3 MB, free: 10.94 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.236/2.236, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004734, allocations: 12 kB / 0.5869 GB, free: 2.125 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5674/0.5679, allocations: 98.72 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02724/0.5952, allocations: 22.08 MB / 0.7049 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01874/0.614, allocations: 9.281 MB / 0.714 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.6157, allocations: 34.91 kB / 0.714 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00215/0.6179, allocations: 0.5377 MB / 0.7145 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.005518/0.6234, allocations: 1.192 MB / 0.7157 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.01046/0.6339, allocations: 2.583 MB / 0.7182 GB, free: 7.105 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003538/0.6375, allocations: 1.589 MB / 0.7198 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.6391, allocations: 0.7568 MB / 0.7205 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/0.6415, allocations: 0.9329 MB / 0.7214 GB, free: 5.062 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002058/0.6436, allocations: 0.7823 MB / 0.7222 GB, free: 4.609 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0003385/0.644, allocations: 42.06 kB / 0.7222 GB, free: 4.609 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.6466, allocations: 0.8628 MB / 0.7231 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000374/0.647, allocations: 207.7 kB / 0.7233 GB, free: 4.02 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004575/0.6475, allocations: 201.1 kB / 0.7235 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.6496, allocations: 1.118 MB / 0.7245 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 7.197e-06/0.6496, allocations: 4 kB / 0.7245 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6496, allocations: 1.094 kB / 0.7245 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.6496, allocations: 0 / 0.7245 GB, free: 3.207 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002483/0.6521, allocations: 1.143 MB / 0.7257 GB, free: 2.297 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.6522, allocations: 12.78 kB / 0.7257 GB, free: 2.293 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003609/0.6526, allocations: 117.9 kB / 0.7258 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.654, allocations: 0.6185 MB / 0.7264 GB, free: 1.746 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.215e-05/0.6541, allocations: 56.53 kB / 0.7264 GB, free: 1.727 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.6543, allocations: 79.56 kB / 0.7265 GB, free: 1.707 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.6556, allocations: 0.5483 MB / 0.7271 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.6557, allocations: 0.9375 kB / 0.7271 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.6557, allocations: 21.03 kB / 0.7271 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.6558, allocations: 16.16 kB / 0.7271 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.6569, allocations: 406.9 kB / 0.7275 GB, free: 0.957 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.005413/0.6623, allocations: 2.49 MB / 0.7299 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008982/0.6633, allocations: 280.3 kB / 0.7302 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003798/0.6637, allocations: 337.1 kB / 0.7305 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.6637, allocations: 47.25 kB / 0.7305 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=27): time 3.598e-06/0.6637, allocations: 0 / 0.7305 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=27): time 0.00171/0.6655, allocations: 456.6 kB / 0.731 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.6655, allocations: 63.33 kB / 0.731 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.6668, allocations: 0.7512 MB / 0.7318 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.667, allocations: 45.7 kB / 0.7318 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005018/0.6675, allocations: 433.4 kB / 0.7322 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.6677, allocations: 94.64 kB / 0.7323 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.6677, allocations: 11.94 kB / 0.7323 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.6679, allocations: 322 kB / 0.7326 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/0.6684, allocations: 157 kB / 0.7328 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.6697, allocations: 0.7633 MB / 0.7335 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/0.6704, allocations: 241.1 kB / 0.7338 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.644e-06/0.6704, allocations: 0 / 0.7338 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001648/0.672, allocations: 0.5459 MB / 0.7343 GB, free: 9.488 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004351/0.6725, allocations: 0.7921 MB / 0.7351 GB, free: 8.641 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6725, allocations: 8 kB / 0.7351 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.6726, allocations: 7.953 kB / 0.7351 GB, free: 8.625 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.674, allocations: 191.7 kB / 0.7353 GB, free: 8.438 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.6759, allocations: 2.379 MB / 0.7376 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003847/0.6798, allocations: 0.6827 MB / 0.7383 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.68, allocations: 23.98 kB / 0.7383 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.68, allocations: 4 kB / 0.7383 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001275/0.6813, allocations: 434.1 kB / 0.7387 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.874e-06/0.6813, allocations: 4.188 kB / 0.7387 GB, free: 4.816 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.6814, allocations: 4 kB / 0.7387 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007601/0.6821, allocations: 144 kB / 0.7388 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.6822, allocations: 7.953 kB / 0.7389 GB, free: 4.664 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003718/0.6859, allocations: 0.675 MB / 0.7395 GB, free: 3.988 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.6861, allocations: 27.98 kB / 0.7395 GB, free: 3.961 MB / 0.5573 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.0006235/0.6867, allocations: 293.5 kB / 0.7398 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/0.6869, allocations: 82.97 kB / 0.7399 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.6882, allocations: 438.7 kB / 0.7403 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.6882, allocations: 7.984 kB / 0.7403 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.6882, allocations: 3.953 kB / 0.7403 GB, free: 3.137 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.979e-06/0.6883, allocations: 3.938 kB / 0.7403 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.6907, allocations: 1.079 MB / 0.7414 GB, free: 1.992 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.6907, allocations: 4 kB / 0.7414 GB, free: 1.988 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.6913, allocations: 95.81 kB / 0.7415 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/0.6914, allocations: 4 kB / 0.7415 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.6914, allocations: 16.06 kB / 0.7415 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.6931, allocations: 2.36 MB / 0.7438 GB, free: 15.42 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.549e-06/0.6931, allocations: 0 / 0.7438 GB, free: 15.42 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.6943, allocations: 0.5114 MB / 0.7443 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000429/0.6948, allocations: 199.9 kB / 0.7445 GB, free: 14.66 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.6949, allocations: 8 kB / 0.7445 GB, free: 14.65 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006677/0.6956, allocations: 63.78 kB / 0.7446 GB, free: 14.59 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.181e-05/0.6957, allocations: 23.92 kB / 0.7446 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.6957, allocations: 12 kB / 0.7446 GB, free: 14.55 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009156/0.6967, allocations: 0.5067 MB / 0.7451 GB, free: 14.05 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.16e-07/0.6967, allocations: 0 / 0.7451 GB, free: 14.05 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001719/0.6984, allocations: 459.3 kB / 0.7455 GB, free: 13.6 MB / 0.573 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.0008409/0.6993, allocations: 322.8 kB / 0.7458 GB, free: 13.29 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002894/0.7022, allocations: 0.7049 MB / 0.7465 GB, free: 12.58 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.597e-06/0.7022, allocations: 0 / 0.7465 GB, free: 12.58 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007373/0.703, allocations: 195.8 kB / 0.7467 GB, free: 12.39 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/0.7056, allocations: 407.2 kB / 0.7471 GB, free: 12 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.7085, allocations: 1.456 MB / 0.7485 GB, free: 10.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007286/0.7093, allocations: 0.9745 MB / 0.7495 GB, free: 9.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001185/0.7105, allocations: 166 kB / 0.7496 GB, free: 9.336 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.7107, allocations: 67.42 kB / 0.7497 GB, free: 9.27 MB / 0.573 GB Notification: Performance of SimCode: time 1.735e-06/0.7108, allocations: 4 kB / 0.7497 GB, free: 9.266 MB / 0.573 GB Notification: Performance of Templates: time 0.04712/0.7579, allocations: 19.6 MB / 0.7688 GB, free: 5.98 MB / 0.5886 GB