Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.00579/0.00579, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001303/0.001303, allocations: 192.2 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8591/0.8591, allocations: 143.1 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.34 kB / 0.5955 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1536, allocations: 82.03 MB / 0.6756 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01424/0.1679, allocations: 14.44 MB / 0.6897 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005086/0.173, allocations: 3.644 MB / 0.6933 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005205/0.1735, allocations: 19.88 kB / 0.6933 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006154/0.1742, allocations: 202.7 kB / 0.6935 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.1757, allocations: 0.5869 MB / 0.6941 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000952/0.1767, allocations: 394.5 kB / 0.6944 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.178, allocations: 1.09 MB / 0.6955 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004687/0.1785, allocations: 317.3 kB / 0.6958 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009048/0.1794, allocations: 401.3 kB / 0.6962 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003803/0.1798, allocations: 306.6 kB / 0.6965 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.1798, allocations: 32 kB / 0.6965 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005208/0.1804, allocations: 255.5 kB / 0.6967 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1805, allocations: 103.6 kB / 0.6968 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.1807, allocations: 215 kB / 0.697 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007842/0.1815, allocations: 0.6114 MB / 0.6976 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1815, allocations: 0 / 0.6976 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1815, allocations: 0 / 0.6976 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.1815, allocations: 0 / 0.6976 GB, free: 3.746 MB / 0.5294 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.00116/0.1827, allocations: 0.7458 MB / 0.6984 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1827, allocations: 8.031 kB / 0.6984 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.1829, allocations: 48.41 kB / 0.6984 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006865/0.1836, allocations: 471.6 kB / 0.6989 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1836, allocations: 16.94 kB / 0.6989 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.1837, allocations: 35.92 kB / 0.6989 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.1843, allocations: 314.2 kB / 0.6992 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.1843, allocations: 3.938 kB / 0.6992 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.1843, allocations: 12 kB / 0.6992 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.1844, allocations: 4 kB / 0.6992 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004417/0.1848, allocations: 194.1 kB / 0.6994 GB, free: 1.801 MB / 0.5294 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.001692/0.1865, allocations: 1.481 MB / 0.7009 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.1869, allocations: 150.6 kB / 0.701 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.1871, allocations: 72.75 kB / 0.7011 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.1873, allocations: 89.11 kB / 0.7012 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.1876, allocations: 134.6 kB / 0.7013 GB, free: 15.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 3.627e-06/0.1876, allocations: 3.984 kB / 0.7013 GB, free: 15.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0005984/0.1882, allocations: 221.2 kB / 0.7015 GB, free: 15.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.1882, allocations: 63.28 kB / 0.7016 GB, free: 15.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.1886, allocations: 357.5 kB / 0.7019 GB, free: 15.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.1886, allocations: 33.7 kB / 0.702 GB, free: 15.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.1888, allocations: 215.8 kB / 0.7022 GB, free: 14.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.1889, allocations: 47.3 kB / 0.7022 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/0.1889, allocations: 57.59 kB / 0.7023 GB, free: 14.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1891, allocations: 342.8 kB / 0.7026 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.1893, allocations: 67.95 kB / 0.7027 GB, free: 14.28 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.1895, allocations: 149.4 kB / 0.7028 GB, free: 14.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.1899, allocations: 249 kB / 0.703 GB, free: 13.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1899, allocations: 0 / 0.703 GB, free: 13.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005565/0.1905, allocations: 320.7 kB / 0.7033 GB, free: 13.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.1905, allocations: 37.69 kB / 0.7034 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1905, allocations: 0 / 0.7034 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1906, allocations: 4 kB / 0.7034 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.1908, allocations: 63.84 kB / 0.7034 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1908, allocations: 7.938 kB / 0.7034 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.1911, allocations: 31.73 kB / 0.7035 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.1911, allocations: 8 kB / 0.7035 GB, free: 13.34 MB / 0.545 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.0001647/0.1913, allocations: 165.7 kB / 0.7036 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.1913, allocations: 31.62 kB / 0.7037 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004311/0.1918, allocations: 188.6 kB / 0.7039 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1918, allocations: 3.938 kB / 0.7039 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.1918, allocations: 4 kB / 0.7039 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004563/0.1922, allocations: 491.6 kB / 0.7043 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.1926, allocations: 357.3 kB / 0.7047 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1927, allocations: 0 / 0.7047 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.1928, allocations: 31.98 kB / 0.7047 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1928, allocations: 0 / 0.7047 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.1929, allocations: 3.984 kB / 0.7047 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.1929, allocations: 11.94 kB / 0.7047 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1929, allocations: 0 / 0.7047 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005724/0.1934, allocations: 284 kB / 0.705 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.1936, allocations: 124.7 kB / 0.7051 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.1936, allocations: 7.984 kB / 0.7051 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.1939, allocations: 15.92 kB / 0.7051 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.1939, allocations: 15.98 kB / 0.7051 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.194, allocations: 7.984 kB / 0.7051 GB, free: 11.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002371/0.1942, allocations: 251.2 kB / 0.7054 GB, free: 11.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1942, allocations: 4 kB / 0.7054 GB, free: 11.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003935/0.1946, allocations: 128 kB / 0.7055 GB, free: 11.07 MB / 0.545 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 (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.0003142/0.1949, allocations: 195 kB / 0.7057 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004837/0.1954, allocations: 227.6 kB / 0.7059 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1954, allocations: 0 / 0.7059 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.1956, allocations: 67.89 kB / 0.706 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008912/0.1965, allocations: 215.4 kB / 0.7062 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.1978, allocations: 0.7308 MB / 0.7069 GB, free: 9.613 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.1981, allocations: 0.7879 MB / 0.7077 GB, free: 8.801 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002107/0.1984, allocations: 63.19 kB / 0.7077 GB, free: 8.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.212e-05/0.1985, allocations: 43.36 kB / 0.7078 GB, free: 8.695 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.1985, allocations: 3.938 kB / 0.7078 GB, free: 8.691 MB / 0.545 GB Notification: Performance of Templates: time 0.01168/0.2101, allocations: 7.257 MB / 0.7149 GB, free: 1.543 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)