Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.298/4.298, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.343e-05, allocations: 3.844 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.234, allocations: 98.74 MB / 0.6289 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.302/1.536, allocations: 378.6 MB / 0.9986 GB, free: 6.297 MB / 0.7449 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/1.537, allocations: 87.48 kB / 0.9987 GB, free: 6.254 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 1.018/2.555, allocations: 99.5 MB / 1.096 GB, free: 278.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.234e-06/2.555, allocations: 0 / 1.096 GB, free: 278.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.048e-05/2.555, allocations: 9.719 kB / 1.096 GB, free: 278.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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001669/2.557, allocations: 0.6552 MB / 1.097 GB, free: 278.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/2.557, allocations: 9.25 kB / 1.097 GB, free: 278.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003213/2.557, allocations: 48.88 kB / 1.097 GB, free: 278.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02497/2.582, allocations: 6.387 MB / 1.103 GB, free: 278 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/2.582, allocations: 8.594 kB / 1.103 GB, free: 278 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/2.582, allocations: 20.3 kB / 1.103 GB, free: 278 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005126/2.583, allocations: 137.5 kB / 1.103 GB, free: 278 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/2.584, allocations: 244 kB / 1.103 GB, free: 277.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/2.584, allocations: 0.9062 kB / 1.103 GB, free: 277.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/2.584, allocations: 4.984 kB / 1.103 GB, free: 277.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/2.584, allocations: 7.688 kB / 1.103 GB, free: 277.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/2.586, allocations: 1.417 MB / 1.105 GB, free: 277 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/2.587, allocations: 118.4 kB / 1.105 GB, free: 277 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/2.587, allocations: 52.8 kB / 1.105 GB, free: 277 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/2.587, allocations: 87.97 kB / 1.105 GB, free: 276.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/2.587, allocations: 99.62 kB / 1.105 GB, free: 276.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 4.95e-06/2.587, allocations: 0 / 1.105 GB, free: 276.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0005605/2.588, allocations: 151.7 kB / 1.105 GB, free: 276.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/2.588, allocations: 52.62 kB / 1.105 GB, free: 276.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/2.589, allocations: 280.2 kB / 1.105 GB, free: 276.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/2.589, allocations: 26.73 kB / 1.105 GB, free: 276.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/2.589, allocations: 210.3 kB / 1.106 GB, free: 276.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.402e-05/2.589, allocations: 60.7 kB / 1.106 GB, free: 276.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/2.589, allocations: 1.375 kB / 1.106 GB, free: 276.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.76e-05/2.589, allocations: 337.9 kB / 1.106 GB, free: 276.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/2.589, allocations: 46.38 kB / 1.106 GB, free: 276.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/2.589, allocations: 122.8 kB / 1.106 GB, free: 276 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/2.59, allocations: 75.91 kB / 1.106 GB, free: 276 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/2.59, allocations: 1.406 kB / 1.106 GB, free: 276 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000756/2.591, allocations: 232.9 kB / 1.106 GB, free: 276 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/2.591, allocations: 33.23 kB / 1.107 GB, free: 275.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/2.591, allocations: 3.375 kB / 1.107 GB, free: 275.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/2.591, allocations: 11.27 kB / 1.107 GB, free: 275.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/2.591, allocations: 60.36 kB / 1.107 GB, free: 275.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/2.591, allocations: 6.531 kB / 1.107 GB, free: 275.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/2.592, allocations: 33 kB / 1.107 GB, free: 275.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/2.592, allocations: 9.656 kB / 1.107 GB, free: 275.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001288/2.592, allocations: 111.2 kB / 1.107 GB, free: 275.8 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004555/2.592, allocations: 142.4 kB / 1.107 GB, free: 275.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/2.593, allocations: 34.36 kB / 1.107 GB, free: 275.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004845/2.593, allocations: 159.5 kB / 1.107 GB, free: 275.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/2.593, allocations: 6.109 kB / 1.107 GB, free: 275.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/2.593, allocations: 0 / 1.107 GB, free: 275.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003843/2.593, allocations: 446.8 kB / 1.108 GB, free: 275.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007475/2.594, allocations: 304.7 kB / 1.108 GB, free: 275.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/2.594, allocations: 1.25 kB / 1.108 GB, free: 275.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/2.595, allocations: 36.25 kB / 1.108 GB, free: 275.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/2.595, allocations: 1.375 kB / 1.108 GB, free: 275.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/2.595, allocations: 2.312 kB / 1.108 GB, free: 275.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.577e-06/2.595, allocations: 6.078 kB / 1.108 GB, free: 275.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/2.595, allocations: 4.391 kB / 1.108 GB, free: 275.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/2.595, allocations: 228.7 kB / 1.108 GB, free: 275 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/2.596, allocations: 124.7 kB / 1.108 GB, free: 274.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/2.596, allocations: 4.969 kB / 1.108 GB, free: 274.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/2.596, allocations: 20.69 kB / 1.108 GB, free: 274.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/2.596, allocations: 21.94 kB / 1.108 GB, free: 274.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/2.596, allocations: 7.656 kB / 1.108 GB, free: 274.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003445/2.597, allocations: 211.4 kB / 1.108 GB, free: 274.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.51e-07/2.597, allocations: 0 / 1.108 GB, free: 274.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008501/2.597, allocations: 129.3 kB / 1.109 GB, free: 274.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001297/2.599, allocations: 0.9049 MB / 1.109 GB, free: 274.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005274/2.599, allocations: 182.9 kB / 1.11 GB, free: 274.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/2.599, allocations: 1.406 kB / 1.11 GB, free: 274.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/2.599, allocations: 54.27 kB / 1.11 GB, free: 274.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/2.601, allocations: 181 kB / 1.11 GB, free: 274.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/2.603, allocations: 0.6235 MB / 1.11 GB, free: 273.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/2.604, allocations: 0.7914 MB / 1.111 GB, free: 273.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000506/2.604, allocations: 63.05 kB / 1.111 GB, free: 273.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/2.605, allocations: 114.7 kB / 1.111 GB, free: 273.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.303e-06/2.605, allocations: 0 / 1.111 GB, free: 273.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07287/2.677, allocations: 8.757 MB / 1.12 GB, free: 272.9 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/2.678, allocations: 146.6 kB / 1.12 GB, free: 272.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.929/5.607, allocations: 0 / 1.12 GB, free: 272.7 MB / 0.823 GB