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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.393/4.393, allocations: 433.2 MB / 440.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.547e-05/2.56e-05, allocations: 4 kB / 0.5325 GB, free: 1.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6723/0.6723, allocations: 98.72 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.278/1.951, allocations: 380.1 MB / 1 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005558/1.951, allocations: 85.77 kB / 1 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.434/3.385, allocations: 225.6 MB / 1.22 GB, free: 225.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.853e-06/3.385, allocations: 0 / 1.22 GB, free: 225.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.337e-05/3.385, allocations: 23.75 kB / 1.221 GB, free: 225.3 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.002313/3.388, allocations: 0.9652 MB / 1.221 GB, free: 224.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/3.388, allocations: 8.031 kB / 1.221 GB, free: 224.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/3.388, allocations: 83.06 kB / 1.222 GB, free: 224.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/3.389, allocations: 0.4984 MB / 1.222 GB, free: 223.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/3.389, allocations: 15.94 kB / 1.222 GB, free: 223.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.82e-05/3.389, allocations: 32 kB / 1.222 GB, free: 223.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009367/3.39, allocations: 342.6 kB / 1.222 GB, free: 223.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009359/3.391, allocations: 0.5055 MB / 1.223 GB, free: 222.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/3.391, allocations: 0 / 1.223 GB, free: 222.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/3.391, allocations: 8 kB / 1.223 GB, free: 222.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/3.392, allocations: 8 kB / 1.223 GB, free: 222.8 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.004804/3.396, allocations: 3.104 MB / 1.226 GB, free: 219.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008069/3.397, allocations: 282.8 kB / 1.226 GB, free: 219.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/3.398, allocations: 168.8 kB / 1.226 GB, free: 219 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/3.398, allocations: 355.2 kB / 1.227 GB, free: 218.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/3.398, allocations: 34.56 kB / 1.227 GB, free: 218.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=36): time 2.885e-06/3.398, allocations: 0 / 1.227 GB, free: 218.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=36): time 0.003531/3.402, allocations: 0.654 MB / 1.227 GB, free: 217.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/3.402, allocations: 63.27 kB / 1.227 GB, free: 217.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006771/3.402, allocations: 438.3 kB / 1.228 GB, free: 217.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.993e-05/3.402, allocations: 25.7 kB / 1.228 GB, free: 217.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/3.403, allocations: 332.2 kB / 1.228 GB, free: 217 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/3.403, allocations: 122.2 kB / 1.228 GB, free: 216.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/3.403, allocations: 0 / 1.228 GB, free: 216.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001058/3.403, allocations: 366.8 kB / 1.229 GB, free: 216.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/3.403, allocations: 145.1 kB / 1.229 GB, free: 216.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/3.404, allocations: 326.2 kB / 1.229 GB, free: 216 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/3.406, allocations: 436 kB / 1.23 GB, free: 215.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/3.406, allocations: 0 / 1.23 GB, free: 215.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003553/3.41, allocations: 0.7847 MB / 1.23 GB, free: 214.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003633/3.41, allocations: 1.752 MB / 1.232 GB, free: 212.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/3.41, allocations: 8 kB / 1.232 GB, free: 212.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006204/3.411, allocations: 100.8 kB / 1.232 GB, free: 212.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/3.412, allocations: 139.8 kB / 1.232 GB, free: 212.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/3.413, allocations: 0.6733 MB / 1.233 GB, free: 212 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/3.415, allocations: 95.39 kB / 1.233 GB, free: 211.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-05/3.415, allocations: 31.98 kB / 1.233 GB, free: 211.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/3.415, allocations: 4 kB / 1.233 GB, free: 211.8 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003197/3.418, allocations: 0.654 MB / 1.234 GB, free: 211.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/3.418, allocations: 4 kB / 1.234 GB, free: 211.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/3.418, allocations: 8 kB / 1.234 GB, free: 211.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/3.419, allocations: 168.3 kB / 1.234 GB, free: 211 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/3.419, allocations: 8.062 kB / 1.234 GB, free: 211 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/3.42, allocations: 83.56 kB / 1.234 GB, free: 210.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.812e-05/3.42, allocations: 31.98 kB / 1.234 GB, free: 210.9 MB / 0.823 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.0002556/3.421, allocations: 112.9 kB / 1.234 GB, free: 210.8 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00312/3.424, allocations: 0.6144 MB / 1.235 GB, free: 210.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/3.424, allocations: 59.25 kB / 1.235 GB, free: 210.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/3.427, allocations: 0.7383 MB / 1.235 GB, free: 209.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/3.427, allocations: 4 kB / 1.235 GB, free: 209.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/3.428, allocations: 7.938 kB / 1.235 GB, free: 209.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/3.428, allocations: 3.984 kB / 1.235 GB, free: 209.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004945/3.432, allocations: 1.365 MB / 1.237 GB, free: 207.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/3.433, allocations: 0 / 1.237 GB, free: 207.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/3.433, allocations: 83.89 kB / 1.237 GB, free: 207.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005459/3.434, allocations: 116.8 kB / 1.237 GB, free: 207.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/3.434, allocations: 8 kB / 1.237 GB, free: 207.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/3.435, allocations: 0.6889 MB / 1.238 GB, free: 207 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/3.435, allocations: 3.938 kB / 1.238 GB, free: 207 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00344/3.439, allocations: 0.8371 MB / 1.238 GB, free: 206.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/3.439, allocations: 196.1 kB / 1.239 GB, free: 205.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/3.439, allocations: 0 / 1.239 GB, free: 205.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008468/3.44, allocations: 51.94 kB / 1.239 GB, free: 205.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.665e-05/3.44, allocations: 35.91 kB / 1.239 GB, free: 205.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.545e-05/3.44, allocations: 12 kB / 1.239 GB, free: 205.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005154/3.441, allocations: 318.9 kB / 1.239 GB, free: 205.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.01e-07/3.441, allocations: 8 kB / 1.239 GB, free: 205.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001682/3.442, allocations: 383.2 kB / 1.239 GB, free: 205.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.004782/3.447, allocations: 1.766 MB / 1.241 GB, free: 203.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00303/3.45, allocations: 0.6639 MB / 1.242 GB, free: 202.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/3.45, allocations: 0 / 1.242 GB, free: 202.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/3.452, allocations: 233.6 kB / 1.242 GB, free: 202.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/3.456, allocations: 238.2 kB / 1.242 GB, free: 202.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/3.461, allocations: 0.8642 MB / 1.243 GB, free: 201.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/3.462, allocations: 0.9205 MB / 1.244 GB, free: 200.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001867/3.463, allocations: 152.7 kB / 1.244 GB, free: 200.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006605/3.464, allocations: 231.3 kB / 1.244 GB, free: 200 MB / 0.823 GB Notification: Performance of SimCode: time 1.442e-06/3.464, allocations: 0 / 1.244 GB, free: 200 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09562/3.56, allocations: 17.71 MB / 1.262 GB, free: 182.4 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002693/3.56, allocations: 196.2 kB / 1.262 GB, free: 182.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.508/7.068, allocations: 3.938 kB / 1.262 GB, free: 182.1 MB / 0.823 GB