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.001104/0.001104, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.001093/0.001093, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.14 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.8662/0.8662, allocations: 143.1 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001383, allocations: 59.91 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.4495, allocations: 82.03 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01267/0.4622, allocations: 14.42 MB / 0.6098 GB, free: 1.691 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00565/0.4679, allocations: 3.646 MB / 0.6133 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007682/0.4687, allocations: 15.94 kB / 0.6133 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007245/0.4694, allocations: 199.3 kB / 0.6135 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.4713, allocations: 0.5919 MB / 0.6141 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.4724, allocations: 398.1 kB / 0.6145 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.4739, allocations: 1.086 MB / 0.6155 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004665/0.4744, allocations: 317 kB / 0.6158 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.4754, allocations: 389.1 kB / 0.6162 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.4758, allocations: 311.5 kB / 0.6165 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.459e-05/0.4759, allocations: 32 kB / 0.6165 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006666/0.4766, allocations: 260.5 kB / 0.6168 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.4767, allocations: 87.69 kB / 0.6169 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.477, allocations: 215.7 kB / 0.6171 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009127/0.4779, allocations: 0.6169 MB / 0.6177 GB, free: 9.594 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.4779, allocations: 4.562 kB / 0.6177 GB, free: 9.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4779, allocations: 4.688 kB / 0.6177 GB, free: 9.586 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.4779, allocations: 0 / 0.6177 GB, free: 9.586 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.001299/0.4792, allocations: 0.7479 MB / 0.6184 GB, free: 8.785 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4793, allocations: 8.031 kB / 0.6184 GB, free: 8.777 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.4795, allocations: 48.45 kB / 0.6185 GB, free: 8.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008004/0.4803, allocations: 468.2 kB / 0.6189 GB, free: 8.242 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.4804, allocations: 16.94 kB / 0.6189 GB, free: 8.227 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/0.4804, allocations: 40.86 kB / 0.619 GB, free: 8.188 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.481, allocations: 308.3 kB / 0.6193 GB, free: 7.867 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.481, allocations: 0 / 0.6193 GB, free: 7.867 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.4811, allocations: 15.98 kB / 0.6193 GB, free: 7.852 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.4811, allocations: 4.75 kB / 0.6193 GB, free: 7.848 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.4815, allocations: 192.5 kB / 0.6195 GB, free: 7.66 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.001825/0.4834, allocations: 1.482 MB / 0.6209 GB, free: 6.059 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.4838, allocations: 155.7 kB / 0.6211 GB, free: 5.898 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.484, allocations: 69.69 kB / 0.6211 GB, free: 5.828 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.4842, allocations: 90.12 kB / 0.6212 GB, free: 5.723 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002829/0.4845, allocations: 125 kB / 0.6213 GB, free: 5.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.4845, allocations: 0 / 0.6213 GB, free: 5.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006733/0.4852, allocations: 242.5 kB / 0.6216 GB, free: 5.352 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.4852, allocations: 55.34 kB / 0.6216 GB, free: 5.285 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.4856, allocations: 349.7 kB / 0.622 GB, free: 4.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.4856, allocations: 29.7 kB / 0.622 GB, free: 4.895 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.4858, allocations: 220.5 kB / 0.6222 GB, free: 4.676 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.4858, allocations: 47.27 kB / 0.6222 GB, free: 4.629 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.04e-05/0.4859, allocations: 50.39 kB / 0.6223 GB, free: 4.574 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4861, allocations: 350.2 kB / 0.6226 GB, free: 4.227 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.4863, allocations: 67.94 kB / 0.6227 GB, free: 4.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.4865, allocations: 155.4 kB / 0.6228 GB, free: 3.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.4869, allocations: 244.5 kB / 0.6231 GB, free: 3.707 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.4869, allocations: 0 / 0.6231 GB, free: 3.707 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005762/0.4875, allocations: 311 kB / 0.6234 GB, free: 3.391 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.4876, allocations: 40.17 kB / 0.6234 GB, free: 3.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.4876, allocations: 7.984 kB / 0.6234 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.4876, allocations: 4 kB / 0.6234 GB, free: 3.336 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.4878, allocations: 63.84 kB / 0.6235 GB, free: 3.273 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.4879, allocations: 4 kB / 0.6235 GB, free: 3.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.4881, allocations: 35.67 kB / 0.6235 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.4882, allocations: 15.92 kB / 0.6235 GB, free: 3.219 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.0001711/0.4884, allocations: 157.8 kB / 0.6237 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.4884, allocations: 31.62 kB / 0.6237 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.4889, allocations: 196.5 kB / 0.6239 GB, free: 2.824 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.4889, allocations: 3.938 kB / 0.6239 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4889, allocations: 0 / 0.6239 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000523/0.4894, allocations: 499.6 kB / 0.6244 GB, free: 2.246 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.4899, allocations: 353.3 kB / 0.6247 GB, free: 1.852 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.49, allocations: 0 / 0.6247 GB, free: 1.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.4901, allocations: 35.97 kB / 0.6248 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4901, allocations: 0 / 0.6248 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.4902, allocations: 0 / 0.6248 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.4902, allocations: 7.938 kB / 0.6248 GB, free: 1.809 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4902, allocations: 0 / 0.6248 GB, free: 1.809 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.4908, allocations: 291.9 kB / 0.625 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.4909, allocations: 120.8 kB / 0.6252 GB, free: 1.371 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/0.491, allocations: 4 kB / 0.6252 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.4912, allocations: 15.92 kB / 0.6252 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.4913, allocations: 19.97 kB / 0.6252 GB, free: 1.332 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.4913, allocations: 4 kB / 0.6252 GB, free: 1.328 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002555/0.4916, allocations: 251.2 kB / 0.6254 GB, free: 1.086 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4916, allocations: 3.938 kB / 0.6254 GB, free: 1.082 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004687/0.4921, allocations: 132 kB / 0.6256 GB, free: 0.9531 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.0003828/0.4925, allocations: 197.9 kB / 0.6258 GB, free: 0.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005144/0.493, allocations: 229.9 kB / 0.626 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4931, allocations: 8.047 kB / 0.626 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.4932, allocations: 59.97 kB / 0.626 GB, free: 460 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009091/0.4941, allocations: 226.2 kB / 0.6263 GB, free: 244 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.4955, allocations: 0.727 MB / 0.627 GB, free: 15.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.4959, allocations: 0.7879 MB / 0.6277 GB, free: 14.67 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002424/0.4962, allocations: 63.23 kB / 0.6278 GB, free: 14.61 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.4963, allocations: 31.44 kB / 0.6278 GB, free: 14.58 MB / 478.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4963, allocations: 0 / 0.6278 GB, free: 14.58 MB / 478.1 MB Notification: Performance of Templates: time 0.01333/0.5096, allocations: 7.219 MB / 0.6349 GB, free: 7.5 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)