Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.167/2.167, allocations: 248.5 MB / 261.1 MB, free: 6.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001426/0.001426, allocations: 179.1 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.2 MB / 0.571 GB, free: 11.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 111.1 kB / 0.6754 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.492e-05, allocations: 0 / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2311, allocations: 106.3 MB / 0.8907 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.877/2.109, allocations: 387.3 MB / 1.269 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/2.109, allocations: 85.47 kB / 1.269 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3361/2.445, allocations: 100.9 MB / 1.368 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.964e-06/2.445, allocations: 0 / 1.368 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.226e-05/2.445, allocations: 11.81 kB / 1.368 GB, free: 227.3 MB / 0.8698 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.001385/2.446, allocations: 0.6647 MB / 1.368 GB, free: 226.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/2.447, allocations: 7.812 kB / 1.368 GB, free: 226.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.631e-05/2.447, allocations: 62.34 kB / 1.368 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/2.447, allocations: 50.92 kB / 1.368 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02013/2.467, allocations: 6.485 MB / 1.375 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.992e-05/2.467, allocations: 20.31 kB / 1.375 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.543e-05/2.467, allocations: 27.33 kB / 1.375 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/2.468, allocations: 284.7 kB / 1.375 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/2.468, allocations: 0 / 1.375 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/2.468, allocations: 11.22 kB / 1.375 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/2.468, allocations: 14.31 kB / 1.375 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/2.468, allocations: 159 kB / 1.375 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/2.471, allocations: 1.485 MB / 1.377 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/2.471, allocations: 126.5 kB / 1.377 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/2.472, allocations: 53.7 kB / 1.377 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/2.472, allocations: 87.5 kB / 1.377 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/2.472, allocations: 116.7 kB / 1.377 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 2.905e-06/2.472, allocations: 3.188 kB / 1.377 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0004521/2.472, allocations: 150.8 kB / 1.377 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/2.472, allocations: 51.41 kB / 1.377 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/2.473, allocations: 310.2 kB / 1.377 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/2.473, allocations: 33.58 kB / 1.377 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/2.473, allocations: 211.2 kB / 1.378 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.147e-05/2.473, allocations: 54.98 kB / 1.378 GB, free: 220 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/2.473, allocations: 4 kB / 1.378 GB, free: 220 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.54e-05/2.473, allocations: 342.6 kB / 1.378 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/2.474, allocations: 55.11 kB / 1.378 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/2.474, allocations: 131.5 kB / 1.378 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/2.474, allocations: 96.14 kB / 1.378 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/2.474, allocations: 7.672 kB / 1.378 GB, free: 219.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006232/2.475, allocations: 276.8 kB / 1.379 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/2.475, allocations: 37.16 kB / 1.379 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/2.475, allocations: 3.281 kB / 1.379 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/2.475, allocations: 3.188 kB / 1.379 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/2.475, allocations: 67.28 kB / 1.379 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/2.475, allocations: 7.5 kB / 1.379 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/2.476, allocations: 38.89 kB / 1.379 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/2.476, allocations: 10.59 kB / 1.379 GB, free: 219.2 MB / 0.8698 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.0001104/2.476, allocations: 120.7 kB / 1.379 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/2.476, allocations: 30.69 kB / 1.379 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/2.476, allocations: 172 kB / 1.379 GB, free: 219 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/2.476, allocations: 0 / 1.379 GB, free: 219 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/2.476, allocations: 7.984 kB / 1.379 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003466/2.477, allocations: 456.3 kB / 1.379 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/2.477, allocations: 353.5 kB / 1.38 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/2.477, allocations: 0 / 1.38 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/2.478, allocations: 38.66 kB / 1.38 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/2.478, allocations: 0 / 1.38 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/2.478, allocations: 0 / 1.38 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/2.478, allocations: 7.891 kB / 1.38 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/2.478, allocations: 0 / 1.38 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/2.478, allocations: 237.7 kB / 1.38 GB, free: 218 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/2.479, allocations: 136.4 kB / 1.38 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.105e-05/2.479, allocations: 1.094 kB / 1.38 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/2.479, allocations: 19.2 kB / 1.38 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-05/2.479, allocations: 19.8 kB / 1.38 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/2.479, allocations: 12.97 kB / 1.38 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003616/2.48, allocations: 247.8 kB / 1.381 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/2.48, allocations: 0 / 1.381 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006918/2.48, allocations: 138.4 kB / 1.381 GB, free: 217.6 MB / 0.8698 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.001089/2.481, allocations: 0.9051 MB / 1.382 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004552/2.482, allocations: 199.6 kB / 1.382 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/2.482, allocations: 3.938 kB / 1.382 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/2.482, allocations: 59.16 kB / 1.382 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/2.484, allocations: 201.6 kB / 1.382 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/2.486, allocations: 0.6383 MB / 1.383 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/2.486, allocations: 0.7941 MB / 1.383 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004437/2.486, allocations: 58.09 kB / 1.383 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/2.487, allocations: 115 kB / 1.384 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of SimCode: time 3.186e-06/2.487, allocations: 0 / 1.384 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04217/2.529, allocations: 10.69 MB / 1.394 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/2.529, allocations: 150.8 kB / 1.394 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/5.239, allocations: 4 kB / 1.394 GB, free: 205.9 MB / 0.8698 GB