Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.023/4.023, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.672e-05, allocations: 6.141 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1814, allocations: 98.72 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.935/1.116, allocations: 380.8 MB / 1.007 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.117, allocations: 91.19 kB / 1.007 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.175/2.292, allocations: 227.4 MB / 1.229 GB, free: 193.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.618e-06/2.292, allocations: 0 / 1.229 GB, free: 193.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001022/2.292, allocations: 24 kB / 1.229 GB, free: 193.9 MB / 0.823 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.003086/2.296, allocations: 0.9578 MB / 1.23 GB, free: 192.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/2.296, allocations: 8.031 kB / 1.23 GB, free: 192.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/2.296, allocations: 79.06 kB / 1.23 GB, free: 192.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/2.298, allocations: 0.5073 MB / 1.23 GB, free: 192.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/2.298, allocations: 37 kB / 1.23 GB, free: 192.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/2.298, allocations: 52 kB / 1.23 GB, free: 192.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/2.3, allocations: 0.5588 MB / 1.231 GB, free: 191.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/2.3, allocations: 3.938 kB / 1.231 GB, free: 191.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/2.3, allocations: 24 kB / 1.231 GB, free: 191.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/2.3, allocations: 15.98 kB / 1.231 GB, free: 191.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/2.302, allocations: 386.8 kB / 1.231 GB, free: 191.2 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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.007146/2.309, allocations: 3.192 MB / 1.234 GB, free: 187.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/2.311, allocations: 291 kB / 1.235 GB, free: 187.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007208/2.311, allocations: 172.8 kB / 1.235 GB, free: 187.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004682/2.312, allocations: 353 kB / 1.235 GB, free: 186.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/2.312, allocations: 38.56 kB / 1.235 GB, free: 186.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=36): time 6.583e-06/2.312, allocations: 0 / 1.235 GB, free: 186.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=36): time 0.0021/2.314, allocations: 413.3 kB / 1.236 GB, free: 186.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/2.314, allocations: 55.41 kB / 1.236 GB, free: 186.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/2.316, allocations: 0.4917 MB / 1.236 GB, free: 185.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001228/2.316, allocations: 37.7 kB / 1.236 GB, free: 185.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/2.316, allocations: 336.3 kB / 1.237 GB, free: 185.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/2.316, allocations: 122.3 kB / 1.237 GB, free: 185.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.53e-05/2.316, allocations: 12 kB / 1.237 GB, free: 185.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001857/2.317, allocations: 370.8 kB / 1.237 GB, free: 185 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007744/2.317, allocations: 157.5 kB / 1.237 GB, free: 184.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009507/2.318, allocations: 345.6 kB / 1.237 GB, free: 184.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008928/2.319, allocations: 201.5 kB / 1.238 GB, free: 184.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/2.319, allocations: 4 kB / 1.238 GB, free: 184.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002748/2.322, allocations: 0.609 MB / 1.238 GB, free: 183.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005054/2.323, allocations: 1.747 MB / 1.24 GB, free: 181.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/2.323, allocations: 4 kB / 1.24 GB, free: 181.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/2.324, allocations: 136.7 kB / 1.24 GB, free: 181.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/2.326, allocations: 155.8 kB / 1.24 GB, free: 181.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/2.327, allocations: 0.611 MB / 1.241 GB, free: 180.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/2.329, allocations: 119.2 kB / 1.241 GB, free: 180.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.593e-05/2.329, allocations: 35.94 kB / 1.241 GB, free: 180.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/2.329, allocations: 4 kB / 1.241 GB, free: 180.6 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001101/2.33, allocations: 0.5057 MB / 1.241 GB, free: 180.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/2.33, allocations: 4.562 kB / 1.241 GB, free: 180.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/2.33, allocations: 12 kB / 1.242 GB, free: 180.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007923/2.331, allocations: 171.8 kB / 1.242 GB, free: 179.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/2.331, allocations: 8 kB / 1.242 GB, free: 179.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008542/2.332, allocations: 91.47 kB / 1.242 GB, free: 179.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-05/2.332, allocations: 31.98 kB / 1.242 GB, free: 179.8 MB / 0.823 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 () * 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.0001815/2.332, allocations: 144.7 kB / 1.242 GB, free: 179.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/2.332, allocations: 63.2 kB / 1.242 GB, free: 179.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/2.334, allocations: 0.5357 MB / 1.243 GB, free: 179 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/2.334, allocations: 7.984 kB / 1.243 GB, free: 179 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.929e-06/2.334, allocations: 4 kB / 1.243 GB, free: 179 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.514e-06/2.334, allocations: 0 / 1.243 GB, free: 179 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/2.336, allocations: 1.212 MB / 1.244 GB, free: 177.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.753e-06/2.336, allocations: 4 kB / 1.244 GB, free: 177.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005181/2.337, allocations: 87.88 kB / 1.244 GB, free: 177.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000495/2.337, allocations: 112.9 kB / 1.244 GB, free: 177.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/2.337, allocations: 15.98 kB / 1.244 GB, free: 177.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005994/2.338, allocations: 0.6187 MB / 1.245 GB, free: 176.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.655e-06/2.338, allocations: 3.984 kB / 1.245 GB, free: 176.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/2.339, allocations: 0.6225 MB / 1.245 GB, free: 176.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/2.34, allocations: 188.1 kB / 1.245 GB, free: 176 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/2.34, allocations: 12 kB / 1.245 GB, free: 176 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007389/2.341, allocations: 63.86 kB / 1.245 GB, free: 176 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.689e-05/2.341, allocations: 31.91 kB / 1.245 GB, free: 175.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/2.341, allocations: 19.98 kB / 1.245 GB, free: 175.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000547/2.341, allocations: 383.2 kB / 1.246 GB, free: 175.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.36e-07/2.341, allocations: 0 / 1.246 GB, free: 175.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001495/2.343, allocations: 419.5 kB / 1.246 GB, free: 175.1 MB / 0.823 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 () * 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.0008694/2.344, allocations: 428.5 kB / 1.247 GB, free: 174.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001807/2.346, allocations: 0.755 MB / 1.247 GB, free: 173.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.152e-06/2.346, allocations: 4.562 kB / 1.247 GB, free: 173.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006076/2.346, allocations: 231.8 kB / 1.248 GB, free: 173.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/2.348, allocations: 264.9 kB / 1.248 GB, free: 173.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/2.349, allocations: 0.7358 MB / 1.249 GB, free: 172.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/2.35, allocations: 0.913 MB / 1.249 GB, free: 171.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001003/2.351, allocations: 172.8 kB / 1.25 GB, free: 171.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/2.351, allocations: 47.42 kB / 1.25 GB, free: 171.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.719e-06/2.351, allocations: 0 / 1.25 GB, free: 171.5 MB / 0.823 GB Notification: Performance of Templates: time 0.03079/2.382, allocations: 14.34 MB / 1.264 GB, free: 157.3 MB / 0.823 GB