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.001098/0.001099, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.009263/0.009264, allocations: 170 kB / 16.26 MB, free: 6.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.38/1.38, allocations: 223.3 MB / 240.3 MB, free: 5.34 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 1.058/1.058, allocations: 143.2 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003671, allocations: 8 kB / 0.5164 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.212, allocations: 83.41 MB / 0.5978 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.4748/0.6869, allocations: 13.87 MB / 0.6114 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004967/0.6919, allocations: 3.615 MB / 0.6149 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006719/0.6926, allocations: 18.5 kB / 0.6149 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006133/0.6932, allocations: 173.8 kB / 0.6151 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.6948, allocations: 0.5484 MB / 0.6156 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.6958, allocations: 351.5 kB / 0.616 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001675/0.6975, allocations: 1.456 MB / 0.6174 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.6979, allocations: 266.1 kB / 0.6176 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004989/0.6984, allocations: 308.1 kB / 0.6179 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000357/0.6988, allocations: 301.4 kB / 0.6182 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.6988, allocations: 18.59 kB / 0.6182 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006158/0.6995, allocations: 238.6 kB / 0.6185 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.212e-05/0.6996, allocations: 77.3 kB / 0.6185 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.6998, allocations: 218.8 kB / 0.6188 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006199/0.7004, allocations: 0.5838 MB / 0.6193 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7004, allocations: 0 / 0.6193 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7004, allocations: 0 / 0.6193 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.7005, allocations: 0.5625 kB / 0.6193 GB, free: 32.95 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.001015/0.7015, allocations: 0.6795 MB / 0.62 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.7015, allocations: 9 kB / 0.62 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.7017, allocations: 49.84 kB / 0.62 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006515/0.7024, allocations: 480.4 kB / 0.6205 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.7024, allocations: 22.59 kB / 0.6205 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/0.7025, allocations: 32.84 kB / 0.6206 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.703, allocations: 310 kB / 0.6208 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.703, allocations: 0 / 0.6208 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.7031, allocations: 10.31 kB / 0.6209 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.7031, allocations: 16.44 kB / 0.6209 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004703/0.7036, allocations: 199.1 kB / 0.6211 GB, free: 32.04 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.001615/0.7052, allocations: 1.495 MB / 0.6225 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.7057, allocations: 165.9 kB / 0.6227 GB, free: 31.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.7058, allocations: 79.7 kB / 0.6228 GB, free: 31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.706, allocations: 85.72 kB / 0.6228 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/0.7063, allocations: 139.3 kB / 0.623 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/0.7064, allocations: 0 / 0.623 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006364/0.707, allocations: 246 kB / 0.6232 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.707, allocations: 60.47 kB / 0.6233 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.7074, allocations: 330.5 kB / 0.6236 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.7074, allocations: 39.23 kB / 0.6236 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.7076, allocations: 219.6 kB / 0.6238 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.743e-05/0.7076, allocations: 44.67 kB / 0.6239 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.7077, allocations: 29.62 kB / 0.6239 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.7078, allocations: 343.9 kB / 0.6242 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.708, allocations: 78.92 kB / 0.6243 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.7082, allocations: 148.5 kB / 0.6244 GB, free: 30 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004301/0.7087, allocations: 263.8 kB / 0.6247 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7087, allocations: 0 / 0.6247 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005777/0.7093, allocations: 325.2 kB / 0.625 GB, free: 29.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.7093, allocations: 34.39 kB / 0.625 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.7094, allocations: 7.984 kB / 0.625 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.7094, allocations: 3.062 kB / 0.625 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.7096, allocations: 71.14 kB / 0.6251 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.7096, allocations: 3.031 kB / 0.6251 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.71, allocations: 41.05 kB / 0.6252 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.71, allocations: 9.656 kB / 0.6252 GB, free: 29.7 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.0001807/0.7102, allocations: 158.8 kB / 0.6253 GB, free: 29.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.7102, allocations: 32.75 kB / 0.6254 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004871/0.7107, allocations: 209.5 kB / 0.6256 GB, free: 29.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.7108, allocations: 6.625 kB / 0.6256 GB, free: 29.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.7108, allocations: 0.5 kB / 0.6256 GB, free: 29.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004501/0.7112, allocations: 497.2 kB / 0.626 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.7117, allocations: 350.3 kB / 0.6264 GB, free: 28.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.7117, allocations: 6.438 kB / 0.6264 GB, free: 28.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.7119, allocations: 36.83 kB / 0.6264 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.7119, allocations: 6.5 kB / 0.6264 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.712, allocations: 2.438 kB / 0.6264 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.712, allocations: 6.781 kB / 0.6264 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.712, allocations: 0 / 0.6264 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.7126, allocations: 299 kB / 0.6267 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.7128, allocations: 124.2 kB / 0.6268 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.7128, allocations: 6.844 kB / 0.6268 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.7131, allocations: 25 kB / 0.6269 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.529e-05/0.7132, allocations: 19.11 kB / 0.6269 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.7132, allocations: 13.91 kB / 0.6269 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002374/0.7135, allocations: 235.8 kB / 0.6271 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7135, allocations: 3.938 kB / 0.6271 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005324/0.714, allocations: 124.2 kB / 0.6272 GB, free: 28.43 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.0003976/0.7144, allocations: 174.6 kB / 0.6274 GB, free: 28.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005339/0.715, allocations: 240.8 kB / 0.6276 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.715, allocations: 0 / 0.6276 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.7152, allocations: 75.14 kB / 0.6277 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.7162, allocations: 208.8 kB / 0.6279 GB, free: 28.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.7177, allocations: 0.9351 MB / 0.6288 GB, free: 27.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.7179, allocations: 0.7865 MB / 0.6296 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002947/0.7182, allocations: 69.23 kB / 0.6296 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.7183, allocations: 35.58 kB / 0.6297 GB, free: 26.81 MB / 0.4981 GB Notification: Performance of SimCode: time 7.22e-07/0.7183, allocations: 0 / 0.6297 GB, free: 26.81 MB / 0.4981 GB Notification: Performance of Templates: time 0.01114/0.7295, allocations: 6.594 MB / 0.6361 GB, free: 26.27 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)