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.001179/0.001179, allocations: 107.8 kB / 16.27 MB, free: 5.988 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.001203/0.001203, allocations: 192.3 kB / 17.2 MB, free: 5.613 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.295/1.295, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.8194/0.8194, allocations: 143 MB / 434.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.89 kB / 0.5148 GB, free: 15.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3319, allocations: 82.03 MB / 0.5949 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01181/0.3438, allocations: 14.43 MB / 0.609 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004624/0.3484, allocations: 3.648 MB / 0.6126 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005784/0.349, allocations: 15.94 kB / 0.6126 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006705/0.3497, allocations: 200 kB / 0.6128 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.3513, allocations: 0.5912 MB / 0.6134 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009234/0.3523, allocations: 390.9 kB / 0.6137 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.3537, allocations: 1.082 MB / 0.6148 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005303/0.3542, allocations: 312.3 kB / 0.6151 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.3553, allocations: 394.4 kB / 0.6155 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004698/0.3558, allocations: 303.9 kB / 0.6158 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.86e-05/0.3559, allocations: 32 kB / 0.6158 GB, free: 10.83 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006332/0.3565, allocations: 255.5 kB / 0.616 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.3566, allocations: 97.12 kB / 0.6161 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002607/0.3569, allocations: 218.9 kB / 0.6163 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008321/0.3577, allocations: 0.5978 MB / 0.6169 GB, free: 9.672 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.3578, allocations: 7.984 kB / 0.6169 GB, free: 9.664 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3578, allocations: 0.6562 kB / 0.6169 GB, free: 9.664 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.3578, allocations: 0 / 0.6169 GB, free: 9.664 MB / 462.1 MB 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.001231/0.359, allocations: 0.7438 MB / 0.6176 GB, free: 8.867 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.3591, allocations: 8.031 kB / 0.6177 GB, free: 8.859 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.3593, allocations: 57.16 kB / 0.6177 GB, free: 8.805 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006789/0.36, allocations: 444.3 kB / 0.6181 GB, free: 8.336 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.36, allocations: 21.5 kB / 0.6182 GB, free: 8.316 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.3601, allocations: 36.77 kB / 0.6182 GB, free: 8.281 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.3607, allocations: 308.5 kB / 0.6185 GB, free: 7.961 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.3607, allocations: 7.875 kB / 0.6185 GB, free: 7.953 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.3607, allocations: 19.94 kB / 0.6185 GB, free: 7.934 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.3607, allocations: 12.48 kB / 0.6185 GB, free: 7.922 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.3612, allocations: 191.5 kB / 0.6187 GB, free: 7.734 MB / 462.1 MB 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.001775/0.363, allocations: 1.489 MB / 0.6202 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.3634, allocations: 148.1 kB / 0.6203 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.3636, allocations: 74.03 kB / 0.6204 GB, free: 5.902 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.3638, allocations: 86.44 kB / 0.6205 GB, free: 5.801 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002852/0.364, allocations: 128.1 kB / 0.6206 GB, free: 5.664 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.3641, allocations: 0 / 0.6206 GB, free: 5.664 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006287/0.3647, allocations: 235 kB / 0.6208 GB, free: 5.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.3647, allocations: 63.28 kB / 0.6209 GB, free: 5.355 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.3651, allocations: 344.3 kB / 0.6212 GB, free: 5.008 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.3651, allocations: 37.69 kB / 0.6212 GB, free: 4.965 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.3653, allocations: 215.7 kB / 0.6214 GB, free: 4.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.3654, allocations: 55.25 kB / 0.6215 GB, free: 4.695 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/0.3654, allocations: 49.7 kB / 0.6215 GB, free: 4.641 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3656, allocations: 339.3 kB / 0.6219 GB, free: 4.301 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.3658, allocations: 75.44 kB / 0.6219 GB, free: 4.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.366, allocations: 146.1 kB / 0.6221 GB, free: 4.055 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.3665, allocations: 244.1 kB / 0.6223 GB, free: 3.785 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3665, allocations: 4 kB / 0.6223 GB, free: 3.781 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006027/0.3671, allocations: 310.7 kB / 0.6226 GB, free: 3.465 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.3671, allocations: 36.36 kB / 0.6226 GB, free: 3.426 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3671, allocations: 4 kB / 0.6226 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3672, allocations: 0 / 0.6226 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.3674, allocations: 64.16 kB / 0.6227 GB, free: 3.359 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.3674, allocations: 11.94 kB / 0.6227 GB, free: 3.348 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.3677, allocations: 35.67 kB / 0.6227 GB, free: 3.312 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.3677, allocations: 8 kB / 0.6228 GB, free: 3.305 MB / 462.1 MB 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.0001574/0.3679, allocations: 161.7 kB / 0.6229 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.004e-05/0.3679, allocations: 35.62 kB / 0.6229 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/0.3684, allocations: 196.1 kB / 0.6231 GB, free: 2.906 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3684, allocations: 7.938 kB / 0.6231 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3684, allocations: 0 / 0.6231 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004598/0.3689, allocations: 487.6 kB / 0.6236 GB, free: 2.336 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.3693, allocations: 353.3 kB / 0.6239 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3693, allocations: 0 / 0.6239 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.3695, allocations: 35.97 kB / 0.624 GB, free: 1.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3695, allocations: 3.938 kB / 0.624 GB, free: 1.902 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3695, allocations: 4 kB / 0.624 GB, free: 1.898 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3695, allocations: 7.938 kB / 0.624 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3695, allocations: 4 kB / 0.624 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/0.3701, allocations: 284.5 kB / 0.6243 GB, free: 1.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.3703, allocations: 120.8 kB / 0.6244 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.3703, allocations: 4 kB / 0.6244 GB, free: 1.449 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.3706, allocations: 19.92 kB / 0.6244 GB, free: 1.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.3706, allocations: 19.97 kB / 0.6244 GB, free: 1.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3707, allocations: 8 kB / 0.6244 GB, free: 1.402 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000246/0.3709, allocations: 243.2 kB / 0.6247 GB, free: 1.168 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3709, allocations: 0 / 0.6247 GB, free: 1.168 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004232/0.3714, allocations: 132 kB / 0.6248 GB, free: 1.039 MB / 462.1 MB 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.0003405/0.3717, allocations: 192.8 kB / 0.625 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000495/0.3722, allocations: 242.5 kB / 0.6252 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3722, allocations: 0 / 0.6252 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.3724, allocations: 67.91 kB / 0.6253 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009244/0.3733, allocations: 214.8 kB / 0.6255 GB, free: 336 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.3747, allocations: 0.7755 MB / 0.6262 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.3751, allocations: 0.7879 MB / 0.627 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/0.3752, allocations: 39.42 kB / 0.627 GB, free: 14.67 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3752, allocations: 0 / 0.627 GB, free: 14.67 MB / 478.1 MB Notification: Performance of Templates: time 0.009297/0.3845, allocations: 6.228 MB / 0.6331 GB, free: 8.52 MB / 478.1 MB 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)