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 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: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009224/0.009228, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001156/0.001155, allocations: 184.1 kB / 15.94 MB, free: 5.926 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 1.907/1.907, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.186/2.186, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004655, allocations: 8 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5469/0.5474, allocations: 98.72 MB / 0.6833 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9344/1.482, allocations: 379.3 MB / 1.054 GB, free: 71.98 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/1.482, allocations: 90.95 kB / 1.054 GB, free: 71.93 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.3384/1.821, allocations: 100.3 MB / 1.152 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.625e-06/1.821, allocations: 0 / 1.152 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.885e-05/1.821, allocations: 8 kB / 1.152 GB, free: 14.5 MB / 0.7605 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.001554/1.822, allocations: 0.7119 MB / 1.153 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/1.822, allocations: 8.031 kB / 1.153 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/1.823, allocations: 59.39 kB / 1.153 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02061/1.843, allocations: 6.44 MB / 1.159 GB, free: 7.113 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/1.843, allocations: 20.56 kB / 1.159 GB, free: 7.094 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.497e-05/1.843, allocations: 28 kB / 1.159 GB, free: 7.066 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000791/1.844, allocations: 302.2 kB / 1.159 GB, free: 6.75 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/1.844, allocations: 0 / 1.159 GB, free: 6.75 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/1.844, allocations: 15.98 kB / 1.159 GB, free: 6.734 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/1.844, allocations: 12 kB / 1.159 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/1.845, allocations: 202 kB / 1.159 GB, free: 6.523 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/1.848, allocations: 1.477 MB / 1.161 GB, free: 4.914 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/1.848, allocations: 166.6 kB / 1.161 GB, free: 4.742 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/1.848, allocations: 89.09 kB / 1.161 GB, free: 4.637 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000374/1.849, allocations: 131.2 kB / 1.161 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 3.811e-06/1.849, allocations: 0 / 1.161 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0008887/1.85, allocations: 249.1 kB / 1.161 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/1.85, allocations: 59.34 kB / 1.162 GB, free: 4.176 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000534/1.85, allocations: 312.8 kB / 1.162 GB, free: 3.867 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/1.85, allocations: 33.7 kB / 1.162 GB, free: 3.828 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/1.851, allocations: 211.8 kB / 1.162 GB, free: 3.617 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.988e-05/1.851, allocations: 59.19 kB / 1.162 GB, free: 3.559 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/1.851, allocations: 4 kB / 1.162 GB, free: 3.555 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001994/1.851, allocations: 346.8 kB / 1.162 GB, free: 3.207 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/1.851, allocations: 71.95 kB / 1.163 GB, free: 3.137 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/1.852, allocations: 156.1 kB / 1.163 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/1.852, allocations: 119.6 kB / 1.163 GB, free: 2.832 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.803e-06/1.852, allocations: 0 / 1.163 GB, free: 2.832 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009147/1.853, allocations: 314.8 kB / 1.163 GB, free: 2.512 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.224e-05/1.853, allocations: 41.62 kB / 1.163 GB, free: 2.465 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.853, allocations: 7.938 kB / 1.163 GB, free: 2.457 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/1.853, allocations: 7.953 kB / 1.163 GB, free: 2.449 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/1.853, allocations: 55.97 kB / 1.163 GB, free: 2.395 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/1.853, allocations: 12.12 kB / 1.163 GB, free: 2.383 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/1.854, allocations: 43.67 kB / 1.163 GB, free: 2.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/1.854, allocations: 12 kB / 1.163 GB, free: 2.328 MB / 0.7605 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.0002915/1.854, allocations: 157.8 kB / 1.163 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/1.854, allocations: 31.62 kB / 1.163 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006828/1.855, allocations: 210.7 kB / 1.164 GB, free: 1.922 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.275e-06/1.855, allocations: 0 / 1.164 GB, free: 1.922 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.952e-06/1.855, allocations: 3.953 kB / 1.164 GB, free: 1.918 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006944/1.856, allocations: 499.7 kB / 1.164 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007272/1.857, allocations: 353.3 kB / 1.164 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.857, allocations: 3.984 kB / 1.164 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/1.857, allocations: 27.98 kB / 1.165 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.454e-06/1.857, allocations: 0 / 1.165 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/1.857, allocations: 8 kB / 1.165 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.739e-06/1.857, allocations: 0 / 1.165 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/1.857, allocations: 4 kB / 1.165 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000912/1.858, allocations: 303 kB / 1.165 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/1.858, allocations: 128.8 kB / 1.165 GB, free: 460 kB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.159e-05/1.858, allocations: 7.984 kB / 1.165 GB, free: 452 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/1.858, allocations: 19.89 kB / 1.165 GB, free: 432 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-05/1.859, allocations: 19.97 kB / 1.165 GB, free: 412 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/1.859, allocations: 4 kB / 1.165 GB, free: 408 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004147/1.859, allocations: 251.1 kB / 1.165 GB, free: 160 kB / 0.7605 GB Notification: Performance of sort global known variables: time 7.41e-07/1.859, allocations: 4 kB / 1.165 GB, free: 156 kB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006816/1.86, allocations: 136 kB / 1.165 GB, free: 20 kB / 0.7605 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.0005186/1.86, allocations: 239.8 kB / 1.166 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007258/1.861, allocations: 245.7 kB / 1.166 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.861, allocations: 0 / 1.166 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/1.861, allocations: 75.95 kB / 1.166 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/1.862, allocations: 189.5 kB / 1.166 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/1.865, allocations: 0.952 MB / 1.167 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/1.865, allocations: 0.7962 MB / 1.168 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004468/1.866, allocations: 67.11 kB / 1.168 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/1.866, allocations: 31.42 kB / 1.168 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of SimCode: time 1.822e-06/1.866, allocations: 0 / 1.168 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of Templates: time 0.01926/1.885, allocations: 6.955 MB / 1.175 GB, free: 6.523 MB / 0.7761 GB