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.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006149/0.006148, allocations: 232.3 kB / 15.8 MB, free: 6.285 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.001638/0.001638, allocations: 178.8 kB / 16.69 MB, free: 5.449 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.021/4.021, 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.343/4.343, allocations: 472.3 MB / 0.9024 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0008588/0.000859, allocations: 8 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2264, allocations: 98.74 MB / 1.105 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01902/0.2455, allocations: 15.9 MB / 1.12 GB, free: 26.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01215/0.2577, allocations: 6.9 MB / 1.127 GB, free: 19.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000645/0.2584, allocations: 18.84 kB / 1.127 GB, free: 19.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.2595, allocations: 254.6 kB / 1.127 GB, free: 18.98 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.001952/0.2615, allocations: 0.5724 MB / 1.128 GB, free: 18.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006237/0.2677, allocations: 1.643 MB / 1.129 GB, free: 16.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001667/0.2694, allocations: 1.138 MB / 1.13 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004862/0.2699, allocations: 263.2 kB / 1.131 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007031/0.2707, allocations: 357.7 kB / 1.131 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.2711, allocations: 298.6 kB / 1.131 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.2712, allocations: 16 kB / 1.131 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.2724, allocations: 419.1 kB / 1.132 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.2726, allocations: 111.6 kB / 1.132 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.2727, allocations: 113 kB / 1.132 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008069/0.2735, allocations: 0.53 MB / 1.132 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2735, allocations: 0 / 1.132 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2735, allocations: 0 / 1.132 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.2736, allocations: 3.938 kB / 1.132 GB, free: 13.59 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001445/0.275, allocations: 0.7989 MB / 1.133 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.2751, allocations: 12.56 kB / 1.133 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.2753, allocations: 59.33 kB / 1.133 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007562/0.276, allocations: 425.4 kB / 1.134 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.2761, allocations: 24.52 kB / 1.134 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/0.2762, allocations: 31.28 kB / 1.134 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006522/0.2768, allocations: 276.5 kB / 1.134 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.2768, allocations: 0 / 1.134 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.2769, allocations: 14.75 kB / 1.134 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.2769, allocations: 4 kB / 1.134 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006408/0.2776, allocations: 202.1 kB / 1.134 GB, free: 11.67 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.002256/0.2798, allocations: 1.265 MB / 1.135 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/0.2805, allocations: 193.7 kB / 1.136 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.2808, allocations: 72.83 kB / 1.136 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00196/0.2827, allocations: 1.297 MB / 1.137 GB, free: 8.574 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.2828, allocations: 37.97 kB / 1.137 GB, free: 8.531 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.565e-06/0.2828, allocations: 0 / 1.137 GB, free: 8.531 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0008852/0.2837, allocations: 252.1 kB / 1.137 GB, free: 8.281 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.2837, allocations: 51.41 kB / 1.137 GB, free: 8.219 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000795/0.2845, allocations: 0.5768 MB / 1.138 GB, free: 7.637 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.2846, allocations: 33.64 kB / 1.138 GB, free: 7.598 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.2848, allocations: 260.1 kB / 1.138 GB, free: 7.336 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.2848, allocations: 57.53 kB / 1.138 GB, free: 7.281 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.2849, allocations: 8 kB / 1.138 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.285, allocations: 358.8 kB / 1.139 GB, free: 6.914 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.2853, allocations: 82.91 kB / 1.139 GB, free: 6.836 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.2857, allocations: 205 kB / 1.139 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.2861, allocations: 128.2 kB / 1.139 GB, free: 6.473 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/0.2861, allocations: 4 kB / 1.139 GB, free: 6.469 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008653/0.287, allocations: 351.5 kB / 1.139 GB, free: 6.117 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.518e-05/0.2871, allocations: 175 kB / 1.139 GB, free: 5.918 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2871, allocations: 4 kB / 1.139 GB, free: 5.914 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.2871, allocations: 4 kB / 1.139 GB, free: 5.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/0.2876, allocations: 68.75 kB / 1.14 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.2876, allocations: 7.953 kB / 1.14 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.2882, allocations: 58.56 kB / 1.14 GB, free: 5.781 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/0.2883, allocations: 16 kB / 1.14 GB, free: 5.766 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.2883, allocations: 7.984 kB / 1.14 GB, free: 5.758 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007516/0.289, allocations: 276.7 kB / 1.14 GB, free: 5.488 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2891, allocations: 7.984 kB / 1.14 GB, free: 5.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.2891, allocations: 5.5 kB / 1.14 GB, free: 5.477 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.2895, allocations: 71.91 kB / 1.14 GB, free: 5.406 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2895, allocations: 6.812 kB / 1.14 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006321/0.2902, allocations: 43.75 kB / 1.14 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.2902, allocations: 16 kB / 1.14 GB, free: 5.344 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003029/0.2905, allocations: 264.3 kB / 1.14 GB, free: 5.078 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.2907, allocations: 47.34 kB / 1.14 GB, free: 5.031 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008229/0.2915, allocations: 261 kB / 1.141 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.2915, allocations: 0 / 1.141 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.2915, allocations: 3.953 kB / 1.141 GB, free: 4.766 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.2917, allocations: 148.3 kB / 1.141 GB, free: 4.602 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.803e-05/0.2918, allocations: 8 kB / 1.141 GB, free: 4.594 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/0.2922, allocations: 18.83 kB / 1.141 GB, free: 4.578 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.2923, allocations: 19.91 kB / 1.141 GB, free: 4.559 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007818/0.2931, allocations: 291.9 kB / 1.141 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001019/0.2942, allocations: 0.4946 MB / 1.142 GB, free: 3.766 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002681/0.2944, allocations: 83.92 kB / 1.142 GB, free: 3.684 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006229/0.2951, allocations: 410.3 kB / 1.142 GB, free: 3.289 MB / 0.6042 GB Notification: Performance of Backend: time 9.22e-07/0.2951, allocations: 0 / 1.142 GB, free: 3.289 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002723/0.2978, allocations: 0.8314 MB / 1.143 GB, free: 2.566 MB / 0.6042 GB Notification: Performance of SimCode: time 0.003453/0.3013, allocations: 1.604 MB / 1.144 GB, free: 0.9766 MB / 0.6042 GB Notification: Performance of Templates: time 0.03074/0.3321, allocations: 10.7 MB / 1.155 GB, free: 6.984 MB / 0.6198 GB