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.294/2.294, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001585, allocations: 184.1 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.437/2.437, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.001219/0.001218, allocations: 97.69 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006444/0.0006445, allocations: 14.19 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2334, allocations: 106.3 MB / 0.8988 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.252/1.486, allocations: 387.3 MB / 1.277 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/1.486, allocations: 94.72 kB / 1.277 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.3655/1.852, allocations: 101.2 MB / 1.376 GB, free: 5.711 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.956e-06/1.852, allocations: 0 / 1.376 GB, free: 5.711 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.505e-05/1.852, allocations: 12 kB / 1.376 GB, free: 5.699 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.001788/1.854, allocations: 0.7158 MB / 1.377 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.854, allocations: 8.031 kB / 1.377 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/1.854, allocations: 70.47 kB / 1.377 GB, free: 4.836 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002948/1.854, allocations: 51.39 kB / 1.377 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02276/1.877, allocations: 6.539 MB / 1.383 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/1.877, allocations: 20.56 kB / 1.383 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-05/1.877, allocations: 27.94 kB / 1.383 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009579/1.878, allocations: 306.2 kB / 1.384 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/1.878, allocations: 4 kB / 1.384 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/1.878, allocations: 8 kB / 1.384 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/1.878, allocations: 11.95 kB / 1.384 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008089/1.879, allocations: 202.1 kB / 1.384 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002937/1.882, allocations: 1.489 MB / 1.385 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007225/1.883, allocations: 162.6 kB / 1.385 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/1.883, allocations: 89.09 kB / 1.385 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004507/1.883, allocations: 131.2 kB / 1.386 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 2.916e-06/1.884, allocations: 0 / 1.386 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.00109/1.885, allocations: 254.7 kB / 1.386 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/1.885, allocations: 55.41 kB / 1.386 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005844/1.885, allocations: 304.8 kB / 1.386 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.227e-05/1.885, allocations: 37.69 kB / 1.386 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/1.886, allocations: 211.8 kB / 1.386 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.016e-05/1.886, allocations: 55.33 kB / 1.386 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/1.886, allocations: 4 kB / 1.386 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.886, allocations: 338.8 kB / 1.387 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/1.886, allocations: 75.95 kB / 1.387 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/1.887, allocations: 153.3 kB / 1.387 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/1.887, allocations: 122.1 kB / 1.387 GB, free: 9.863 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.887, allocations: 3.938 kB / 1.387 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001044/1.888, allocations: 320.3 kB / 1.387 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.224e-05/1.888, allocations: 39.22 kB / 1.387 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.888, allocations: 4 kB / 1.387 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/1.888, allocations: 7.938 kB / 1.388 GB, free: 9.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/1.889, allocations: 63.89 kB / 1.388 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/1.889, allocations: 4 kB / 1.388 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/1.889, allocations: 43.83 kB / 1.388 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/1.889, allocations: 12 kB / 1.388 GB, free: 9.359 MB / 0.8855 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 () * Number of clocked 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.0002981/1.89, allocations: 157.8 kB / 1.388 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/1.89, allocations: 31.62 kB / 1.388 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008193/1.891, allocations: 217.8 kB / 1.388 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.891, allocations: 0 / 1.388 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.891, allocations: 0 / 1.388 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007673/1.891, allocations: 499.7 kB / 1.388 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007654/1.892, allocations: 345.4 kB / 1.389 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.892, allocations: 4 kB / 1.389 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/1.892, allocations: 39.91 kB / 1.389 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.893, allocations: 0 / 1.389 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/1.893, allocations: 4 kB / 1.389 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/1.893, allocations: 3.953 kB / 1.389 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.893, allocations: 0 / 1.389 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/1.894, allocations: 298.7 kB / 1.389 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/1.894, allocations: 132.8 kB / 1.389 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.413e-05/1.894, allocations: 0 / 1.389 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/1.894, allocations: 31.81 kB / 1.389 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/1.895, allocations: 15.94 kB / 1.389 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.483e-05/1.895, allocations: 11.98 kB / 1.389 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004277/1.895, allocations: 247.1 kB / 1.39 GB, free: 7.184 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.31e-07/1.895, allocations: 0 / 1.39 GB, free: 7.184 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007079/1.896, allocations: 140 kB / 1.39 GB, free: 7.047 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001834/1.898, allocations: 0.9716 MB / 1.391 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008722/1.899, allocations: 246.1 kB / 1.391 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.899, allocations: 0 / 1.391 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003193/1.899, allocations: 71.91 kB / 1.391 GB, free: 5.727 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/1.901, allocations: 197.2 kB / 1.391 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006306/1.907, allocations: 3.648 MB / 1.395 GB, free: 1.785 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/1.907, allocations: 0.804 MB / 1.395 GB, free: 0.957 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005148/1.908, allocations: 71.12 kB / 1.396 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/1.908, allocations: 111.4 kB / 1.396 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of SimCode: time 1.152e-06/1.908, allocations: 0 / 1.396 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6317/2.54, allocations: 10.62 MB / 1.406 GB, free: 294.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/2.54, allocations: 178 kB / 1.406 GB, free: 294.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/5.433, allocations: 0 / 1.406 GB, free: 294.3 MB / 0.8855 GB