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.006365/0.00637, allocations: 234.6 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.001896/0.001897, allocations: 179.2 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.081/4.081, allocations: 389.1 MB / 406.5 MB, free: 11.84 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.508/4.508, allocations: 472.3 MB / 0.9024 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004801, allocations: 15.5 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.186, allocations: 98.72 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02155/0.2076, allocations: 17.78 MB / 1.122 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.2218, allocations: 7.564 MB / 1.129 GB, free: 16.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.2229, allocations: 23.75 kB / 1.129 GB, free: 16.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.2242, allocations: 327.7 kB / 1.13 GB, free: 16.45 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.003275/0.2275, allocations: 0.7736 MB / 1.13 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.008087/0.2356, allocations: 2.185 MB / 1.133 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002576/0.2382, allocations: 1.71 MB / 1.134 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007928/0.2391, allocations: 415 kB / 1.135 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.2402, allocations: 0.5212 MB / 1.135 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008468/0.2411, allocations: 490.2 kB / 1.136 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.2412, allocations: 28 kB / 1.136 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/0.2432, allocations: 0.5924 MB / 1.136 GB, free: 9.824 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.2435, allocations: 123.4 kB / 1.136 GB, free: 9.703 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.2437, allocations: 153.3 kB / 1.136 GB, free: 9.547 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.2452, allocations: 0.7315 MB / 1.137 GB, free: 8.816 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.2452, allocations: 0 / 1.137 GB, free: 8.816 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2452, allocations: 3.938 kB / 1.137 GB, free: 8.812 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.2453, allocations: 0 / 1.137 GB, free: 8.812 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003016/0.2483, allocations: 0.9754 MB / 1.138 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.2484, allocations: 8.562 kB / 1.138 GB, free: 7.785 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.2486, allocations: 79.75 kB / 1.138 GB, free: 7.707 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.2499, allocations: 482.6 kB / 1.139 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/0.25, allocations: 44.36 kB / 1.139 GB, free: 7.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.2501, allocations: 48 kB / 1.139 GB, free: 7.113 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.2523, allocations: 0.6264 MB / 1.139 GB, free: 6.438 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.2524, allocations: 3.938 kB / 1.139 GB, free: 6.434 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.2525, allocations: 24 kB / 1.139 GB, free: 6.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.2525, allocations: 8 kB / 1.139 GB, free: 6.402 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002621/0.2552, allocations: 0.5058 MB / 1.14 GB, free: 5.902 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.005983/0.2612, allocations: 3.172 MB / 1.143 GB, free: 2.562 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.2626, allocations: 358.8 kB / 1.143 GB, free: 2.211 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009949/0.2636, allocations: 231.7 kB / 1.144 GB, free: 1.984 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004024/0.2641, allocations: 344.4 kB / 1.144 GB, free: 1.574 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.2641, allocations: 33.28 kB / 1.144 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 4.759e-06/0.2641, allocations: 4 kB / 1.144 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.004538/0.2687, allocations: 0.8344 MB / 1.145 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.2687, allocations: 55.41 kB / 1.145 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.27, allocations: 0.5808 MB / 1.145 GB, free: 36 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.2701, allocations: 33.78 kB / 1.145 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.2706, allocations: 328.3 kB / 1.146 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.2708, allocations: 126.2 kB / 1.146 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.182e-05/0.2709, allocations: 16 kB / 1.146 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002635/0.2712, allocations: 370.7 kB / 1.146 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.2725, allocations: 216.3 kB / 1.146 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.274, allocations: 374.5 kB / 1.147 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.2754, allocations: 253.6 kB / 1.147 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.2754, allocations: 0 / 1.147 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003465/0.2789, allocations: 0.7264 MB / 1.148 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.2791, allocations: 221 kB / 1.148 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.2792, allocations: 4 kB / 1.148 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.2804, allocations: 150.6 kB / 1.148 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.2821, allocations: 151.8 kB / 1.148 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.2835, allocations: 0.6334 MB / 1.149 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.285, allocations: 103.8 kB / 1.149 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.2851, allocations: 31.98 kB / 1.149 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2852, allocations: 7.594 kB / 1.149 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003082/0.2883, allocations: 0.6122 MB / 1.15 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.2883, allocations: 7.938 kB / 1.15 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.2883, allocations: 8 kB / 1.15 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.29, allocations: 165.3 kB / 1.15 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/0.29, allocations: 15.34 kB / 1.15 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.2914, allocations: 89.67 kB / 1.15 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.2915, allocations: 27.98 kB / 1.15 GB, free: 11.32 MB / 0.6198 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.0005841/0.2921, allocations: 264.9 kB / 1.15 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.2923, allocations: 70.31 kB / 1.15 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003672/0.296, allocations: 0.689 MB / 1.151 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.2961, allocations: 3.984 kB / 1.151 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.2961, allocations: 0 / 1.151 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005403/0.2966, allocations: 196.1 kB / 1.151 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.2968, allocations: 8 kB / 1.151 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.298, allocations: 65.81 kB / 1.151 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.2982, allocations: 27.95 kB / 1.151 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003696/0.3019, allocations: 0.6834 MB / 1.152 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004157/0.3061, allocations: 0.9716 MB / 1.153 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001159/0.3073, allocations: 227.6 kB / 1.153 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001005/0.3083, allocations: 395.1 kB / 1.153 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of Backend: time 1.142e-06/0.3083, allocations: 0 / 1.153 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005416/0.3138, allocations: 0.9791 MB / 1.154 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of SimCode: time 0.005546/0.3193, allocations: 1.795 MB / 1.156 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of Templates: time 0.6027/0.9221, allocations: 13.17 MB / 1.169 GB, free: 82.69 MB / 0.6198 GB