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.0007154/0.0007154, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0007314/0.0007315, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 223.3 MB / 240 MB, free: 5.426 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.8747/0.8747, allocations: 143.2 MB / 434.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002648/0.0002648, allocations: 8 kB / 0.5158 GB, free: 11.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1273, allocations: 83.41 MB / 0.5972 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.2359/0.3633, allocations: 13.17 MB / 0.6101 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003366/0.3667, allocations: 3.408 MB / 0.6134 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.3669, allocations: 19.81 kB / 0.6135 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003898/0.3673, allocations: 149.9 kB / 0.6136 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008308/0.3682, allocations: 482.6 kB / 0.6141 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.3688, allocations: 292.3 kB / 0.6143 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008895/0.3697, allocations: 1.248 MB / 0.6156 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.37, allocations: 236.6 kB / 0.6158 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.3703, allocations: 319.8 kB / 0.6161 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.3705, allocations: 273 kB / 0.6163 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.3706, allocations: 14.34 kB / 0.6164 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.3709, allocations: 157.3 kB / 0.6165 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.371, allocations: 73.72 kB / 0.6166 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.371, allocations: 95.55 kB / 0.6167 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.3714, allocations: 456.9 kB / 0.6171 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3714, allocations: 0 / 0.6171 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3714, allocations: 4 kB / 0.6171 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3714, allocations: 0 / 0.6171 GB, free: 34.45 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.0007613/0.3722, allocations: 0.6717 MB / 0.6178 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.3722, allocations: 8.156 kB / 0.6178 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.3724, allocations: 53.2 kB / 0.6178 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.3729, allocations: 472.1 kB / 0.6183 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.373, allocations: 18.41 kB / 0.6183 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.373, allocations: 26.92 kB / 0.6183 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.3734, allocations: 314.7 kB / 0.6186 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3735, allocations: 3.406 kB / 0.6186 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.3735, allocations: 10.81 kB / 0.6186 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.3735, allocations: 9.984 kB / 0.6186 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003727/0.3739, allocations: 208.5 kB / 0.6188 GB, free: 33.56 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.00121/0.3751, allocations: 1.482 MB / 0.6203 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.3755, allocations: 165.8 kB / 0.6204 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.3756, allocations: 69.84 kB / 0.6205 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.945e-05/0.3757, allocations: 89.31 kB / 0.6206 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.376, allocations: 140.1 kB / 0.6207 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.033e-06/0.376, allocations: 1.078 kB / 0.6207 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005119/0.3765, allocations: 248.2 kB / 0.621 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.3765, allocations: 55.12 kB / 0.621 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.3768, allocations: 335.5 kB / 0.6213 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.3768, allocations: 32.42 kB / 0.6214 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.3769, allocations: 217.3 kB / 0.6216 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.3769, allocations: 49.48 kB / 0.6216 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/0.377, allocations: 6.969 kB / 0.6216 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.15e-05/0.377, allocations: 338 kB / 0.622 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.3772, allocations: 84.03 kB / 0.622 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.3774, allocations: 153 kB / 0.6222 GB, free: 31.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.3775, allocations: 120.9 kB / 0.6223 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3775, allocations: 3.953 kB / 0.6223 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004412/0.378, allocations: 314.7 kB / 0.6226 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.378, allocations: 42.91 kB / 0.6226 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.378, allocations: 6.594 kB / 0.6226 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3781, allocations: 2.812 kB / 0.6227 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.3783, allocations: 57.03 kB / 0.6227 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3783, allocations: 6.156 kB / 0.6227 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.3785, allocations: 45.11 kB / 0.6228 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.3785, allocations: 12.88 kB / 0.6228 GB, free: 31.08 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.3786, allocations: 155.2 kB / 0.6229 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.3787, allocations: 34.53 kB / 0.6229 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.379, allocations: 213.6 kB / 0.6232 GB, free: 30.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.379, allocations: 0 / 0.6232 GB, free: 30.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3791, allocations: 0 / 0.6232 GB, free: 30.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003233/0.3794, allocations: 496.9 kB / 0.6236 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.3797, allocations: 357.4 kB / 0.624 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3797, allocations: 0 / 0.624 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.3798, allocations: 36.56 kB / 0.624 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3798, allocations: 0 / 0.624 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3799, allocations: 2.531 kB / 0.624 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3799, allocations: 6.672 kB / 0.624 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3799, allocations: 2.438 kB / 0.624 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.3803, allocations: 298.9 kB / 0.6243 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-05/0.3804, allocations: 126.5 kB / 0.6244 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.3805, allocations: 7 kB / 0.6244 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.3807, allocations: 26.41 kB / 0.6244 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.3808, allocations: 27.56 kB / 0.6245 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.3808, allocations: 3.156 kB / 0.6245 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001617/0.3809, allocations: 236.2 kB / 0.6247 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.92e-07/0.3809, allocations: 3.938 kB / 0.6247 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003244/0.3813, allocations: 121.3 kB / 0.6248 GB, free: 29.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001948/0.3815, allocations: 175.9 kB / 0.625 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003824/0.3819, allocations: 239.5 kB / 0.6252 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3819, allocations: 0 / 0.6252 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.382, allocations: 78 kB / 0.6253 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000746/0.3828, allocations: 199.3 kB / 0.6255 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.3838, allocations: 0.962 MB / 0.6264 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.384, allocations: 0.7894 MB / 0.6272 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002149/0.3842, allocations: 69.73 kB / 0.6273 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.3843, allocations: 31.62 kB / 0.6273 GB, free: 28.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.3843, allocations: 0 / 0.6273 GB, free: 28.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.008081/0.3924, allocations: 6.393 MB / 0.6335 GB, free: 27.52 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)