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.00425/0.00425, allocations: 236.5 kB / 15.8 MB, free: 6.316 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.001138/0.001138, allocations: 179.6 kB / 16.68 MB, free: 5.469 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 4.273/4.273, allocations: 389.1 MB / 406.5 MB, free: 11.82 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 4.574/4.574, allocations: 472.3 MB / 0.9024 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0008153/0.0008155, allocations: 15.98 kB / 1.008 GB, free: 176.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1817, allocations: 98.71 MB / 1.105 GB, free: 80.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02828/0.21, allocations: 24.1 MB / 1.128 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01824/0.2283, allocations: 9.712 MB / 1.138 GB, free: 46.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.2299, allocations: 31.69 kB / 1.138 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.2318, allocations: 457.2 kB / 1.138 GB, free: 46.26 MB / 0.6042 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.004977/0.2369, allocations: 1.182 MB / 1.139 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.009811/0.2467, allocations: 2.63 MB / 1.142 GB, free: 42.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004084/0.2508, allocations: 2.756 MB / 1.145 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.2523, allocations: 0.7473 MB / 1.145 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.2546, allocations: 0.9218 MB / 1.146 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002316/0.257, allocations: 0.9734 MB / 1.147 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000338/0.2574, allocations: 40 kB / 1.147 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.2598, allocations: 0.8225 MB / 1.148 GB, free: 36.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000341/0.2602, allocations: 207.2 kB / 1.148 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003905/0.2606, allocations: 201.2 kB / 1.148 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.2624, allocations: 1.106 MB / 1.149 GB, free: 34.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2624, allocations: 0 / 1.149 GB, free: 34.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2624, allocations: 4 kB / 1.149 GB, free: 34.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.2624, allocations: 0 / 1.149 GB, free: 34.82 MB / 0.6042 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.002507/0.265, allocations: 1.149 MB / 1.151 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.265, allocations: 8.031 kB / 1.151 GB, free: 33.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003188/0.2654, allocations: 118.1 kB / 1.151 GB, free: 33.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.2668, allocations: 0.6239 MB / 1.151 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.937e-05/0.2668, allocations: 61 kB / 1.151 GB, free: 32.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/0.2671, allocations: 83.98 kB / 1.151 GB, free: 32.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.2683, allocations: 0.5439 MB / 1.152 GB, free: 32.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.2684, allocations: 0 / 1.152 GB, free: 32.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-05/0.2685, allocations: 24 kB / 1.152 GB, free: 32.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.2685, allocations: 15.47 kB / 1.152 GB, free: 32.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.2696, allocations: 399.7 kB / 1.152 GB, free: 31.71 MB / 0.6042 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.005779/0.2754, allocations: 2.502 MB / 1.155 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/0.2762, allocations: 269.2 kB / 1.155 GB, free: 28.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003945/0.2766, allocations: 124.6 kB / 1.155 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/0.277, allocations: 344.4 kB / 1.155 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.277, allocations: 34.56 kB / 1.156 GB, free: 28.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 3.497e-06/0.277, allocations: 0 / 1.156 GB, free: 28.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.00175/0.2788, allocations: 458.5 kB / 1.156 GB, free: 27.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.2788, allocations: 57.22 kB / 1.156 GB, free: 27.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.2799, allocations: 0.7473 MB / 1.157 GB, free: 26.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002304/0.2802, allocations: 48.73 kB / 1.157 GB, free: 26.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004374/0.2806, allocations: 441.2 kB / 1.157 GB, free: 26.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.388e-05/0.2807, allocations: 98.64 kB / 1.157 GB, free: 26.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.2808, allocations: 8 kB / 1.157 GB, free: 26.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.2809, allocations: 330 kB / 1.158 GB, free: 26.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/0.2814, allocations: 149.8 kB / 1.158 GB, free: 25.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.2828, allocations: 0.7711 MB / 1.159 GB, free: 24.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006628/0.2835, allocations: 233.9 kB / 1.159 GB, free: 24.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.912e-06/0.2835, allocations: 3.953 kB / 1.159 GB, free: 24.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00171/0.2852, allocations: 0.5413 MB / 1.159 GB, free: 24.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.163e-05/0.2853, allocations: 145.5 kB / 1.159 GB, free: 24.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2853, allocations: 4 kB / 1.159 GB, free: 24.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.2854, allocations: 6 kB / 1.159 GB, free: 24.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/0.2875, allocations: 201 kB / 1.16 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.2888, allocations: 2.373 MB / 1.162 GB, free: 21.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005423/0.2943, allocations: 0.6845 MB / 1.163 GB, free: 20.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.2945, allocations: 23.98 kB / 1.163 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.2945, allocations: 4 kB / 1.163 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00129/0.2958, allocations: 437.6 kB / 1.163 GB, free: 20.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2958, allocations: 3.438 kB / 1.163 GB, free: 20.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.2959, allocations: 4 kB / 1.163 GB, free: 20.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.2969, allocations: 139.8 kB / 1.163 GB, free: 20.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2969, allocations: 4 kB / 1.163 GB, free: 20.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00522/0.3021, allocations: 0.676 MB / 1.164 GB, free: 19.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.3023, allocations: 27.98 kB / 1.164 GB, free: 19.44 MB / 0.6042 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.0005835/0.3029, allocations: 300.9 kB / 1.164 GB, free: 19.13 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.3031, allocations: 78.97 kB / 1.164 GB, free: 19.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.3044, allocations: 437.4 kB / 1.165 GB, free: 18.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3044, allocations: 0 / 1.165 GB, free: 18.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3044, allocations: 0 / 1.165 GB, free: 18.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/0.3048, allocations: 199.9 kB / 1.165 GB, free: 18.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.3049, allocations: 9.188 kB / 1.165 GB, free: 18.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000866/0.3058, allocations: 59.16 kB / 1.165 GB, free: 18.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.3059, allocations: 27.7 kB / 1.165 GB, free: 18.33 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001503/0.3074, allocations: 498.1 kB / 1.165 GB, free: 17.83 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001576/0.309, allocations: 0.7327 MB / 1.166 GB, free: 17.09 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004131/0.3095, allocations: 144.8 kB / 1.166 GB, free: 16.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008025/0.3103, allocations: 0.499 MB / 1.167 GB, free: 16.45 MB / 0.6042 GB Notification: Performance of Backend: time 8.21e-07/0.3103, allocations: 2.219 kB / 1.167 GB, free: 16.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004268/0.3146, allocations: 0.9007 MB / 1.168 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of SimCode: time 0.004368/0.319, allocations: 2.125 MB / 1.17 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.7312/1.05, allocations: 20.66 MB / 1.19 GB, free: 80.78 MB / 0.6042 GB