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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01115/0.01115, allocations: 106.6 kB / 15.05 MB, free: 5.93 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.001208/0.001208, allocations: 186.4 kB / 15.94 MB, free: 5.895 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 2.069/2.069, allocations: 194.6 MB / 211.2 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.346/2.346, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004853, allocations: 12 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6983/0.6988, allocations: 98.71 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.965, allocations: 380.8 MB / 1.055 GB, free: 67.62 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/1.965, allocations: 100.3 kB / 1.055 GB, free: 67.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.353/3.318, allocations: 228 MB / 1.278 GB, free: 237.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.465e-06/3.318, allocations: 0 / 1.278 GB, free: 237.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.528e-05/3.318, allocations: 25.83 kB / 1.278 GB, free: 237.2 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.002805/3.321, allocations: 1.074 MB / 1.279 GB, free: 236.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/3.321, allocations: 15.17 kB / 1.279 GB, free: 236.6 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/3.321, allocations: 82.34 kB / 1.279 GB, free: 236.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/3.321, allocations: 80.72 kB / 1.279 GB, free: 236.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/3.322, allocations: 0.5114 MB / 1.28 GB, free: 236.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/3.322, allocations: 39.56 kB / 1.28 GB, free: 236.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/3.322, allocations: 51.66 kB / 1.28 GB, free: 236.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/3.324, allocations: 0.6188 MB / 1.281 GB, free: 236.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/3.324, allocations: 2.25 kB / 1.281 GB, free: 236.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.757e-05/3.324, allocations: 20.72 kB / 1.281 GB, free: 236.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/3.324, allocations: 9.938 kB / 1.281 GB, free: 236.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/3.326, allocations: 0.498 MB / 1.281 GB, free: 236.1 MB / 0.823 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.004803/3.331, allocations: 3.186 MB / 1.284 GB, free: 233.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/3.332, allocations: 351.5 kB / 1.285 GB, free: 233.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/3.332, allocations: 344.9 kB / 1.285 GB, free: 233.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/3.332, allocations: 37.31 kB / 1.285 GB, free: 233.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=36): time 3.206e-06/3.332, allocations: 0 / 1.285 GB, free: 233.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=36): time 0.003338/3.336, allocations: 0.8173 MB / 1.286 GB, free: 233.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/3.336, allocations: 54.56 kB / 1.286 GB, free: 233.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008041/3.336, allocations: 0.5006 MB / 1.286 GB, free: 233 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-05/3.337, allocations: 39.27 kB / 1.286 GB, free: 233 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/3.337, allocations: 333.5 kB / 1.287 GB, free: 232.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/3.337, allocations: 121.6 kB / 1.287 GB, free: 232.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/3.337, allocations: 15.69 kB / 1.287 GB, free: 232.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001136/3.337, allocations: 370.6 kB / 1.287 GB, free: 232.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007688/3.338, allocations: 212 kB / 1.287 GB, free: 232.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009173/3.339, allocations: 403.1 kB / 1.288 GB, free: 232.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008571/3.34, allocations: 247.9 kB / 1.288 GB, free: 232 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/3.34, allocations: 0 / 1.288 GB, free: 232 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002288/3.342, allocations: 0.7136 MB / 1.289 GB, free: 231.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003886/3.342, allocations: 1.749 MB / 1.29 GB, free: 229.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/3.342, allocations: 3.875 kB / 1.29 GB, free: 229.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009492/3.343, allocations: 155.1 kB / 1.29 GB, free: 229.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/3.345, allocations: 154.8 kB / 1.291 GB, free: 229.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008585/3.346, allocations: 0.6225 MB / 1.291 GB, free: 229.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/3.347, allocations: 114.8 kB / 1.291 GB, free: 229.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.585e-05/3.347, allocations: 36.56 kB / 1.291 GB, free: 229.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/3.347, allocations: 5.844 kB / 1.291 GB, free: 229.3 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001937/3.349, allocations: 0.604 MB / 1.292 GB, free: 229.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/3.349, allocations: 3.844 kB / 1.292 GB, free: 229.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/3.349, allocations: 17.16 kB / 1.292 GB, free: 229.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/3.35, allocations: 166.4 kB / 1.292 GB, free: 229.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/3.35, allocations: 10 kB / 1.292 GB, free: 229.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/3.351, allocations: 89.7 kB / 1.292 GB, free: 229.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-05/3.351, allocations: 30.22 kB / 1.292 GB, free: 229.1 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 () * 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.0004571/3.352, allocations: 278.2 kB / 1.293 GB, free: 228.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/3.352, allocations: 70.67 kB / 1.293 GB, free: 228.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/3.354, allocations: 0.6406 MB / 1.293 GB, free: 228.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/3.354, allocations: 9.781 kB / 1.293 GB, free: 228.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/3.354, allocations: 0 / 1.293 GB, free: 228.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/3.354, allocations: 0 / 1.293 GB, free: 228.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/3.358, allocations: 1.316 MB / 1.295 GB, free: 227.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/3.358, allocations: 0 / 1.295 GB, free: 227.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/3.359, allocations: 87.41 kB / 1.295 GB, free: 227.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006629/3.359, allocations: 135.2 kB / 1.295 GB, free: 227.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/3.359, allocations: 6.594 kB / 1.295 GB, free: 227.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008187/3.36, allocations: 0.6418 MB / 1.295 GB, free: 227.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/3.36, allocations: 0 / 1.295 GB, free: 227.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/3.362, allocations: 0.7271 MB / 1.296 GB, free: 226.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/3.363, allocations: 190.6 kB / 1.296 GB, free: 226.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/3.363, allocations: 8 kB / 1.296 GB, free: 226.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008642/3.364, allocations: 58.64 kB / 1.296 GB, free: 226.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/3.364, allocations: 36.22 kB / 1.296 GB, free: 226.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-05/3.364, allocations: 26.34 kB / 1.296 GB, free: 226.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006381/3.365, allocations: 384 kB / 1.297 GB, free: 226.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.21e-07/3.365, allocations: 3.938 kB / 1.297 GB, free: 226.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001733/3.366, allocations: 415.5 kB / 1.297 GB, free: 226.5 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 () * Number of clocked 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.003578/3.37, allocations: 1.65 MB / 1.299 GB, free: 225.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003158/3.373, allocations: 0.8875 MB / 1.3 GB, free: 225.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/3.373, allocations: 0 / 1.3 GB, free: 225.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/3.374, allocations: 282.9 kB / 1.3 GB, free: 225.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/3.377, allocations: 271.6 kB / 1.3 GB, free: 225.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/3.381, allocations: 4.594 MB / 1.305 GB, free: 221 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/3.381, allocations: 0.9224 MB / 1.306 GB, free: 220.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001023/3.382, allocations: 137.8 kB / 1.306 GB, free: 220.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/3.383, allocations: 242.7 kB / 1.306 GB, free: 220.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.092e-06/3.383, allocations: 0 / 1.306 GB, free: 220.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06106/3.444, allocations: 19.22 MB / 1.325 GB, free: 217.2 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002726/3.444, allocations: 270.1 kB / 1.325 GB, free: 216.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.174/6.618, allocations: 0 / 1.325 GB, free: 216.9 MB / 0.823 GB