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.001321/0.001321, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001281/0.001281, allocations: 191 kB / 17.29 MB, free: 5.516 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 14.99 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.8375/0.8375, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001438, allocations: 63.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3308, allocations: 82.04 MB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01043/0.3412, allocations: 14.41 MB / 0.6098 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00412/0.3454, allocations: 3.644 MB / 0.6133 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003163/0.3457, allocations: 19.88 kB / 0.6133 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.3463, allocations: 207.3 kB / 0.6135 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.3475, allocations: 0.5885 MB / 0.6141 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008379/0.3484, allocations: 393.4 kB / 0.6145 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.3495, allocations: 1.087 MB / 0.6155 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.3499, allocations: 321.5 kB / 0.6159 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000767/0.3507, allocations: 395.2 kB / 0.6162 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/0.351, allocations: 306.6 kB / 0.6165 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.3511, allocations: 33.56 kB / 0.6166 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.3516, allocations: 259.5 kB / 0.6168 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.3517, allocations: 91.73 kB / 0.6169 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.3519, allocations: 214.9 kB / 0.6171 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006698/0.3526, allocations: 0.6177 MB / 0.6177 GB, free: 9.621 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3526, allocations: 0 / 0.6177 GB, free: 9.621 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3526, allocations: 0.625 kB / 0.6177 GB, free: 9.621 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3526, allocations: 0 / 0.6177 GB, free: 9.621 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.001048/0.3537, allocations: 0.7475 MB / 0.6184 GB, free: 8.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.3537, allocations: 8.688 kB / 0.6184 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.3539, allocations: 48.45 kB / 0.6185 GB, free: 8.766 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006652/0.3545, allocations: 468.1 kB / 0.6189 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.3546, allocations: 20.94 kB / 0.6189 GB, free: 8.258 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.3546, allocations: 36.33 kB / 0.619 GB, free: 8.223 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.3552, allocations: 305.1 kB / 0.6193 GB, free: 7.906 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3552, allocations: 0 / 0.6193 GB, free: 7.906 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.3552, allocations: 12 kB / 0.6193 GB, free: 7.895 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.3553, allocations: 12.61 kB / 0.6193 GB, free: 7.883 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004359/0.3557, allocations: 196 kB / 0.6195 GB, free: 7.691 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.001647/0.3574, allocations: 1.482 MB / 0.6209 GB, free: 6.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.3578, allocations: 148.9 kB / 0.6211 GB, free: 5.938 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.358, allocations: 69.44 kB / 0.6211 GB, free: 5.867 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.3581, allocations: 90.12 kB / 0.6212 GB, free: 5.762 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.3584, allocations: 129.2 kB / 0.6213 GB, free: 5.625 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.3584, allocations: 0 / 0.6213 GB, free: 5.625 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005816/0.359, allocations: 234.3 kB / 0.6216 GB, free: 5.391 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.359, allocations: 55.34 kB / 0.6216 GB, free: 5.324 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.3593, allocations: 346.2 kB / 0.622 GB, free: 4.973 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.3594, allocations: 41.19 kB / 0.622 GB, free: 4.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3595, allocations: 215.7 kB / 0.6222 GB, free: 4.715 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.3596, allocations: 63.17 kB / 0.6223 GB, free: 4.652 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/0.3597, allocations: 45.7 kB / 0.6223 GB, free: 4.602 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3598, allocations: 338.8 kB / 0.6226 GB, free: 4.262 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.36, allocations: 75.94 kB / 0.6227 GB, free: 4.188 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.3602, allocations: 149 kB / 0.6228 GB, free: 4.012 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.3606, allocations: 240 kB / 0.6231 GB, free: 3.742 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3606, allocations: 3.938 kB / 0.6231 GB, free: 3.738 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005592/0.3612, allocations: 318.6 kB / 0.6234 GB, free: 3.414 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.3612, allocations: 33.7 kB / 0.6234 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3612, allocations: 0 / 0.6234 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.3613, allocations: 7.984 kB / 0.6234 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.3615, allocations: 63.84 kB / 0.6235 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3615, allocations: 4.312 kB / 0.6235 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.3618, allocations: 39.67 kB / 0.6235 GB, free: 3.262 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.3618, allocations: 12 kB / 0.6235 GB, free: 3.25 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.0001398/0.3619, allocations: 157.8 kB / 0.6237 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.362, allocations: 31.62 kB / 0.6237 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004836/0.3625, allocations: 199.7 kB / 0.6239 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3625, allocations: 11.94 kB / 0.6239 GB, free: 2.844 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3625, allocations: 0 / 0.6239 GB, free: 2.844 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005064/0.363, allocations: 483.7 kB / 0.6244 GB, free: 2.285 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.3634, allocations: 353.3 kB / 0.6247 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3634, allocations: 0 / 0.6247 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.3636, allocations: 39.91 kB / 0.6248 GB, free: 1.852 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3636, allocations: 0 / 0.6248 GB, free: 1.852 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.3637, allocations: 0 / 0.6248 GB, free: 1.852 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3637, allocations: 7.938 kB / 0.6248 GB, free: 1.844 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3637, allocations: 4 kB / 0.6248 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005701/0.3642, allocations: 282.9 kB / 0.625 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.3644, allocations: 120.8 kB / 0.6251 GB, free: 1.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.3644, allocations: 4 kB / 0.6252 GB, free: 1.406 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.3647, allocations: 15.92 kB / 0.6252 GB, free: 1.391 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.3648, allocations: 27.91 kB / 0.6252 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.3648, allocations: 7.938 kB / 0.6252 GB, free: 1.355 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002367/0.365, allocations: 247.2 kB / 0.6254 GB, free: 1.117 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.365, allocations: 0 / 0.6254 GB, free: 1.117 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000427/0.3655, allocations: 132 kB / 0.6256 GB, free: 0.9883 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.0003043/0.3658, allocations: 194.5 kB / 0.6257 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004517/0.3662, allocations: 227.2 kB / 0.626 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3662, allocations: 0 / 0.626 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.3664, allocations: 75.12 kB / 0.626 GB, free: 496 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008265/0.3673, allocations: 213.6 kB / 0.6262 GB, free: 288 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.3685, allocations: 0.731 MB / 0.627 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3688, allocations: 0.7801 MB / 0.6277 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002082/0.369, allocations: 73.75 kB / 0.6278 GB, free: 14.64 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.3691, allocations: 35.38 kB / 0.6278 GB, free: 14.61 MB / 478.1 MB Notification: Performance of SimCode: time 5.971e-06/0.3691, allocations: 0 / 0.6278 GB, free: 14.61 MB / 478.1 MB Notification: Performance of Templates: time 0.01163/0.3808, allocations: 7.222 MB / 0.6349 GB, free: 7.535 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 gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)