Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel") translateModel(Annex60.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007414/0.007414, allocations: 102 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001245, allocations: 195 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4191/0.4191, allocations: 54.94 MB / 324.8 MB, free: 15.96 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 70.78 kB / 456.2 MB, free: 38.13 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1536, allocations: 59.59 MB / 0.5037 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Storage.Examples.ExpansionVessel): time 0.01407/0.1677, allocations: 14.3 MB / 0.5177 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005619/0.1734, allocations: 3.503 MB / 0.5211 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007093/0.1741, allocations: 19.88 kB / 0.5211 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007804/0.175, allocations: 206.7 kB / 0.5213 GB, free: 8.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.1766, allocations: 0.5947 MB / 0.5219 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008949/0.1775, allocations: 345.9 kB / 0.5222 GB, free: 8.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.1788, allocations: 1.017 MB / 0.5232 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.1792, allocations: 291.3 kB / 0.5235 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.1803, allocations: 374.6 kB / 0.5238 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.1806, allocations: 294.7 kB / 0.5241 GB, free: 6.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.1807, allocations: 28 kB / 0.5241 GB, free: 6.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005975/0.1813, allocations: 279.5 kB / 0.5244 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1814, allocations: 91.67 kB / 0.5245 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.1816, allocations: 191.1 kB / 0.5247 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007952/0.1824, allocations: 0.5686 MB / 0.5252 GB, free: 4.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.1825, allocations: 0 / 0.5252 GB, free: 4.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1825, allocations: 7.938 kB / 0.5252 GB, free: 4.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1825, allocations: 0 / 0.5252 GB, free: 4.895 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001173/0.1837, allocations: 0.7188 MB / 0.5259 GB, free: 4.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1837, allocations: 12.03 kB / 0.526 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.1839, allocations: 48.45 kB / 0.526 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006483/0.1846, allocations: 402.9 kB / 0.5264 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.1846, allocations: 24.56 kB / 0.5264 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/0.1847, allocations: 27.94 kB / 0.5264 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.1852, allocations: 294.9 kB / 0.5267 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1853, allocations: 3.938 kB / 0.5267 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.1853, allocations: 8 kB / 0.5267 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.1853, allocations: 12 kB / 0.5267 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004268/0.1858, allocations: 185.6 kB / 0.5269 GB, free: 3.059 MB / 398.1 MB 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.001593/0.1874, allocations: 1.422 MB / 0.5283 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.1878, allocations: 186.4 kB / 0.5285 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.188, allocations: 88.81 kB / 0.5286 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.189, allocations: 0.7677 MB / 0.5293 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/0.1893, allocations: 130.4 kB / 0.5294 GB, free: 252 kB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.824e-06/0.1894, allocations: 0 / 0.5294 GB, free: 252 kB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006099/0.19, allocations: 229.2 kB / 0.5297 GB, free: 16 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.1901, allocations: 55.41 kB / 0.5297 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.1904, allocations: 333.7 kB / 0.53 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.1904, allocations: 37.7 kB / 0.5301 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.1906, allocations: 211.7 kB / 0.5303 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.1907, allocations: 51.28 kB / 0.5303 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.1908, allocations: 53.84 kB / 0.5304 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1909, allocations: 342.8 kB / 0.5307 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.1911, allocations: 68.19 kB / 0.5308 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.1913, allocations: 146.4 kB / 0.5309 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.1917, allocations: 250.3 kB / 0.5311 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1917, allocations: 0 / 0.5311 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000562/0.1923, allocations: 306.5 kB / 0.5314 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.1923, allocations: 33.7 kB / 0.5315 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1923, allocations: 8.25 kB / 0.5315 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.1924, allocations: 8 kB / 0.5315 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.1926, allocations: 51.91 kB / 0.5315 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.1926, allocations: 4 kB / 0.5315 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.1928, allocations: 31.73 kB / 0.5316 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.1928, allocations: 12 kB / 0.5316 GB, free: 13.92 MB / 414.1 MB 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 (28): * Single equations (assignments): 27 * 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.000167/0.193, allocations: 161.6 kB / 0.5317 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.1931, allocations: 35.56 kB / 0.5318 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004397/0.1935, allocations: 196.5 kB / 0.5319 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1935, allocations: 0 / 0.5319 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1935, allocations: 0 / 0.5319 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004781/0.194, allocations: 486.6 kB / 0.5324 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.1945, allocations: 368 kB / 0.5328 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.1945, allocations: 4 kB / 0.5328 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.1947, allocations: 43.89 kB / 0.5328 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1947, allocations: 3.984 kB / 0.5328 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.1947, allocations: 4 kB / 0.5328 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1947, allocations: 0 / 0.5328 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1947, allocations: 0 / 0.5328 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005953/0.1953, allocations: 293.4 kB / 0.5331 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.1954, allocations: 120.7 kB / 0.5332 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.1955, allocations: 7.984 kB / 0.5332 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.1957, allocations: 11.98 kB / 0.5332 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/0.1958, allocations: 15.98 kB / 0.5332 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.1958, allocations: 15.98 kB / 0.5333 GB, free: 11.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002636/0.1961, allocations: 243.1 kB / 0.5335 GB, free: 11.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1961, allocations: 0 / 0.5335 GB, free: 11.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004625/0.1965, allocations: 123.8 kB / 0.5336 GB, free: 11.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004141/0.197, allocations: 199.2 kB / 0.5338 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005167/0.1975, allocations: 225.4 kB / 0.534 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1975, allocations: 0.625 kB / 0.534 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.1977, allocations: 75.91 kB / 0.5341 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00089/0.1986, allocations: 210.8 kB / 0.5343 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.2002, allocations: 0.7355 MB / 0.535 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.2006, allocations: 0.7833 MB / 0.5358 GB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002731/0.2009, allocations: 55.27 kB / 0.5358 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.201, allocations: 39.42 kB / 0.5359 GB, free: 9.254 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.201, allocations: 0 / 0.5359 GB, free: 9.254 MB / 414.1 MB Notification: Performance of Templates: time 0.01486/0.2159, allocations: 7.025 MB / 0.5427 GB, free: 2.285 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.sim & ./Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)