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.01077/0.01077, allocations: 220.3 kB / 15.17 MB, free: 6 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.001084/0.001084, allocations: 175.6 kB / 16.06 MB, free: 5.871 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.387/3.387, allocations: 389.1 MB / 405.9 MB, free: 67.63 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.135/4.135, allocations: 472.3 MB / 0.9018 GB, free: 13.43 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004925, allocations: 12 kB / 1.008 GB, free: 0.8672 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4829/0.4834, allocations: 98.72 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02209/0.5055, allocations: 24.1 MB / 1.128 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01348/0.5191, allocations: 9.71 MB / 1.137 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009901/0.5201, allocations: 31.69 kB / 1.137 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.5213, allocations: 457.2 kB / 1.138 GB, free: 149.7 MB / 0.6823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003247/0.5245, allocations: 1.181 MB / 1.139 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007202/0.5318, allocations: 2.618 MB / 1.141 GB, free: 146 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002877/0.5347, allocations: 2.765 MB / 1.144 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009041/0.5356, allocations: 0.7488 MB / 1.145 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.5368, allocations: 0.9153 MB / 1.146 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.5383, allocations: 0.9738 MB / 1.147 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.5385, allocations: 40 kB / 1.147 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.5406, allocations: 0.8255 MB / 1.147 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.5409, allocations: 203.2 kB / 1.148 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.5412, allocations: 205.2 kB / 1.148 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.5424, allocations: 1.116 MB / 1.149 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.958e-06/0.5424, allocations: 4 kB / 1.149 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.59e-06/0.5425, allocations: 0 / 1.149 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.5425, allocations: 0 / 1.149 GB, free: 138.3 MB / 0.6823 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.001795/0.5443, allocations: 1.142 MB / 1.15 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.5443, allocations: 12.03 kB / 1.15 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.5446, allocations: 113.8 kB / 1.15 GB, free: 137 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.5459, allocations: 0.624 MB / 1.151 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/0.546, allocations: 58 kB / 1.151 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.5462, allocations: 80 kB / 1.151 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.5472, allocations: 0.5564 MB / 1.151 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.5472, allocations: 0 / 1.151 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/0.5473, allocations: 16 kB / 1.151 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.5473, allocations: 12 kB / 1.151 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009185/0.5482, allocations: 406 kB / 1.152 GB, free: 135.2 MB / 0.6823 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.003855/0.5521, allocations: 2.496 MB / 1.154 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.5527, allocations: 267.7 kB / 1.154 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.5531, allocations: 131.9 kB / 1.155 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.5533, allocations: 340.4 kB / 1.155 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.5533, allocations: 38.56 kB / 1.155 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 2.671e-06/0.5534, allocations: 0 / 1.155 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.001268/0.5546, allocations: 456.5 kB / 1.155 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.5547, allocations: 55.41 kB / 1.155 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009022/0.5556, allocations: 0.7584 MB / 1.156 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.5557, allocations: 45.7 kB / 1.156 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.5561, allocations: 433.9 kB / 1.157 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.083e-05/0.5562, allocations: 94.64 kB / 1.157 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.5562, allocations: 11.94 kB / 1.157 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.995e-05/0.5563, allocations: 326 kB / 1.157 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.5567, allocations: 152.3 kB / 1.157 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009843/0.5577, allocations: 0.7668 MB / 1.158 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005233/0.5582, allocations: 235.5 kB / 1.158 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.5582, allocations: 0 / 1.158 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00126/0.5595, allocations: 0.5456 MB / 1.159 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.912e-05/0.5596, allocations: 151.6 kB / 1.159 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.172e-06/0.5596, allocations: 1.625 kB / 1.159 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.5596, allocations: 11.41 kB / 1.159 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.561, allocations: 197.4 kB / 1.159 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.562, allocations: 2.382 MB / 1.161 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003144/0.5652, allocations: 0.6835 MB / 1.162 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-05/0.5653, allocations: 23.98 kB / 1.162 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.5653, allocations: 5.688 kB / 1.162 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001054/0.5664, allocations: 434.3 kB / 1.162 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.718e-06/0.5664, allocations: 4.625 kB / 1.162 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.5664, allocations: 4.531 kB / 1.162 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006498/0.5671, allocations: 142 kB / 1.163 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.054e-06/0.5671, allocations: 4 kB / 1.163 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/0.5701, allocations: 0.6763 MB / 1.163 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/0.5702, allocations: 23.98 kB / 1.163 GB, free: 122.9 MB / 0.6823 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.0004077/0.5706, allocations: 298.3 kB / 1.164 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.5708, allocations: 80.84 kB / 1.164 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.5718, allocations: 446 kB / 1.164 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.5719, allocations: 6.156 kB / 1.164 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.941e-06/0.5719, allocations: 0 / 1.164 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.413e-06/0.5719, allocations: 0 / 1.164 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.5738, allocations: 1.076 MB / 1.165 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.998e-06/0.5738, allocations: 0 / 1.165 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005224/0.5743, allocations: 99.27 kB / 1.165 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.465e-06/0.5743, allocations: 4 kB / 1.165 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.5744, allocations: 8 kB / 1.165 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000822/0.5752, allocations: 2.354 MB / 1.168 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.588e-06/0.5752, allocations: 7.969 kB / 1.168 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008371/0.5761, allocations: 0.4932 MB / 1.168 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/0.5764, allocations: 198.6 kB / 1.168 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.5765, allocations: 8.453 kB / 1.168 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/0.5771, allocations: 65.12 kB / 1.168 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.5772, allocations: 25.56 kB / 1.168 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.5772, allocations: 12 kB / 1.168 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006665/0.5779, allocations: 0.5029 MB / 1.169 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.08e-07/0.5779, allocations: 0.5312 kB / 1.169 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001308/0.5793, allocations: 455.3 kB / 1.169 GB, free: 116.6 MB / 0.6823 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.0006499/0.5799, allocations: 318.6 kB / 1.17 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002313/0.5823, allocations: 0.7012 MB / 1.17 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5823, allocations: 11.84 kB / 1.17 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006111/0.5829, allocations: 191.3 kB / 1.17 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/0.5853, allocations: 429.3 kB / 1.171 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.5875, allocations: 1.445 MB / 1.172 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.5879, allocations: 0.9843 MB / 1.173 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009433/0.5889, allocations: 167.2 kB / 1.173 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.5891, allocations: 69.86 kB / 1.173 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.611e-06/0.5891, allocations: 0 / 1.173 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.03733/0.6264, allocations: 19.61 MB / 1.193 GB, free: 93.4 MB / 0.6823 GB