Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.455/2.455, allocations: 287.9 MB / 302.9 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.00143, allocations: 184.9 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 92.83 kB / 0.7434 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004577, allocations: 11 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1564, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.0149/0.1714, allocations: 12.12 MB / 0.9906 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00471/0.1761, allocations: 3.14 MB / 0.9936 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005197/0.1767, allocations: 15.88 kB / 0.9937 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006473/0.1774, allocations: 199 kB / 0.9939 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.179, allocations: 0.5687 MB / 0.9944 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.1805, allocations: 466.6 kB / 0.9949 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.1816, allocations: 0.64 MB / 0.9955 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003772/0.182, allocations: 230.4 kB / 0.9957 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003954/0.1824, allocations: 275 kB / 0.996 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.1827, allocations: 195.1 kB / 0.9961 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.1827, allocations: 12 kB / 0.9962 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005599/0.1833, allocations: 167.8 kB / 0.9963 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.296e-05/0.1834, allocations: 75.67 kB / 0.9964 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.38e-05/0.1835, allocations: 93.52 kB / 0.9965 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.184, allocations: 430.8 kB / 0.9969 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.682e-06/0.1841, allocations: 4 kB / 0.9969 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.017e-06/0.1841, allocations: 0 / 0.9969 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.3e-06/0.1841, allocations: 0 / 0.9969 GB, free: 9.547 MB / 0.6198 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.0009891/0.1851, allocations: 0.6639 MB / 0.9975 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1851, allocations: 12.02 kB / 0.9976 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.1853, allocations: 51.52 kB / 0.9976 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006401/0.186, allocations: 425.9 kB / 0.998 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.186, allocations: 20.56 kB / 0.998 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.1861, allocations: 27.94 kB / 0.9981 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.1868, allocations: 314.2 kB / 0.9984 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.1868, allocations: 0 / 0.9984 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.1869, allocations: 12 kB / 0.9984 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.1869, allocations: 8 kB / 0.9984 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005655/0.1875, allocations: 202.1 kB / 0.9986 GB, free: 7.719 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.1894, allocations: 1.508 MB / 1 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.1899, allocations: 166.6 kB / 1 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.1901, allocations: 89.09 kB / 1 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003368/0.1905, allocations: 135.3 kB / 1 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.62e-06/0.1905, allocations: 3.938 kB / 1 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0007198/0.1912, allocations: 243.9 kB / 1.001 GB, free: 5.414 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.1913, allocations: 55.41 kB / 1.001 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/0.1917, allocations: 353.6 kB / 1.001 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.1917, allocations: 33.7 kB / 1.001 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.1919, allocations: 207.7 kB / 1.001 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.1919, allocations: 59.27 kB / 1.001 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.519e-05/0.1919, allocations: 4 kB / 1.001 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.192, allocations: 350.8 kB / 1.002 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.1923, allocations: 67.95 kB / 1.002 GB, free: 4.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.1926, allocations: 169.8 kB / 1.002 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.1929, allocations: 123.2 kB / 1.002 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.461e-06/0.1929, allocations: 0 / 1.002 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007126/0.1936, allocations: 322.8 kB / 1.002 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.1936, allocations: 29.7 kB / 1.002 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1937, allocations: 4 kB / 1.002 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1937, allocations: 4 kB / 1.002 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.194, allocations: 63.89 kB / 1.002 GB, free: 3.512 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.194, allocations: 4.188 kB / 1.002 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.1944, allocations: 47.67 kB / 1.002 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.1944, allocations: 12 kB / 1.002 GB, free: 3.449 MB / 0.6198 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.000186/0.1946, allocations: 162.6 kB / 1.003 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.1947, allocations: 31.62 kB / 1.003 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005373/0.1952, allocations: 208.4 kB / 1.003 GB, free: 3.039 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.808e-06/0.1952, allocations: 7.938 kB / 1.003 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.815e-06/0.1953, allocations: 0 / 1.003 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004774/0.1957, allocations: 491.8 kB / 1.003 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.1962, allocations: 361.2 kB / 1.004 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1962, allocations: 0 / 1.004 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.1965, allocations: 35.92 kB / 1.004 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.77e-06/0.1965, allocations: 0 / 1.004 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.1965, allocations: 4 kB / 1.004 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.086e-06/0.1965, allocations: 4 kB / 1.004 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.989e-06/0.1965, allocations: 4 kB / 1.004 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007573/0.1973, allocations: 301.8 kB / 1.004 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.1975, allocations: 128.7 kB / 1.004 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.1975, allocations: 4 kB / 1.004 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.1978, allocations: 23.97 kB / 1.004 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.1979, allocations: 19.97 kB / 1.004 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.198, allocations: 4 kB / 1.004 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00029/0.1983, allocations: 251.2 kB / 1.004 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.22e-07/0.1983, allocations: 4 kB / 1.004 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005262/0.1988, allocations: 127.9 kB / 1.005 GB, free: 1.133 MB / 0.6198 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.0002891/0.1991, allocations: 199 kB / 1.005 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005667/0.1997, allocations: 239.5 kB / 1.005 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.403e-06/0.1997, allocations: 0 / 1.005 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.1999, allocations: 75.89 kB / 1.005 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009992/0.201, allocations: 199.5 kB / 1.005 GB, free: 428 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.2027, allocations: 0.9465 MB / 1.006 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.2032, allocations: 0.7962 MB / 1.007 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003898/0.2036, allocations: 67.19 kB / 1.007 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2038, allocations: 35.42 kB / 1.007 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of SimCode: time 1.953e-06/0.2038, allocations: 0 / 1.007 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of Templates: time 0.01761/0.2214, allocations: 6.727 MB / 1.014 GB, free: 7.887 MB / 0.6355 GB