Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009425/0.0009423, allocations: 177.3 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205 MB / 0.5767 GB, free: 21.01 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.0007341/0.0007342, allocations: 91.98 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.000389, allocations: 8.344 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1623, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.009927/0.1723, allocations: 14.08 MB / 0.9105 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003566/0.1759, allocations: 3.639 MB / 0.914 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.1762, allocations: 19.88 kB / 0.9141 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004687/0.1767, allocations: 167.1 kB / 0.9142 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009528/0.1776, allocations: 0.5444 MB / 0.9148 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006236/0.1783, allocations: 333.4 kB / 0.9151 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008776/0.1792, allocations: 1.434 MB / 0.9165 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.1794, allocations: 259.6 kB / 0.9167 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.1797, allocations: 310.7 kB / 0.917 GB, free: 47.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.18, allocations: 302.6 kB / 0.9173 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.18, allocations: 12 kB / 0.9173 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.1804, allocations: 239.4 kB / 0.9175 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.1805, allocations: 71.67 kB / 0.9176 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.1806, allocations: 187 kB / 0.9178 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004411/0.181, allocations: 0.5606 MB / 0.9183 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1811, allocations: 0 / 0.9183 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1811, allocations: 0 / 0.9183 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.1811, allocations: 0 / 0.9183 GB, free: 45.99 MB / 0.6042 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.0008024/0.1819, allocations: 0.6602 MB / 0.919 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1819, allocations: 8.031 kB / 0.919 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.1821, allocations: 52.38 kB / 0.919 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/0.1826, allocations: 471.2 kB / 0.9195 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.1826, allocations: 36.55 kB / 0.9195 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.1827, allocations: 28 kB / 0.9196 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.1831, allocations: 314.2 kB / 0.9199 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1832, allocations: 4 kB / 0.9199 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.1832, allocations: 12 kB / 0.9199 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.1832, allocations: 8 kB / 0.9199 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003849/0.1836, allocations: 202 kB / 0.9201 GB, free: 44.1 MB / 0.6042 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.001233/0.1848, allocations: 1.485 MB / 0.9215 GB, free: 42.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.1852, allocations: 162.6 kB / 0.9217 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.1854, allocations: 72.81 kB / 0.9217 GB, free: 42.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.1855, allocations: 89.09 kB / 0.9218 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.1858, allocations: 127.3 kB / 0.922 GB, free: 42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.674e-06/0.1858, allocations: 0 / 0.922 GB, free: 42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0005153/0.1863, allocations: 254.8 kB / 0.9222 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.728e-05/0.1863, allocations: 59.39 kB / 0.9223 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.1866, allocations: 329.7 kB / 0.9226 GB, free: 41.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1866, allocations: 29.7 kB / 0.9226 GB, free: 41.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.1867, allocations: 215.7 kB / 0.9228 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.1867, allocations: 55.25 kB / 0.9229 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.1868, allocations: 33.7 kB / 0.9229 GB, free: 41.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.041e-05/0.1868, allocations: 338.8 kB / 0.9232 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.187, allocations: 75.94 kB / 0.9233 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.1872, allocations: 153.3 kB / 0.9234 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.1875, allocations: 253.4 kB / 0.9237 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1875, allocations: 4 kB / 0.9237 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004691/0.188, allocations: 326.6 kB / 0.924 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.188, allocations: 29.7 kB / 0.924 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.188, allocations: 4.312 kB / 0.924 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1881, allocations: 8 kB / 0.924 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.1883, allocations: 67.78 kB / 0.9241 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1883, allocations: 4 kB / 0.9241 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.1885, allocations: 43.66 kB / 0.9241 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.1886, allocations: 15.98 kB / 0.9241 GB, free: 39.61 MB / 0.6042 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.1887, allocations: 157.8 kB / 0.9243 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.1887, allocations: 31.62 kB / 0.9243 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003833/0.1891, allocations: 209.6 kB / 0.9245 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000346/0.1895, allocations: 0.4957 MB / 0.925 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1895, allocations: 0 / 0.925 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.451e-05/0.1896, allocations: 120.7 kB / 0.9251 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.1896, allocations: 0 / 0.9251 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.1898, allocations: 27.97 kB / 0.9252 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.1899, allocations: 11.98 kB / 0.9252 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004641/0.1904, allocations: 283.5 kB / 0.9254 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005171/0.1909, allocations: 454.2 kB / 0.9259 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001472/0.1911, allocations: 75.98 kB / 0.9259 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001562/0.1912, allocations: 235.2 kB / 0.9262 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of Backend: time 3.5e-07/0.1912, allocations: 0 / 0.9262 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007293/0.192, allocations: 367.6 kB / 0.9265 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of SimCode: time 0.00148/0.1935, allocations: 1.442 MB / 0.9279 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.008705/0.2022, allocations: 6.819 MB / 0.9346 GB, free: 28.79 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)