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.01075/0.01075, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001105/0.001105, allocations: 176 kB / 16.06 MB, free: 5.832 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.446/3.446, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.008/4.008, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.0005101, allocations: 20 kB / 1.008 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5166/0.5172, allocations: 98.71 MB / 1.104 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02039/0.5376, allocations: 17.78 MB / 1.121 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01478/0.5524, allocations: 7.57 MB / 1.129 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008834/0.5534, allocations: 19.81 kB / 1.129 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.5544, allocations: 318 kB / 1.129 GB, free: 0.8555 MB / 0.5261 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.002751/0.5572, allocations: 0.7804 MB / 1.13 GB, free: 72 kB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.007295/0.5645, allocations: 2.182 MB / 1.132 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002594/0.5671, allocations: 1.705 MB / 1.134 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007009/0.5678, allocations: 407 kB / 1.134 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009637/0.5688, allocations: 0.5173 MB / 1.135 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007706/0.5696, allocations: 497.9 kB / 1.135 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 9.724e-05/0.5697, allocations: 28 kB / 1.135 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.5712, allocations: 0.5923 MB / 1.136 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.5714, allocations: 123.4 kB / 1.136 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.5716, allocations: 149.3 kB / 1.136 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.5727, allocations: 0.7365 MB / 1.137 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.781e-06/0.5728, allocations: 4 kB / 1.137 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.032e-06/0.5728, allocations: 0 / 1.137 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.5728, allocations: 0 / 1.137 GB, free: 9.133 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.00207/0.5749, allocations: 0.985 MB / 1.138 GB, free: 8.094 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.5749, allocations: 8.031 kB / 1.138 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.5751, allocations: 79.06 kB / 1.138 GB, free: 8.008 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009001/0.576, allocations: 478.7 kB / 1.138 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.5761, allocations: 37 kB / 1.138 GB, free: 7.461 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.76e-05/0.5762, allocations: 48 kB / 1.138 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.5776, allocations: 0.6371 MB / 1.139 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.5776, allocations: 0 / 1.139 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-05/0.5777, allocations: 20 kB / 1.139 GB, free: 6.691 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.5777, allocations: 12 kB / 1.139 GB, free: 6.68 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.5792, allocations: 0.5111 MB / 1.139 GB, free: 6.168 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.004556/0.5837, allocations: 3.185 MB / 1.142 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000937/0.5847, allocations: 344.3 kB / 1.143 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006367/0.5854, allocations: 224.8 kB / 1.143 GB, free: 2.219 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000427/0.5858, allocations: 340.4 kB / 1.143 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.5859, allocations: 42.59 kB / 1.143 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=36): time 3.028e-06/0.5859, allocations: 4 kB / 1.143 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36): time 0.002806/0.5887, allocations: 0.8384 MB / 1.144 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.5888, allocations: 55.41 kB / 1.144 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008875/0.5897, allocations: 0.5744 MB / 1.145 GB, free: 248 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.5897, allocations: 29.7 kB / 1.145 GB, free: 212 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.5901, allocations: 332.6 kB / 1.145 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.5902, allocations: 130.1 kB / 1.145 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.5903, allocations: 16 kB / 1.145 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002238/0.5905, allocations: 370.8 kB / 1.146 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006819/0.5912, allocations: 217.1 kB / 1.146 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008237/0.5921, allocations: 368 kB / 1.146 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007337/0.5928, allocations: 252.7 kB / 1.146 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.5928, allocations: 4 kB / 1.146 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002004/0.5949, allocations: 0.7259 MB / 1.147 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.5951, allocations: 219.6 kB / 1.147 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.5951, allocations: 4 kB / 1.147 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007174/0.5958, allocations: 152.8 kB / 1.148 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008423/0.5967, allocations: 155.7 kB / 1.148 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008877/0.5976, allocations: 0.6342 MB / 1.148 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/0.5983, allocations: 107.2 kB / 1.148 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.176e-05/0.5985, allocations: 35.98 kB / 1.148 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.5985, allocations: 4 kB / 1.148 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001746/0.6002, allocations: 0.6111 MB / 1.149 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.887e-06/0.6003, allocations: 4 kB / 1.149 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.6003, allocations: 8.562 kB / 1.149 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007887/0.6011, allocations: 163.8 kB / 1.149 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.6011, allocations: 15.92 kB / 1.149 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006883/0.6018, allocations: 87.55 kB / 1.149 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/0.6019, allocations: 27.98 kB / 1.149 GB, free: 11.44 MB / 0.5573 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.0004357/0.6024, allocations: 268.9 kB / 1.15 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.6025, allocations: 67.2 kB / 1.15 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.6047, allocations: 0.6888 MB / 1.15 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.6047, allocations: 4 kB / 1.15 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.064e-06/0.6047, allocations: 0 / 1.15 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.6048, allocations: 3.984 kB / 1.15 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/0.6081, allocations: 1.297 MB / 1.152 GB, free: 9.023 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.956e-06/0.6082, allocations: 0 / 1.152 GB, free: 9.023 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/0.6086, allocations: 91.91 kB / 1.152 GB, free: 8.934 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005419/0.6092, allocations: 128.8 kB / 1.152 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/0.6093, allocations: 23.88 kB / 1.152 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008863/0.6102, allocations: 0.6382 MB / 1.152 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.847e-06/0.6102, allocations: 4.062 kB / 1.152 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.6119, allocations: 0.6715 MB / 1.153 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004778/0.6124, allocations: 200 kB / 1.153 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.6126, allocations: 15.94 kB / 1.153 GB, free: 7.188 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007342/0.6134, allocations: 55.94 kB / 1.153 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.63e-05/0.6135, allocations: 27.97 kB / 1.153 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-05/0.6136, allocations: 19.98 kB / 1.153 GB, free: 7.086 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006337/0.6142, allocations: 391.1 kB / 1.154 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.16e-07/0.6142, allocations: 0 / 1.154 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00141/0.6157, allocations: 383.4 kB / 1.154 GB, free: 6.336 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.000766/0.6164, allocations: 316.1 kB / 1.154 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002704/0.6192, allocations: 0.8928 MB / 1.155 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6192, allocations: 0 / 1.155 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009248/0.6201, allocations: 291.8 kB / 1.156 GB, free: 4.855 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.622, allocations: 277.6 kB / 1.156 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.6245, allocations: 1.249 MB / 1.157 GB, free: 3.312 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/0.6252, allocations: 0.9155 MB / 1.158 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007963/0.626, allocations: 149.1 kB / 1.158 GB, free: 2.223 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.6262, allocations: 63.41 kB / 1.158 GB, free: 2.16 MB / 0.5573 GB Notification: Performance of SimCode: time 1.653e-06/0.6262, allocations: 0 / 1.158 GB, free: 2.16 MB / 0.5573 GB Notification: Performance of Templates: time 0.03087/0.6571, allocations: 11.91 MB / 1.17 GB, free: 6.406 MB / 0.573 GB