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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005383/0.005383, allocations: 101.8 kB / 15.73 MB, free: 5.551 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.001352/0.001352, allocations: 194.8 kB / 16.67 MB, free: 5.477 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.8835/0.8835, allocations: 143.3 MB / 433.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 60.95 kB / 0.5953 GB, free: 12.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.148, allocations: 82.04 MB / 0.6754 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01699/0.165, allocations: 14.44 MB / 0.6895 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005692/0.1708, allocations: 3.64 MB / 0.693 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004815/0.1713, allocations: 19.88 kB / 0.6931 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006495/0.1719, allocations: 202.7 kB / 0.6933 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.1734, allocations: 0.5893 MB / 0.6938 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009175/0.1743, allocations: 397.7 kB / 0.6942 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001422/0.1757, allocations: 1.083 MB / 0.6953 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005451/0.1763, allocations: 304.9 kB / 0.6956 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.1774, allocations: 397.3 kB / 0.6959 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.1778, allocations: 306.6 kB / 0.6962 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.452e-05/0.1779, allocations: 32 kB / 0.6963 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005763/0.1785, allocations: 263.5 kB / 0.6965 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.1786, allocations: 95.62 kB / 0.6966 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.1789, allocations: 207 kB / 0.6968 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008814/0.1798, allocations: 0.6227 MB / 0.6974 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1798, allocations: 0 / 0.6974 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.644e-06/0.1798, allocations: 0 / 0.6974 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.1798, allocations: 0 / 0.6974 GB, free: 4.02 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.001224/0.181, allocations: 0.7569 MB / 0.6982 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1811, allocations: 8.031 kB / 0.6982 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.606e-05/0.1812, allocations: 70.66 kB / 0.6982 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.1813, allocations: 48.66 kB / 0.6983 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007485/0.1821, allocations: 475.9 kB / 0.6987 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.1821, allocations: 24.69 kB / 0.6988 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.1822, allocations: 24 kB / 0.6988 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006159/0.1828, allocations: 314.2 kB / 0.6991 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1829, allocations: 0 / 0.6991 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.1829, allocations: 12 kB / 0.6991 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.1829, allocations: 8 kB / 0.6991 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004867/0.1834, allocations: 194.1 kB / 0.6993 GB, free: 1.984 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.001893/0.1853, allocations: 1.482 MB / 0.7007 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.1858, allocations: 158.6 kB / 0.7009 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.186, allocations: 68.81 kB / 0.7009 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.1862, allocations: 93.05 kB / 0.701 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003291/0.1865, allocations: 130.4 kB / 0.7012 GB, free: 15.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.1865, allocations: 0 / 0.7012 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006809/0.1872, allocations: 237.2 kB / 0.7014 GB, free: 15.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.1873, allocations: 59.41 kB / 0.7014 GB, free: 15.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/0.1877, allocations: 349.6 kB / 0.7018 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.1877, allocations: 33.7 kB / 0.7018 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.1879, allocations: 212.1 kB / 0.702 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.1879, allocations: 55.53 kB / 0.7021 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.593e-05/0.188, allocations: 57.66 kB / 0.7021 GB, free: 14.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1882, allocations: 342.8 kB / 0.7024 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.1884, allocations: 71.95 kB / 0.7025 GB, free: 14.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.1887, allocations: 150.1 kB / 0.7027 GB, free: 14.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/0.1892, allocations: 250.9 kB / 0.7029 GB, free: 13.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1892, allocations: 0 / 0.7029 GB, free: 13.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006247/0.1898, allocations: 309.4 kB / 0.7032 GB, free: 13.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.1898, allocations: 33.7 kB / 0.7032 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.1899, allocations: 4 kB / 0.7032 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1899, allocations: 15.86 kB / 0.7032 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.1901, allocations: 47.97 kB / 0.7033 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.1901, allocations: 7.938 kB / 0.7033 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.1904, allocations: 31.83 kB / 0.7033 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.1904, allocations: 16 kB / 0.7033 GB, free: 13.52 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.0001855/0.1906, allocations: 166.4 kB / 0.7035 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.1907, allocations: 39.75 kB / 0.7035 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004813/0.1912, allocations: 188.5 kB / 0.7037 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1912, allocations: 7.938 kB / 0.7037 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1912, allocations: 0 / 0.7037 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006245/0.1918, allocations: 485.9 kB / 0.7042 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.1923, allocations: 357.4 kB / 0.7045 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1923, allocations: 0 / 0.7045 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.1925, allocations: 27.98 kB / 0.7046 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.1925, allocations: 0 / 0.7046 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.1926, allocations: 8 kB / 0.7046 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.1926, allocations: 7.922 kB / 0.7046 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1926, allocations: 0 / 0.7046 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006619/0.1932, allocations: 288.7 kB / 0.7048 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.1934, allocations: 124.9 kB / 0.705 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.1934, allocations: 4 kB / 0.705 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.1937, allocations: 27.84 kB / 0.705 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.1938, allocations: 11.98 kB / 0.705 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.1938, allocations: 11.98 kB / 0.705 GB, free: 11.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002761/0.1941, allocations: 247.2 kB / 0.7053 GB, free: 11.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1941, allocations: 4 kB / 0.7053 GB, free: 11.37 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004276/0.1945, allocations: 127.7 kB / 0.7054 GB, free: 11.24 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.001219/0.1957, allocations: 0.9225 MB / 0.7063 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000542/0.1963, allocations: 231.1 kB / 0.7065 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1963, allocations: 0 / 0.7065 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.1965, allocations: 68.53 kB / 0.7066 GB, free: 9.984 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009751/0.1975, allocations: 214.5 kB / 0.7068 GB, free: 9.785 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004399/0.2019, allocations: 3.067 MB / 0.7098 GB, free: 6.582 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.2023, allocations: 0.7879 MB / 0.7105 GB, free: 5.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002519/0.2026, allocations: 71.17 kB / 0.7106 GB, free: 5.699 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.2028, allocations: 119.4 kB / 0.7107 GB, free: 5.582 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.2028, allocations: 0 / 0.7107 GB, free: 5.582 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0353/0.2381, allocations: 10.3 MB / 0.7208 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.444/8.683, allocations: 11.91 kB / 0.7208 GB, free: 11.48 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)