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.001359/0.001359, allocations: 98.8 kB / 16.02 MB, free: 76 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.001937/0.001937, allocations: 186.9 kB / 16.92 MB, free: 6.75 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.473/1.473, allocations: 223.3 MB / 241 MB, free: 5.348 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.034/1.034, allocations: 143.2 MB / 435.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 8 kB / 0.517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1701, allocations: 83.41 MB / 0.5985 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.3379/0.5081, allocations: 13.86 MB / 0.612 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004558/0.5127, allocations: 3.626 MB / 0.6156 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005612/0.5133, allocations: 12.72 kB / 0.6156 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005205/0.5138, allocations: 168.4 kB / 0.6157 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.5151, allocations: 0.548 MB / 0.6163 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008446/0.5159, allocations: 358.7 kB / 0.6166 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.5173, allocations: 1.46 MB / 0.618 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.5176, allocations: 264.7 kB / 0.6183 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/0.518, allocations: 303.9 kB / 0.6186 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002965/0.5183, allocations: 302.1 kB / 0.6189 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.5183, allocations: 13.66 kB / 0.6189 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004407/0.5188, allocations: 244.7 kB / 0.6191 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.285e-05/0.5189, allocations: 75.97 kB / 0.6192 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.519, allocations: 209.1 kB / 0.6194 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.5194, allocations: 476.2 kB / 0.6199 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5194, allocations: 0 / 0.6199 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5194, allocations: 0 / 0.6199 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.5194, allocations: 0 / 0.6199 GB, free: 33.24 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.0008378/0.5203, allocations: 0.6729 MB / 0.6205 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.5203, allocations: 8.625 kB / 0.6205 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.5205, allocations: 54.22 kB / 0.6206 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005642/0.521, allocations: 480.5 kB / 0.621 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.5211, allocations: 20.09 kB / 0.621 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.5211, allocations: 34.19 kB / 0.6211 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005054/0.5216, allocations: 314.5 kB / 0.6214 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.5217, allocations: 0 / 0.6214 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.5217, allocations: 9.438 kB / 0.6214 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.5217, allocations: 13.84 kB / 0.6214 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.5222, allocations: 205.4 kB / 0.6216 GB, free: 32.32 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.001414/0.5236, allocations: 1.493 MB / 0.6231 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.524, allocations: 176.6 kB / 0.6232 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.5242, allocations: 76.05 kB / 0.6233 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.5243, allocations: 85.52 kB / 0.6234 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/0.5246, allocations: 127.5 kB / 0.6235 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.705e-06/0.5246, allocations: 0 / 0.6235 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005915/0.5252, allocations: 255.1 kB / 0.6237 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.5253, allocations: 58.41 kB / 0.6238 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.5255, allocations: 333.6 kB / 0.6241 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.5256, allocations: 29.64 kB / 0.6241 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.5257, allocations: 224.5 kB / 0.6244 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.5257, allocations: 53.34 kB / 0.6244 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.5258, allocations: 25.81 kB / 0.6244 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.43e-05/0.5258, allocations: 348.3 kB / 0.6248 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.526, allocations: 67.28 kB / 0.6248 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.5262, allocations: 156.4 kB / 0.625 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.5266, allocations: 255.9 kB / 0.6252 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5266, allocations: 0 / 0.6252 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005233/0.5272, allocations: 328.3 kB / 0.6255 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.5272, allocations: 33.61 kB / 0.6256 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.5272, allocations: 2.344 kB / 0.6256 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5272, allocations: 3.531 kB / 0.6256 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.5274, allocations: 67.69 kB / 0.6256 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.5275, allocations: 4.812 kB / 0.6256 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.5277, allocations: 40.08 kB / 0.6257 GB, free: 29.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.5278, allocations: 11.78 kB / 0.6257 GB, free: 29.99 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.0001356/0.5279, allocations: 157.9 kB / 0.6258 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.5279, allocations: 33.84 kB / 0.6259 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004224/0.5284, allocations: 213.1 kB / 0.6261 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5284, allocations: 6.844 kB / 0.6261 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5284, allocations: 1.25 kB / 0.6261 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003854/0.5288, allocations: 492.2 kB / 0.6266 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.5292, allocations: 355.5 kB / 0.6269 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5292, allocations: 4.5 kB / 0.6269 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.5294, allocations: 32.53 kB / 0.6269 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.5294, allocations: 2.625 kB / 0.6269 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.5294, allocations: 8 kB / 0.6269 GB, free: 29.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.5294, allocations: 11.28 kB / 0.627 GB, free: 29.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5294, allocations: 4.641 kB / 0.627 GB, free: 29.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.53, allocations: 298.9 kB / 0.6272 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.5301, allocations: 122.1 kB / 0.6274 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.5301, allocations: 7 kB / 0.6274 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.5304, allocations: 19.28 kB / 0.6274 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.5305, allocations: 18.98 kB / 0.6274 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.5305, allocations: 12.42 kB / 0.6274 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001804/0.5307, allocations: 235.8 kB / 0.6276 GB, free: 28.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5307, allocations: 0 / 0.6276 GB, free: 28.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003925/0.5311, allocations: 120.8 kB / 0.6278 GB, free: 28.69 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.0002952/0.5314, allocations: 192.9 kB / 0.6279 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004451/0.5318, allocations: 243.7 kB / 0.6282 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5318, allocations: 0.5625 kB / 0.6282 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.532, allocations: 70.2 kB / 0.6282 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009594/0.533, allocations: 206.1 kB / 0.6284 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.5342, allocations: 0.9628 MB / 0.6294 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.5344, allocations: 0.7889 MB / 0.6301 GB, free: 27.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.5345, allocations: 31.06 kB / 0.6302 GB, free: 27.05 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.5345, allocations: 0 / 0.6302 GB, free: 27.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.007704/0.5422, allocations: 5.971 MB / 0.636 GB, free: 26.42 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)