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.005275/0.005275, allocations: 101 kB / 15.73 MB, free: 6.059 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.001246, allocations: 194.3 kB / 16.67 MB, free: 5.969 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.375/1.375, 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.8773/0.8773, allocations: 143.3 MB / 433.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 68.14 kB / 0.5953 GB, free: 12.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1474, allocations: 82.04 MB / 0.6754 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.0154/0.1629, allocations: 14.44 MB / 0.6895 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005239/0.1681, allocations: 3.632 MB / 0.693 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004179/0.1686, allocations: 19.88 kB / 0.6931 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005777/0.1692, allocations: 210.7 kB / 0.6933 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.1705, allocations: 0.583 MB / 0.6938 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008724/0.1714, allocations: 398.2 kB / 0.6942 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.1727, allocations: 1.088 MB / 0.6953 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000412/0.1731, allocations: 312.9 kB / 0.6956 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009012/0.174, allocations: 389.4 kB / 0.6959 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.1744, allocations: 302.7 kB / 0.6962 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.827e-05/0.1745, allocations: 32 kB / 0.6963 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005263/0.175, allocations: 263.5 kB / 0.6965 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.1751, allocations: 103.6 kB / 0.6966 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.1754, allocations: 207 kB / 0.6968 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008206/0.1762, allocations: 0.6188 MB / 0.6974 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1762, allocations: 0 / 0.6974 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1762, allocations: 0 / 0.6974 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.1762, allocations: 0 / 0.6974 GB, free: 4.012 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.001131/0.1774, allocations: 0.7647 MB / 0.6982 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1774, allocations: 8.031 kB / 0.6982 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.479e-05/0.1775, allocations: 62.73 kB / 0.6982 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.1776, allocations: 52.64 kB / 0.6983 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006992/0.1784, allocations: 467.9 kB / 0.6987 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.1784, allocations: 28.67 kB / 0.6988 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/0.1784, allocations: 27.98 kB / 0.6988 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.179, allocations: 310.2 kB / 0.6991 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.179, allocations: 0 / 0.6991 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.1791, allocations: 12 kB / 0.6991 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.1791, allocations: 11.98 kB / 0.6991 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.1796, allocations: 194.1 kB / 0.6993 GB, free: 1.973 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.001751/0.1813, allocations: 1.482 MB / 0.7007 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.1818, allocations: 154.6 kB / 0.7009 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.182, allocations: 78.88 kB / 0.701 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.1821, allocations: 89.09 kB / 0.701 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.1824, allocations: 126.2 kB / 0.7012 GB, free: 15.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.1824, allocations: 0 / 0.7012 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006261/0.1831, allocations: 237.2 kB / 0.7014 GB, free: 15.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1831, allocations: 63.39 kB / 0.7014 GB, free: 15.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.1835, allocations: 349.6 kB / 0.7018 GB, free: 15.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.1836, allocations: 33.69 kB / 0.7018 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.1837, allocations: 208.1 kB / 0.702 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.1838, allocations: 59.52 kB / 0.7021 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.134e-05/0.1839, allocations: 57.66 kB / 0.7021 GB, free: 14.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1841, allocations: 338.8 kB / 0.7024 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.1843, allocations: 75.94 kB / 0.7025 GB, free: 14.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.1846, allocations: 150.1 kB / 0.7027 GB, free: 14.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.185, allocations: 246.9 kB / 0.7029 GB, free: 13.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.185, allocations: 0 / 0.7029 GB, free: 13.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006757/0.1857, allocations: 313.3 kB / 0.7032 GB, free: 13.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.1857, allocations: 33.7 kB / 0.7032 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1858, allocations: 4 kB / 0.7032 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.1858, allocations: 7.938 kB / 0.7032 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.186, allocations: 51.91 kB / 0.7033 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.186, allocations: 7.938 kB / 0.7033 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.1863, allocations: 35.83 kB / 0.7033 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.1864, allocations: 16 kB / 0.7033 GB, free: 13.5 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.000201/0.1866, allocations: 166.5 kB / 0.7035 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.1866, allocations: 35.77 kB / 0.7035 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004768/0.1871, allocations: 188.5 kB / 0.7037 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1871, allocations: 7.938 kB / 0.7037 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1872, allocations: 0 / 0.7037 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005302/0.1877, allocations: 490.1 kB / 0.7042 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.1882, allocations: 353.4 kB / 0.7045 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1882, allocations: 0 / 0.7045 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.1883, allocations: 31.97 kB / 0.7046 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1883, allocations: 4 kB / 0.7046 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.1884, allocations: 4 kB / 0.7046 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1884, allocations: 3.938 kB / 0.7046 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1884, allocations: 0 / 0.7046 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006276/0.189, allocations: 288.7 kB / 0.7048 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.1892, allocations: 124.9 kB / 0.705 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.1892, allocations: 7.938 kB / 0.705 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.1895, allocations: 19.92 kB / 0.705 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.1895, allocations: 19.97 kB / 0.705 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.1896, allocations: 4 kB / 0.705 GB, free: 11.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002628/0.1898, allocations: 251.2 kB / 0.7053 GB, free: 11.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1898, allocations: 0 / 0.7053 GB, free: 11.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004255/0.1903, allocations: 127.6 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.00116/0.1914, allocations: 0.9225 MB / 0.7063 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005036/0.1919, allocations: 227.1 kB / 0.7065 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.192, allocations: 0 / 0.7065 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.1921, allocations: 72.52 kB / 0.7066 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009322/0.1931, allocations: 220.4 kB / 0.7068 GB, free: 9.773 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.1975, allocations: 3.065 MB / 0.7098 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.1979, allocations: 0.7879 MB / 0.7105 GB, free: 5.758 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000275/0.1982, allocations: 63.25 kB / 0.7106 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.1984, allocations: 123.4 kB / 0.7107 GB, free: 5.574 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.1984, allocations: 0 / 0.7107 GB, free: 5.574 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4532/0.6516, allocations: 10.3 MB / 0.7208 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.4, allocations: 17.61 kB / 0.7208 GB, free: 11.47 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)