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.001112/0.001112, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001218/0.001219, allocations: 194.8 kB / 16.14 MB, free: 6.656 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.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.9947/0.9947, allocations: 143 MB / 433 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.91 kB / 0.5135 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1575, allocations: 82.04 MB / 0.5936 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.2978/0.4553, allocations: 14.37 MB / 0.6076 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004362/0.4597, allocations: 3.68 MB / 0.6112 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004923/0.4603, allocations: 18.38 kB / 0.6112 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.4609, allocations: 169.9 kB / 0.6114 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.4622, allocations: 0.5421 MB / 0.6119 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008242/0.463, allocations: 370.4 kB / 0.6123 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001166/0.4642, allocations: 1.448 MB / 0.6137 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.4645, allocations: 278.7 kB / 0.614 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003675/0.4649, allocations: 321.2 kB / 0.6143 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.4652, allocations: 307 kB / 0.6146 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.841e-05/0.4653, allocations: 17.22 kB / 0.6146 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005047/0.4658, allocations: 245.3 kB / 0.6148 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.297e-05/0.4659, allocations: 82.66 kB / 0.6149 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.466, allocations: 200.5 kB / 0.6151 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005534/0.4666, allocations: 0.599 MB / 0.6157 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4666, allocations: 2.531 kB / 0.6157 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.11e-07/0.4666, allocations: 0 / 0.6157 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.4666, allocations: 0 / 0.6157 GB, free: 34.68 MB / 0.4981 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.001055/0.4677, allocations: 0.7414 MB / 0.6164 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4677, allocations: 12.88 kB / 0.6164 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.4679, allocations: 46.78 kB / 0.6165 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000696/0.4687, allocations: 485.8 kB / 0.6169 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.4687, allocations: 21.31 kB / 0.6169 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/0.4688, allocations: 34.11 kB / 0.617 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.4693, allocations: 309 kB / 0.6173 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.4693, allocations: 0 / 0.6173 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.4694, allocations: 10.94 kB / 0.6173 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.4694, allocations: 9.469 kB / 0.6173 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.4698, allocations: 194.7 kB / 0.6175 GB, free: 33.66 MB / 0.4981 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.001468/0.4713, allocations: 1.483 MB / 0.6189 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.4717, allocations: 156.8 kB / 0.6191 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.4719, allocations: 63.41 kB / 0.6191 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.4721, allocations: 88.91 kB / 0.6192 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.4723, allocations: 126.7 kB / 0.6193 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.4723, allocations: 2.938 kB / 0.6193 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005876/0.4729, allocations: 232.9 kB / 0.6196 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.473, allocations: 58.19 kB / 0.6196 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.4732, allocations: 330.5 kB / 0.6199 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.4733, allocations: 36.39 kB / 0.62 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.4734, allocations: 220.1 kB / 0.6202 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.4734, allocations: 55.58 kB / 0.6202 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.578e-05/0.4735, allocations: 56.88 kB / 0.6203 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.4736, allocations: 341.5 kB / 0.6206 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.4738, allocations: 71.31 kB / 0.6207 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.474, allocations: 148.4 kB / 0.6208 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.4744, allocations: 234.4 kB / 0.621 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4744, allocations: 2.781 kB / 0.621 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005296/0.4749, allocations: 313.7 kB / 0.6213 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.475, allocations: 37.89 kB / 0.6214 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.475, allocations: 6.812 kB / 0.6214 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.475, allocations: 2.781 kB / 0.6214 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.4752, allocations: 64.73 kB / 0.6214 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4752, allocations: 2.781 kB / 0.6215 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.4755, allocations: 36.53 kB / 0.6215 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.4755, allocations: 11.62 kB / 0.6215 GB, free: 30.72 MB / 0.4981 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.0001259/0.4757, allocations: 152.8 kB / 0.6216 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.4757, allocations: 41.44 kB / 0.6217 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004323/0.4762, allocations: 198.9 kB / 0.6219 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.4762, allocations: 7.094 kB / 0.6219 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4762, allocations: 0.5 kB / 0.6219 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003773/0.4766, allocations: 484.7 kB / 0.6223 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.4769, allocations: 352.8 kB / 0.6227 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4769, allocations: 0.5 kB / 0.6227 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.4771, allocations: 35.27 kB / 0.6227 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4771, allocations: 0 / 0.6227 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.4771, allocations: 6.672 kB / 0.6227 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4771, allocations: 3.938 kB / 0.6227 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4771, allocations: 0.5469 kB / 0.6227 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.4777, allocations: 281.3 kB / 0.623 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.483e-05/0.4778, allocations: 126.3 kB / 0.6231 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.4778, allocations: 9.906 kB / 0.6231 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.4781, allocations: 25.3 kB / 0.6231 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.4782, allocations: 12.69 kB / 0.6232 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.4782, allocations: 8.172 kB / 0.6232 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001905/0.4784, allocations: 236.5 kB / 0.6234 GB, free: 29.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4784, allocations: 0 / 0.6234 GB, free: 29.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004172/0.4788, allocations: 119.2 kB / 0.6235 GB, free: 29.3 MB / 0.4981 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.0002911/0.4791, allocations: 193.4 kB / 0.6237 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004344/0.4796, allocations: 235.1 kB / 0.6239 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4796, allocations: 0 / 0.6239 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.4797, allocations: 74.91 kB / 0.624 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009294/0.4807, allocations: 198.7 kB / 0.6242 GB, free: 29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.4819, allocations: 0.8577 MB / 0.625 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.4821, allocations: 0.7954 MB / 0.6258 GB, free: 27.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002588/0.4824, allocations: 67.11 kB / 0.6259 GB, free: 27.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.4824, allocations: 30.72 kB / 0.6259 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.4824, allocations: 0 / 0.6259 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.01021/0.4927, allocations: 6.621 MB / 0.6323 GB, free: 27.17 MB / 0.4981 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)