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.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004417/0.004423, allocations: 237.7 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.001192/0.001192, allocations: 180.9 kB / 16.69 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.392/4.392, allocations: 389.1 MB / 406.5 MB, free: 11.83 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.368/4.368, allocations: 472.3 MB / 0.9024 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004825, allocations: 16.5 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1761, allocations: 98.72 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03415/0.2103, allocations: 28.19 MB / 1.132 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02155/0.2319, allocations: 12.94 MB / 1.145 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.2334, allocations: 27.75 kB / 1.145 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.2353, allocations: 433.4 kB / 1.145 GB, free: 0.5938 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.004646/0.2399, allocations: 1.121 MB / 1.146 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.009905/0.2499, allocations: 2.318 MB / 1.149 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004597/0.2545, allocations: 2.429 MB / 1.151 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.2558, allocations: 0.5061 MB / 1.151 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00252/0.2584, allocations: 0.8005 MB / 1.152 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.2599, allocations: 0.6228 MB / 1.153 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.2601, allocations: 28 kB / 1.153 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.2614, allocations: 362.2 kB / 1.153 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.2617, allocations: 119.4 kB / 1.153 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.262, allocations: 177.3 kB / 1.153 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.2633, allocations: 0.7012 MB / 1.154 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.2634, allocations: 3.984 kB / 1.154 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.644e-06/0.2634, allocations: 0 / 1.154 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.2634, allocations: 4 kB / 1.154 GB, free: 7.5 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002435/0.2659, allocations: 0.985 MB / 1.155 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.2659, allocations: 13.55 kB / 1.155 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.2661, allocations: 94.88 kB / 1.155 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.2674, allocations: 0.5227 MB / 1.156 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/0.2674, allocations: 41 kB / 1.156 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.2676, allocations: 51.95 kB / 1.156 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.2688, allocations: 409.5 kB / 1.156 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.2688, allocations: 0 / 1.156 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.213e-05/0.2689, allocations: 20 kB / 1.156 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.2689, allocations: 8 kB / 1.156 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.27, allocations: 298 kB / 1.157 GB, free: 5.004 MB / 0.6198 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.004698/0.2747, allocations: 1.83 MB / 1.158 GB, free: 3.043 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.2752, allocations: 166.4 kB / 1.158 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.2755, allocations: 68.36 kB / 1.159 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003873/0.2759, allocations: 340.4 kB / 1.159 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.276, allocations: 38.47 kB / 1.159 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=17): time 3.556e-06/0.276, allocations: 0 / 1.159 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17): time 0.001118/0.2771, allocations: 282.3 kB / 1.159 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.2772, allocations: 55.34 kB / 1.159 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.2784, allocations: 0.6724 MB / 1.16 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.2785, allocations: 33.7 kB / 1.16 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.2789, allocations: 372.1 kB / 1.16 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.715e-05/0.279, allocations: 55.2 kB / 1.16 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.279, allocations: 9 kB / 1.16 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002206/0.2793, allocations: 382.7 kB / 1.161 GB, free: 488 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.2797, allocations: 99.55 kB / 1.161 GB, free: 392 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.2802, allocations: 180.6 kB / 1.161 GB, free: 192 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.2807, allocations: 115.2 kB / 1.161 GB, free: 80 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2807, allocations: 0 / 1.161 GB, free: 80 kB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.5575/0.8382, allocations: 383.8 kB / 1.161 GB, free: 84.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-05/0.8384, allocations: 111.7 kB / 1.162 GB, free: 84.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.8384, allocations: 1.438 kB / 1.162 GB, free: 84.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/0.8384, allocations: 3.188 kB / 1.162 GB, free: 84.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.8404, allocations: 157.8 kB / 1.162 GB, free: 84.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.8419, allocations: 2.368 MB / 1.164 GB, free: 82.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.843, allocations: 90.8 kB / 1.164 GB, free: 82.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.612e-05/0.8431, allocations: 18 kB / 1.164 GB, free: 82.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.8432, allocations: 4.156 kB / 1.164 GB, free: 82.06 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001027/0.8442, allocations: 291.3 kB / 1.164 GB, free: 82.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.8442, allocations: 1.25 kB / 1.164 GB, free: 82.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.8443, allocations: 2.312 kB / 1.164 GB, free: 82.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008142/0.8451, allocations: 108.9 kB / 1.165 GB, free: 82.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.8451, allocations: 2.219 kB / 1.165 GB, free: 82.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000998/0.8461, allocations: 75.64 kB / 1.165 GB, free: 82.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.8462, allocations: 15.61 kB / 1.165 GB, free: 82.05 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (45): * Single equations (assignments): 41 * 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.0004344/0.8466, allocations: 270.4 kB / 1.165 GB, free: 81.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.8468, allocations: 67.84 kB / 1.165 GB, free: 81.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009704/0.8478, allocations: 280.4 kB / 1.165 GB, free: 81.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.8478, allocations: 0.6094 kB / 1.165 GB, free: 81.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.8478, allocations: 5.469 kB / 1.165 GB, free: 81.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/0.8482, allocations: 164.9 kB / 1.165 GB, free: 81.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.8483, allocations: 8.391 kB / 1.165 GB, free: 81.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007766/0.8491, allocations: 60.69 kB / 1.165 GB, free: 81.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/0.8492, allocations: 12.8 kB / 1.165 GB, free: 81.68 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001247/0.8505, allocations: 366.2 kB / 1.166 GB, free: 81.53 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00124/0.8517, allocations: 0.535 MB / 1.166 GB, free: 81.29 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003093/0.8521, allocations: 90.08 kB / 1.166 GB, free: 81.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009141/0.853, allocations: 463.1 kB / 1.167 GB, free: 81.2 MB / 0.6198 GB Notification: Performance of Backend: time 1.042e-06/0.853, allocations: 3.125 kB / 1.167 GB, free: 81.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003852/0.8569, allocations: 0.6374 MB / 1.167 GB, free: 81.12 MB / 0.6198 GB Notification: Performance of SimCode: time 0.004819/0.8617, allocations: 1.937 MB / 1.169 GB, free: 80.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.0403/0.9021, allocations: 12.38 MB / 1.181 GB, free: 79.79 MB / 0.6198 GB