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.00135/0.00135, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 199.1 kB / 16.79 MB, free: 6.809 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.425/1.425, allocations: 222.9 MB / 240.5 MB, free: 4.562 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.056/1.056, allocations: 143 MB / 433.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 59.91 kB / 0.5141 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1597, allocations: 82.04 MB / 0.5943 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.2865/0.4462, allocations: 14.37 MB / 0.6083 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004206/0.4504, allocations: 3.676 MB / 0.6119 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000471/0.4509, allocations: 16.03 kB / 0.6119 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.4515, allocations: 178.1 kB / 0.6121 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.4528, allocations: 0.5416 MB / 0.6126 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008131/0.4536, allocations: 358.9 kB / 0.6129 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.4548, allocations: 1.454 MB / 0.6144 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003508/0.4552, allocations: 273 kB / 0.6146 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003488/0.4555, allocations: 324.2 kB / 0.6149 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.4558, allocations: 312.2 kB / 0.6152 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.505e-05/0.4559, allocations: 16.81 kB / 0.6152 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004608/0.4563, allocations: 244.8 kB / 0.6155 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.107e-05/0.4564, allocations: 78.53 kB / 0.6155 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.4566, allocations: 194.5 kB / 0.6157 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.457, allocations: 480.1 kB / 0.6162 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.457, allocations: 4 kB / 0.6162 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.457, allocations: 2.438 kB / 0.6162 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.457, allocations: 0 / 0.6162 GB, free: 34.63 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.001033/0.4581, allocations: 0.7442 MB / 0.6169 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.4581, allocations: 8.719 kB / 0.6169 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.4583, allocations: 46.47 kB / 0.617 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.4589, allocations: 487 kB / 0.6174 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.459, allocations: 19.12 kB / 0.6175 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.459, allocations: 34.22 kB / 0.6175 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.4595, allocations: 306.1 kB / 0.6178 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.4595, allocations: 11.88 kB / 0.6178 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.4596, allocations: 11.84 kB / 0.6178 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.4596, allocations: 5.812 kB / 0.6178 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/0.46, allocations: 194.3 kB / 0.618 GB, free: 33.67 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.00143/0.4615, allocations: 1.485 MB / 0.6194 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.4619, allocations: 151.4 kB / 0.6196 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.462, allocations: 73.53 kB / 0.6197 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.4622, allocations: 85.83 kB / 0.6197 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.4625, allocations: 124 kB / 0.6199 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.4625, allocations: 0 / 0.6199 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000602/0.4631, allocations: 237.5 kB / 0.6201 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.4632, allocations: 58.25 kB / 0.6201 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.4635, allocations: 333.5 kB / 0.6205 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.4635, allocations: 35.86 kB / 0.6205 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.4636, allocations: 217.1 kB / 0.6207 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.4636, allocations: 58.5 kB / 0.6208 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.4637, allocations: 53.06 kB / 0.6208 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.91e-05/0.4638, allocations: 346.6 kB / 0.6211 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.464, allocations: 66.92 kB / 0.6212 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.4642, allocations: 144.9 kB / 0.6213 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.4645, allocations: 248.9 kB / 0.6216 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4646, allocations: 2.562 kB / 0.6216 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00054/0.4651, allocations: 310.7 kB / 0.6219 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.4651, allocations: 33.52 kB / 0.6219 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4651, allocations: 2.688 kB / 0.6219 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4652, allocations: 5.531 kB / 0.6219 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.4654, allocations: 62.91 kB / 0.622 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.4654, allocations: 13.53 kB / 0.622 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.4657, allocations: 39.36 kB / 0.622 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.4657, allocations: 9.188 kB / 0.622 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.0001238/0.4659, allocations: 157.9 kB / 0.6222 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.4659, allocations: 37.09 kB / 0.6222 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004157/0.4663, allocations: 189.6 kB / 0.6224 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.4664, allocations: 10.31 kB / 0.6224 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4664, allocations: 0 / 0.6224 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003697/0.4667, allocations: 484.4 kB / 0.6229 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.4671, allocations: 355.4 kB / 0.6232 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4671, allocations: 0 / 0.6232 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.4673, allocations: 27.31 kB / 0.6232 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4673, allocations: 0 / 0.6232 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.4673, allocations: 13.28 kB / 0.6232 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4673, allocations: 3.938 kB / 0.6233 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4673, allocations: 4.984 kB / 0.6233 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005361/0.4679, allocations: 282.5 kB / 0.6235 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.646e-05/0.468, allocations: 123.5 kB / 0.6236 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.468, allocations: 2.438 kB / 0.6236 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.4683, allocations: 30.42 kB / 0.6237 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.4683, allocations: 17.94 kB / 0.6237 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.4684, allocations: 5.469 kB / 0.6237 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001834/0.4685, allocations: 239.8 kB / 0.6239 GB, free: 29.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4686, allocations: 0 / 0.6239 GB, free: 29.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004006/0.469, allocations: 114.4 kB / 0.624 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.0003067/0.4693, allocations: 181.7 kB / 0.6242 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004644/0.4697, allocations: 235.8 kB / 0.6244 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4698, allocations: 0 / 0.6244 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.4699, allocations: 66.72 kB / 0.6245 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008935/0.4708, allocations: 205.2 kB / 0.6247 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.4721, allocations: 0.8909 MB / 0.6256 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.4723, allocations: 0.7875 MB / 0.6263 GB, free: 27.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.4724, allocations: 37.19 kB / 0.6264 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of SimCode: time 3.8e-07/0.4724, allocations: 0 / 0.6264 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.007405/0.4798, allocations: 6.024 MB / 0.6322 GB, free: 27.01 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)