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.001386/0.001386, allocations: 111.4 kB / 16.37 MB, free: 6.344 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.001527/0.001527, allocations: 192.6 kB / 17.3 MB, free: 5.898 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.18 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.9745/0.9745, allocations: 143.1 MB / 434.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 60.5 kB / 0.5961 GB, free: 12.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1492, allocations: 82.04 MB / 0.6762 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01455/0.1638, allocations: 14.44 MB / 0.6903 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005101/0.169, allocations: 3.64 MB / 0.6939 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005716/0.1696, allocations: 19.88 kB / 0.6939 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006543/0.1703, allocations: 206.7 kB / 0.6941 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.1719, allocations: 0.5752 MB / 0.6947 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009603/0.1729, allocations: 409.1 kB / 0.6951 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.1742, allocations: 1.091 MB / 0.6961 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004488/0.1747, allocations: 321.2 kB / 0.6964 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.1757, allocations: 381 kB / 0.6968 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003907/0.1761, allocations: 302.7 kB / 0.6971 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.024e-05/0.1762, allocations: 36 kB / 0.6971 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006004/0.1768, allocations: 263.5 kB / 0.6974 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1769, allocations: 95.67 kB / 0.6975 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.1771, allocations: 210.9 kB / 0.6977 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007541/0.1779, allocations: 0.6153 MB / 0.6983 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1779, allocations: 0 / 0.6983 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1779, allocations: 0 / 0.6983 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.1779, allocations: 0 / 0.6983 GB, free: 3.762 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.001099/0.179, allocations: 0.7419 MB / 0.699 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1791, allocations: 12.03 kB / 0.699 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.1793, allocations: 48.45 kB / 0.699 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007203/0.18, allocations: 463.6 kB / 0.6995 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.18, allocations: 20.94 kB / 0.6995 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-05/0.1801, allocations: 43.84 kB / 0.6995 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.1807, allocations: 302.2 kB / 0.6998 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1807, allocations: 3.938 kB / 0.6998 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.1807, allocations: 15.98 kB / 0.6998 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.1808, allocations: 8 kB / 0.6999 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.1812, allocations: 198 kB / 0.7 GB, free: 1.812 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.001704/0.1829, allocations: 1.477 MB / 0.7015 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.1834, allocations: 150.6 kB / 0.7016 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.1836, allocations: 68.89 kB / 0.7017 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.1837, allocations: 89.09 kB / 0.7018 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002867/0.184, allocations: 141.5 kB / 0.7019 GB, free: 15.72 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/0.184, allocations: 0 / 0.7019 GB, free: 15.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006477/0.1847, allocations: 225.2 kB / 0.7021 GB, free: 15.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.1848, allocations: 59.34 kB / 0.7022 GB, free: 15.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.1851, allocations: 353.5 kB / 0.7025 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.1852, allocations: 33.7 kB / 0.7026 GB, free: 15.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.1853, allocations: 215.7 kB / 0.7028 GB, free: 14.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.1854, allocations: 51.3 kB / 0.7028 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.635e-05/0.1855, allocations: 57.61 kB / 0.7029 GB, free: 14.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1856, allocations: 338.8 kB / 0.7032 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.1858, allocations: 75.88 kB / 0.7033 GB, free: 14.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.186, allocations: 145.4 kB / 0.7034 GB, free: 14.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/0.1864, allocations: 241.4 kB / 0.7036 GB, free: 13.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1865, allocations: 11.94 kB / 0.7036 GB, free: 13.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005907/0.1871, allocations: 312.5 kB / 0.7039 GB, free: 13.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.1871, allocations: 33.7 kB / 0.704 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1871, allocations: 4.312 kB / 0.704 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1871, allocations: 8 kB / 0.704 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.1874, allocations: 55.84 kB / 0.704 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1874, allocations: 4 kB / 0.704 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.1877, allocations: 31.73 kB / 0.7041 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.1877, allocations: 15.98 kB / 0.7041 GB, free: 13.36 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.000165/0.1879, allocations: 158.4 kB / 0.7042 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.188, allocations: 39.61 kB / 0.7043 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/0.1884, allocations: 195.9 kB / 0.7045 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.1885, allocations: 7.938 kB / 0.7045 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.1885, allocations: 0 / 0.7045 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004855/0.189, allocations: 483.7 kB / 0.7049 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.1894, allocations: 357.3 kB / 0.7053 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1894, allocations: 0 / 0.7053 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.1896, allocations: 39.91 kB / 0.7053 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1896, allocations: 3.938 kB / 0.7053 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.1896, allocations: 8 kB / 0.7053 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1896, allocations: 3.938 kB / 0.7053 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1896, allocations: 0 / 0.7053 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.1902, allocations: 272.6 kB / 0.7056 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.1903, allocations: 132.7 kB / 0.7057 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.1904, allocations: 4 kB / 0.7057 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.1906, allocations: 19.92 kB / 0.7057 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.1907, allocations: 15.97 kB / 0.7057 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.1907, allocations: 8 kB / 0.7058 GB, free: 11.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002475/0.191, allocations: 247.1 kB / 0.706 GB, free: 11.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.191, allocations: 0 / 0.706 GB, free: 11.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004609/0.1915, allocations: 128 kB / 0.7061 GB, free: 11.1 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.0003531/0.1918, allocations: 203 kB / 0.7063 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004945/0.1923, allocations: 223.2 kB / 0.7065 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1923, allocations: 4.625 kB / 0.7065 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.1925, allocations: 71.91 kB / 0.7066 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009135/0.1934, allocations: 212.4 kB / 0.7068 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.1948, allocations: 0.7598 MB / 0.7075 GB, free: 9.594 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.1952, allocations: 0.7879 MB / 0.7083 GB, free: 8.781 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.1953, allocations: 35.42 kB / 0.7083 GB, free: 8.746 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.1953, allocations: 0 / 0.7083 GB, free: 8.746 MB / 0.545 GB Notification: Performance of Templates: time 0.008799/0.2041, allocations: 6.238 MB / 0.7144 GB, free: 2.566 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)