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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 3.944/3.944, allocations: 433.4 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.458e-05/2.467e-05, allocations: 7.984 kB / 0.5325 GB, free: 1.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4957/0.4957, allocations: 98.7 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9054/1.401, allocations: 380.1 MB / 1 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/1.402, allocations: 89.72 kB / 1 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.157/2.558, allocations: 225.6 MB / 1.22 GB, free: 163.1 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.81e-06/2.558, allocations: 0 / 1.22 GB, free: 163.1 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.931e-05/2.558, allocations: 22.55 kB / 1.221 GB, free: 163.1 MB / 0.8073 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.001766/2.56, allocations: 0.96 MB / 1.221 GB, free: 162.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/2.56, allocations: 11.84 kB / 1.221 GB, free: 162.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/2.56, allocations: 78.44 kB / 1.222 GB, free: 162.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009955/2.561, allocations: 0.5052 MB / 1.222 GB, free: 161.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/2.561, allocations: 15.72 kB / 1.222 GB, free: 161.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.514e-05/2.562, allocations: 27.38 kB / 1.222 GB, free: 161.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008216/2.562, allocations: 350 kB / 1.222 GB, free: 161.7 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008359/2.563, allocations: 0.5076 MB / 1.223 GB, free: 161.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/2.563, allocations: 3.906 kB / 1.223 GB, free: 161.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/2.563, allocations: 0 / 1.223 GB, free: 161.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/2.563, allocations: 11.47 kB / 1.223 GB, free: 161.3 MB / 0.8073 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.003586/2.567, allocations: 3.097 MB / 1.226 GB, free: 158.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/2.568, allocations: 295.5 kB / 1.226 GB, free: 158.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/2.568, allocations: 166 kB / 1.226 GB, free: 158.2 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000257/2.568, allocations: 346.8 kB / 1.227 GB, free: 157.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/2.568, allocations: 33.56 kB / 1.227 GB, free: 157.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=36): time 3.064e-06/2.568, allocations: 0 / 1.227 GB, free: 157.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36): time 0.002549/2.571, allocations: 0.6572 MB / 1.227 GB, free: 157.5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/2.571, allocations: 59.06 kB / 1.227 GB, free: 157.4 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005752/2.572, allocations: 432.5 kB / 1.228 GB, free: 157.1 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/2.572, allocations: 25.7 kB / 1.228 GB, free: 157.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/2.572, allocations: 339 kB / 1.228 GB, free: 156.8 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.572e-05/2.572, allocations: 117.5 kB / 1.228 GB, free: 156.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-05/2.572, allocations: 0 / 1.228 GB, free: 156.7 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.978e-05/2.572, allocations: 374.4 kB / 1.229 GB, free: 156.3 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/2.572, allocations: 142.1 kB / 1.229 GB, free: 156.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/2.573, allocations: 314.6 kB / 1.229 GB, free: 156 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/2.575, allocations: 439.2 kB / 1.23 GB, free: 155.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.386e-06/2.575, allocations: 3.969 kB / 1.23 GB, free: 155.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002764/2.578, allocations: 0.7815 MB / 1.23 GB, free: 155.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003508/2.578, allocations: 1.746 MB / 1.232 GB, free: 153.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/2.578, allocations: 7.344 kB / 1.232 GB, free: 153.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000473/2.579, allocations: 101.5 kB / 1.232 GB, free: 153.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007176/2.579, allocations: 141.2 kB / 1.232 GB, free: 153.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/2.58, allocations: 0.6728 MB / 1.233 GB, free: 152.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009306/2.581, allocations: 92.45 kB / 1.233 GB, free: 152.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.64e-05/2.581, allocations: 29.86 kB / 1.233 GB, free: 152.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/2.581, allocations: 7.312 kB / 1.233 GB, free: 152.7 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002538/2.584, allocations: 0.6593 MB / 1.234 GB, free: 152.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.58e-06/2.584, allocations: 3.281 kB / 1.234 GB, free: 152.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/2.584, allocations: 8.375 kB / 1.234 GB, free: 152.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007877/2.585, allocations: 160.1 kB / 1.234 GB, free: 152.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/2.585, allocations: 19.44 kB / 1.234 GB, free: 152.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008081/2.586, allocations: 83.19 kB / 1.234 GB, free: 152.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.582e-05/2.586, allocations: 30.7 kB / 1.234 GB, free: 152.3 MB / 0.8073 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: valIndFromMflow.m_flow_x:VARIABLE(unit = "kg/s" protected = true ) type: Real 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 (64): * Single equations (assignments): 63 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000209/2.586, allocations: 124.5 kB / 1.234 GB, free: 152.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/2.586, allocations: 63.42 kB / 1.234 GB, free: 152.1 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/2.589, allocations: 0.7294 MB / 1.235 GB, free: 151.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/2.589, allocations: 11.81 kB / 1.235 GB, free: 151.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.933e-06/2.589, allocations: 0 / 1.235 GB, free: 151.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.911e-06/2.589, allocations: 7.922 kB / 1.235 GB, free: 151.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003993/2.593, allocations: 1.377 MB / 1.236 GB, free: 150.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-06/2.593, allocations: 0 / 1.236 GB, free: 150.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/2.594, allocations: 86.67 kB / 1.236 GB, free: 150.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004663/2.594, allocations: 112.3 kB / 1.236 GB, free: 150.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/2.594, allocations: 3.312 kB / 1.236 GB, free: 150.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/2.595, allocations: 0.6998 MB / 1.237 GB, free: 150.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.156e-06/2.595, allocations: 0 / 1.237 GB, free: 150.1 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/2.598, allocations: 0.8302 MB / 1.238 GB, free: 149.6 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000336/2.598, allocations: 189.5 kB / 1.238 GB, free: 149.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/2.598, allocations: 0 / 1.238 GB, free: 149.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006535/2.599, allocations: 57.09 kB / 1.238 GB, free: 149.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/2.599, allocations: 30.23 kB / 1.238 GB, free: 149.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.373e-05/2.599, allocations: 17.69 kB / 1.238 GB, free: 149.3 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004434/2.6, allocations: 319.9 kB / 1.238 GB, free: 149.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.08e-07/2.6, allocations: 4 kB / 1.238 GB, free: 149.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001575/2.601, allocations: 387 kB / 1.239 GB, free: 149.1 MB / 0.8073 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.0008909/2.602, allocations: 413.4 kB / 1.239 GB, free: 148.8 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001623/2.604, allocations: 0.672 MB / 1.24 GB, free: 148.6 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.72e-06/2.604, allocations: 6.188 kB / 1.24 GB, free: 148.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005971/2.604, allocations: 218.3 kB / 1.24 GB, free: 148.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/2.606, allocations: 234 kB / 1.24 GB, free: 148.4 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/2.608, allocations: 0.714 MB / 1.241 GB, free: 147.9 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/2.608, allocations: 0.9147 MB / 1.242 GB, free: 147.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001026/2.609, allocations: 161.8 kB / 1.242 GB, free: 147.1 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/2.609, allocations: 47.05 kB / 1.242 GB, free: 147.1 MB / 0.8073 GB Notification: Performance of SimCode: time 1.872e-06/2.609, allocations: 0 / 1.242 GB, free: 147.1 MB / 0.8073 GB Notification: Performance of Templates: time 0.02809/2.637, allocations: 12.43 MB / 1.254 GB, free: 140.9 MB / 0.8073 GB