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/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.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.186/4.186, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.748e-05/4.774e-05, allocations: 4.594 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2448, allocations: 98.74 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.216/1.461, allocations: 379.3 MB / 1.005 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/1.461, allocations: 84.42 kB / 1.005 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.9683/2.43, allocations: 99.98 MB / 1.103 GB, free: 275.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.154e-06/2.43, allocations: 0 / 1.103 GB, free: 275.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.295e-05/2.43, allocations: 8.031 kB / 1.103 GB, free: 275.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.00145/2.431, allocations: 0.6607 MB / 1.103 GB, free: 275.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/2.431, allocations: 9.969 kB / 1.103 GB, free: 275.4 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/2.431, allocations: 61.78 kB / 1.104 GB, free: 275.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/2.432, allocations: 47.39 kB / 1.104 GB, free: 275.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02816/2.46, allocations: 6.407 MB / 1.11 GB, free: 274.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/2.46, allocations: 18.25 kB / 1.11 GB, free: 274.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/2.46, allocations: 29.7 kB / 1.11 GB, free: 274.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/2.461, allocations: 284.7 kB / 1.11 GB, free: 274.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/2.461, allocations: 0 / 1.11 GB, free: 274.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.125e-05/2.461, allocations: 11.19 kB / 1.11 GB, free: 274.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.84e-05/2.461, allocations: 6.5 kB / 1.11 GB, free: 274.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000735/2.462, allocations: 161.8 kB / 1.11 GB, free: 274.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003761/2.466, allocations: 1.481 MB / 1.112 GB, free: 273.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/2.467, allocations: 132.5 kB / 1.112 GB, free: 273.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/2.467, allocations: 53.48 kB / 1.112 GB, free: 273.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/2.467, allocations: 84.98 kB / 1.112 GB, free: 273.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/2.467, allocations: 115.3 kB / 1.112 GB, free: 273.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 4.84e-06/2.467, allocations: 0 / 1.112 GB, free: 273.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0007131/2.468, allocations: 152 kB / 1.112 GB, free: 273.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/2.468, allocations: 56.59 kB / 1.112 GB, free: 273.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007927/2.469, allocations: 306.2 kB / 1.113 GB, free: 273.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.722e-05/2.469, allocations: 31.89 kB / 1.113 GB, free: 273.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/2.469, allocations: 213.1 kB / 1.113 GB, free: 273.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.691e-05/2.47, allocations: 56.2 kB / 1.113 GB, free: 273.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/2.47, allocations: 4.781 kB / 1.113 GB, free: 273.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001312/2.47, allocations: 343.8 kB / 1.113 GB, free: 273 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/2.47, allocations: 54.64 kB / 1.113 GB, free: 273 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/2.47, allocations: 124.2 kB / 1.113 GB, free: 272.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/2.471, allocations: 105.3 kB / 1.114 GB, free: 272.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/2.471, allocations: 1.5 kB / 1.114 GB, free: 272.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001079/2.472, allocations: 276.9 kB / 1.114 GB, free: 272.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.116e-05/2.472, allocations: 37.95 kB / 1.114 GB, free: 272.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/2.472, allocations: 6.453 kB / 1.114 GB, free: 272.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-05/2.472, allocations: 4.562 kB / 1.114 GB, free: 272.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007435/2.473, allocations: 61.73 kB / 1.114 GB, free: 272.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/2.473, allocations: 6.594 kB / 1.114 GB, free: 272.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008503/2.474, allocations: 44.55 kB / 1.114 GB, free: 272.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/2.474, allocations: 15.78 kB / 1.114 GB, free: 272.7 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.0001507/2.474, allocations: 118.3 kB / 1.114 GB, free: 272.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/2.474, allocations: 30.97 kB / 1.114 GB, free: 272.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007148/2.475, allocations: 164.5 kB / 1.114 GB, free: 272.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/2.475, allocations: 5.141 kB / 1.114 GB, free: 272.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/2.475, allocations: 3.062 kB / 1.114 GB, free: 272.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005848/2.476, allocations: 458.4 kB / 1.115 GB, free: 272.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/2.477, allocations: 348.6 kB / 1.115 GB, free: 271.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/2.477, allocations: 0 / 1.115 GB, free: 271.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000547/2.477, allocations: 39.02 kB / 1.115 GB, free: 271.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/2.477, allocations: 3.781 kB / 1.115 GB, free: 271.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/2.477, allocations: 1.281 kB / 1.115 GB, free: 271.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/2.477, allocations: 1.312 kB / 1.115 GB, free: 271.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/2.477, allocations: 3.953 kB / 1.115 GB, free: 271.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008675/2.478, allocations: 239.2 kB / 1.115 GB, free: 271.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/2.479, allocations: 126.2 kB / 1.115 GB, free: 271.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/2.479, allocations: 4.719 kB / 1.115 GB, free: 271.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006351/2.479, allocations: 23.22 kB / 1.115 GB, free: 271.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/2.479, allocations: 28.86 kB / 1.115 GB, free: 271.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/2.48, allocations: 7.812 kB / 1.116 GB, free: 271.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006254/2.48, allocations: 241.6 kB / 1.116 GB, free: 271.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.92e-07/2.48, allocations: 3.812 kB / 1.116 GB, free: 271.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009741/2.481, allocations: 134 kB / 1.116 GB, free: 271.6 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.00111/2.482, allocations: 0.915 MB / 1.117 GB, free: 271 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000474/2.483, allocations: 201 kB / 1.117 GB, free: 270.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/2.483, allocations: 1.406 kB / 1.117 GB, free: 270.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/2.483, allocations: 55.14 kB / 1.117 GB, free: 270.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/2.485, allocations: 203.4 kB / 1.117 GB, free: 270.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/2.486, allocations: 0.6335 MB / 1.118 GB, free: 270.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/2.487, allocations: 0.7935 MB / 1.119 GB, free: 270 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004122/2.487, allocations: 57.48 kB / 1.119 GB, free: 270 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/2.487, allocations: 121.3 kB / 1.119 GB, free: 270 MB / 0.823 GB Notification: Performance of SimCode: time 8.52e-07/2.487, allocations: 0 / 1.119 GB, free: 270 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04269/2.53, allocations: 10.54 MB / 1.129 GB, free: 269.3 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003782/2.531, allocations: 155.7 kB / 1.129 GB, free: 269.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.237/5.767, allocations: 0 / 1.129 GB, free: 269.1 MB / 0.823 GB