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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.451/4.451, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 6.451e-05/6.462e-05, allocations: 4.828 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2611, allocations: 98.74 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.184/1.445, allocations: 380.8 MB / 1.007 GB, free: 9.293 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003806/1.445, allocations: 90.56 kB / 1.007 GB, free: 9.246 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.368/2.813, allocations: 227.4 MB / 1.229 GB, free: 189.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.597e-06/2.813, allocations: 0 / 1.229 GB, free: 189.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001062/2.813, allocations: 23.98 kB / 1.229 GB, free: 189.8 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.003314/2.816, allocations: 0.9617 MB / 1.23 GB, free: 188.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.534e-05/2.817, allocations: 11.97 kB / 1.23 GB, free: 188.8 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/2.817, allocations: 86.52 kB / 1.23 GB, free: 188.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/2.817, allocations: 83.06 kB / 1.23 GB, free: 188.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/2.819, allocations: 0.5073 MB / 1.23 GB, free: 188 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.369e-05/2.819, allocations: 37 kB / 1.23 GB, free: 188 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/2.819, allocations: 52 kB / 1.23 GB, free: 187.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/2.821, allocations: 0.5588 MB / 1.231 GB, free: 187.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/2.821, allocations: 3.938 kB / 1.231 GB, free: 187.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/2.821, allocations: 24 kB / 1.231 GB, free: 187.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-05/2.821, allocations: 12 kB / 1.231 GB, free: 187.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/2.823, allocations: 390.8 kB / 1.231 GB, free: 186.9 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.007874/2.831, allocations: 3.192 MB / 1.234 GB, free: 183.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/2.832, allocations: 291.8 kB / 1.235 GB, free: 183.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/2.832, allocations: 169.4 kB / 1.235 GB, free: 183.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004752/2.833, allocations: 348.4 kB / 1.235 GB, free: 182.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/2.833, allocations: 42.42 kB / 1.235 GB, free: 182.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=36): time 3.797e-06/2.833, allocations: 0 / 1.235 GB, free: 182.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=36): time 0.001713/2.835, allocations: 401.4 kB / 1.236 GB, free: 182.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/2.835, allocations: 59.41 kB / 1.236 GB, free: 182.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/2.836, allocations: 0.4995 MB / 1.236 GB, free: 181.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/2.836, allocations: 33.7 kB / 1.236 GB, free: 181.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/2.836, allocations: 332.3 kB / 1.237 GB, free: 181.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/2.837, allocations: 126.2 kB / 1.237 GB, free: 181.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/2.837, allocations: 12 kB / 1.237 GB, free: 181.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001481/2.837, allocations: 370.8 kB / 1.237 GB, free: 180.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006687/2.838, allocations: 161.5 kB / 1.237 GB, free: 180.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/2.838, allocations: 344.3 kB / 1.238 GB, free: 180.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/2.839, allocations: 205.5 kB / 1.238 GB, free: 180 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/2.839, allocations: 4 kB / 1.238 GB, free: 180 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001583/2.84, allocations: 0.5979 MB / 1.238 GB, free: 179.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003659/2.841, allocations: 1.755 MB / 1.24 GB, free: 177.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/2.841, allocations: 4 kB / 1.24 GB, free: 177.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/2.843, allocations: 144.7 kB / 1.24 GB, free: 177.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/2.844, allocations: 151.8 kB / 1.24 GB, free: 177.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000749/2.845, allocations: 0.6187 MB / 1.241 GB, free: 176.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/2.846, allocations: 115.2 kB / 1.241 GB, free: 176.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/2.846, allocations: 39.92 kB / 1.241 GB, free: 176.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/2.846, allocations: 4 kB / 1.241 GB, free: 176.4 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001795/2.848, allocations: 0.4982 MB / 1.242 GB, free: 175.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/2.848, allocations: 4 kB / 1.242 GB, free: 175.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/2.848, allocations: 8 kB / 1.242 GB, free: 175.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/2.85, allocations: 167.7 kB / 1.242 GB, free: 175.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/2.85, allocations: 8.344 kB / 1.242 GB, free: 175.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/2.851, allocations: 95.47 kB / 1.242 GB, free: 175.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.913e-05/2.851, allocations: 35.98 kB / 1.242 GB, free: 175.6 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.0002058/2.851, allocations: 140.8 kB / 1.242 GB, free: 175.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/2.851, allocations: 67.11 kB / 1.242 GB, free: 175.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/2.853, allocations: 0.5358 MB / 1.243 GB, free: 174.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/2.853, allocations: 4 kB / 1.243 GB, free: 174.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/2.853, allocations: 0 / 1.243 GB, free: 174.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/2.853, allocations: 0 / 1.243 GB, free: 174.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/2.856, allocations: 1.223 MB / 1.244 GB, free: 173.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/2.856, allocations: 4 kB / 1.244 GB, free: 173.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006416/2.857, allocations: 87.91 kB / 1.244 GB, free: 173.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000614/2.857, allocations: 112.9 kB / 1.244 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/2.857, allocations: 15.98 kB / 1.244 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006773/2.858, allocations: 0.6187 MB / 1.245 GB, free: 172.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/2.858, allocations: 0 / 1.245 GB, free: 172.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/2.859, allocations: 0.6186 MB / 1.245 GB, free: 172 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/2.86, allocations: 196 kB / 1.245 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/2.86, allocations: 16.05 kB / 1.245 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008742/2.861, allocations: 59.94 kB / 1.245 GB, free: 171.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/2.861, allocations: 35.95 kB / 1.246 GB, free: 171.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.493e-05/2.861, allocations: 12 kB / 1.246 GB, free: 171.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005988/2.862, allocations: 387.2 kB / 1.246 GB, free: 171.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.21e-07/2.862, allocations: 3.938 kB / 1.246 GB, free: 171.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00158/2.863, allocations: 419.4 kB / 1.246 GB, free: 170.9 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.002531/2.866, allocations: 1.555 MB / 1.248 GB, free: 169.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002047/2.868, allocations: 0.747 MB / 1.249 GB, free: 168.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/2.868, allocations: 0 / 1.249 GB, free: 168.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007318/2.869, allocations: 233 kB / 1.249 GB, free: 168.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/2.871, allocations: 266.8 kB / 1.249 GB, free: 168.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/2.873, allocations: 0.9128 MB / 1.25 GB, free: 167.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/2.874, allocations: 0.9208 MB / 1.251 GB, free: 166.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001081/2.875, allocations: 172.9 kB / 1.251 GB, free: 166 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004007/2.875, allocations: 235.3 kB / 1.251 GB, free: 165.8 MB / 0.823 GB Notification: Performance of SimCode: time 9.72e-07/2.875, allocations: 0 / 1.251 GB, free: 165.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06949/2.945, allocations: 20.53 MB / 1.271 GB, free: 145.5 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/2.945, allocations: 250.7 kB / 1.271 GB, free: 145.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.612/6.557, allocations: 4 kB / 1.271 GB, free: 145.1 MB / 0.823 GB