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.001558/0.001558, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001633/0.001633, allocations: 183 kB / 17.34 MB, free: 5.766 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.16 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.8378/0.8378, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.23 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1617, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.02008/0.1818, allocations: 14.43 MB / 0.6904 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006043/0.1879, allocations: 3.65 MB / 0.6939 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007288/0.1887, allocations: 19.88 kB / 0.694 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007887/0.1895, allocations: 206.7 kB / 0.6942 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.1914, allocations: 0.5791 MB / 0.6947 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.1925, allocations: 393.9 kB / 0.6951 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.1943, allocations: 1.087 MB / 0.6962 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006036/0.1949, allocations: 325.2 kB / 0.6965 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.1963, allocations: 402 kB / 0.6969 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006288/0.1969, allocations: 302.7 kB / 0.6971 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.1971, allocations: 32 kB / 0.6972 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007131/0.1978, allocations: 255.5 kB / 0.6974 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.1979, allocations: 99.66 kB / 0.6975 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002926/0.1982, allocations: 214.9 kB / 0.6977 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009791/0.1992, allocations: 0.6192 MB / 0.6983 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1992, allocations: 0 / 0.6983 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.073e-06/0.1992, allocations: 0 / 0.6983 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.969e-05/0.1993, allocations: 3.938 kB / 0.6983 GB, free: 3.707 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.001311/0.2006, allocations: 0.738 MB / 0.6991 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2006, allocations: 8.031 kB / 0.6991 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.2008, allocations: 48.45 kB / 0.6991 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007719/0.2016, allocations: 467.6 kB / 0.6996 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.2017, allocations: 28.88 kB / 0.6996 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.2017, allocations: 27.94 kB / 0.6996 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.2023, allocations: 306.2 kB / 0.6999 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.2024, allocations: 0 / 0.6999 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.2024, allocations: 12 kB / 0.6999 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.2024, allocations: 8 kB / 0.6999 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.2029, allocations: 206 kB / 0.7001 GB, free: 1.766 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.001909/0.2048, allocations: 1.477 MB / 0.7016 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.2053, allocations: 154.6 kB / 0.7017 GB, free: 0 / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.2055, allocations: 64.81 kB / 0.7018 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.2057, allocations: 89.11 kB / 0.7018 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003169/0.206, allocations: 138.4 kB / 0.702 GB, free: 15.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.704e-06/0.206, allocations: 0 / 0.702 GB, free: 15.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006595/0.2067, allocations: 225.2 kB / 0.7022 GB, free: 15.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.2067, allocations: 59.33 kB / 0.7023 GB, free: 15.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.2071, allocations: 353.5 kB / 0.7026 GB, free: 15.03 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.2072, allocations: 29.7 kB / 0.7026 GB, free: 15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.2073, allocations: 211.8 kB / 0.7028 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.2074, allocations: 59.27 kB / 0.7029 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.026e-05/0.2075, allocations: 53.61 kB / 0.7029 GB, free: 14.67 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2077, allocations: 346.8 kB / 0.7033 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.2079, allocations: 75.95 kB / 0.7033 GB, free: 14.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.2081, allocations: 149.3 kB / 0.7035 GB, free: 14.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.2086, allocations: 243 kB / 0.7037 GB, free: 13.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2086, allocations: 0 / 0.7037 GB, free: 13.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006541/0.2092, allocations: 324.1 kB / 0.704 GB, free: 13.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.2093, allocations: 37.69 kB / 0.7041 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.2093, allocations: 0 / 0.7041 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.2093, allocations: 4 kB / 0.7041 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.2096, allocations: 59.84 kB / 0.7041 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2096, allocations: 4 kB / 0.7041 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.2099, allocations: 36.05 kB / 0.7041 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.2099, allocations: 12 kB / 0.7042 GB, free: 13.3 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.0002037/0.2101, allocations: 165.6 kB / 0.7043 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.2102, allocations: 31.62 kB / 0.7043 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.2107, allocations: 192.5 kB / 0.7045 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2107, allocations: 3.938 kB / 0.7045 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2107, allocations: 8 kB / 0.7045 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005059/0.2112, allocations: 483.7 kB / 0.705 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.2117, allocations: 357.3 kB / 0.7053 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2117, allocations: 0 / 0.7053 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.2119, allocations: 31.92 kB / 0.7054 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2119, allocations: 3.984 kB / 0.7054 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.2119, allocations: 4 kB / 0.7054 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.2119, allocations: 7.938 kB / 0.7054 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2119, allocations: 0 / 0.7054 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006239/0.2126, allocations: 275.5 kB / 0.7057 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.2127, allocations: 132.7 kB / 0.7058 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/0.2128, allocations: 0 / 0.7058 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.213, allocations: 19.92 kB / 0.7058 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.2131, allocations: 15.98 kB / 0.7058 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.2132, allocations: 11.98 kB / 0.7058 GB, free: 11.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002622/0.2134, allocations: 251.1 kB / 0.7061 GB, free: 11.17 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2134, allocations: 0 / 0.7061 GB, free: 11.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004432/0.2139, allocations: 128 kB / 0.7062 GB, free: 11.04 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.0003898/0.2143, allocations: 195.1 kB / 0.7064 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005182/0.2148, allocations: 223.2 kB / 0.7066 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2148, allocations: 0 / 0.7066 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.215, allocations: 71.89 kB / 0.7067 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.216, allocations: 215.7 kB / 0.7069 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.2175, allocations: 0.7559 MB / 0.7076 GB, free: 9.555 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.2179, allocations: 0.7879 MB / 0.7084 GB, free: 8.742 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.666e-05/0.218, allocations: 35.42 kB / 0.7084 GB, free: 8.707 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.218, allocations: 0 / 0.7084 GB, free: 8.707 MB / 0.545 GB Notification: Performance of Templates: time 0.01044/0.2285, allocations: 6.278 MB / 0.7145 GB, free: 2.484 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)