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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.001238/0.001238, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0015/0.0015, allocations: 177.3 kB / 15.95 MB, free: 216 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.485/1.485, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9925/0.9925, allocations: 143.3 MB / 434.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003162, allocations: 8 kB / 0.5158 GB, free: 11.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1574, allocations: 83.41 MB / 0.5973 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.2598/0.4172, allocations: 12.1 MB / 0.6091 GB, free: 35.9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004243/0.4215, allocations: 3.176 MB / 0.6122 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000416/0.4219, allocations: 16.72 kB / 0.6122 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.4225, allocations: 198.1 kB / 0.6124 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.4237, allocations: 0.5825 MB / 0.613 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.4248, allocations: 470.7 kB / 0.6134 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000792/0.4256, allocations: 0.6461 MB / 0.614 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.4259, allocations: 237.9 kB / 0.6143 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003503/0.4263, allocations: 277.3 kB / 0.6145 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.4265, allocations: 194.2 kB / 0.6147 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.4265, allocations: 11.81 kB / 0.6147 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000417/0.427, allocations: 168.1 kB / 0.6149 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.143e-05/0.4271, allocations: 65.97 kB / 0.615 GB, free: 35.37 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.64e-05/0.4271, allocations: 106.8 kB / 0.6151 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003861/0.4275, allocations: 441 kB / 0.6155 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.4275, allocations: 4 kB / 0.6155 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4276, allocations: 0 / 0.6155 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.4276, allocations: 0 / 0.6155 GB, free: 35.29 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.0008503/0.4284, allocations: 0.6804 MB / 0.6161 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.4285, allocations: 10.03 kB / 0.6162 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.4286, allocations: 56.88 kB / 0.6162 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/0.4292, allocations: 424.5 kB / 0.6166 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.4292, allocations: 19.62 kB / 0.6166 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.4293, allocations: 30.28 kB / 0.6167 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004781/0.4297, allocations: 316.7 kB / 0.617 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4298, allocations: 0 / 0.617 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.4298, allocations: 9.828 kB / 0.617 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.4298, allocations: 8.719 kB / 0.617 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004176/0.4303, allocations: 208.3 kB / 0.6172 GB, free: 34.41 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.001407/0.4317, allocations: 1.503 MB / 0.6186 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.4321, allocations: 174.3 kB / 0.6188 GB, free: 33.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.4322, allocations: 85.27 kB / 0.6189 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000263/0.4325, allocations: 131 kB / 0.619 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.913e-06/0.4325, allocations: 0 / 0.619 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005684/0.4331, allocations: 254.5 kB / 0.6193 GB, free: 33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.4331, allocations: 54.38 kB / 0.6193 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.4334, allocations: 360.4 kB / 0.6197 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.4334, allocations: 32.64 kB / 0.6197 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.4335, allocations: 210.3 kB / 0.6199 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.4336, allocations: 61.34 kB / 0.62 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.4336, allocations: 4 kB / 0.62 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.518e-05/0.4337, allocations: 347 kB / 0.6203 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.4338, allocations: 64.45 kB / 0.6203 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.434, allocations: 156.4 kB / 0.6205 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.4342, allocations: 120 kB / 0.6206 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4343, allocations: 0 / 0.6206 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005003/0.4348, allocations: 323.7 kB / 0.6209 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.4348, allocations: 35.55 kB / 0.621 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4348, allocations: 10.86 kB / 0.621 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4348, allocations: 5.656 kB / 0.621 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.4351, allocations: 57.81 kB / 0.621 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4351, allocations: 6.344 kB / 0.621 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.4353, allocations: 39.72 kB / 0.6211 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.4354, allocations: 12.03 kB / 0.6211 GB, free: 31.73 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.0001252/0.4355, allocations: 162.8 kB / 0.6212 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.4356, allocations: 32.81 kB / 0.6213 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000407/0.436, allocations: 211 kB / 0.6215 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.436, allocations: 6.922 kB / 0.6215 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.436, allocations: 3.062 kB / 0.6215 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003592/0.4364, allocations: 495.2 kB / 0.6219 GB, free: 31.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.4367, allocations: 351.2 kB / 0.6223 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4367, allocations: 0 / 0.6223 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.4369, allocations: 40.42 kB / 0.6223 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4369, allocations: 6.938 kB / 0.6223 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.4369, allocations: 4 kB / 0.6223 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4369, allocations: 0 / 0.6223 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4369, allocations: 10.86 kB / 0.6223 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.4375, allocations: 298.8 kB / 0.6226 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.4376, allocations: 129.3 kB / 0.6228 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.4376, allocations: 4 kB / 0.6228 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.4379, allocations: 26.58 kB / 0.6228 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.4379, allocations: 23.39 kB / 0.6228 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.438, allocations: 9.234 kB / 0.6228 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001942/0.4382, allocations: 255.6 kB / 0.6231 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4382, allocations: 0 / 0.6231 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003932/0.4386, allocations: 128 kB / 0.6232 GB, free: 30.28 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.0002345/0.4388, allocations: 203.4 kB / 0.6234 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004198/0.4392, allocations: 232.5 kB / 0.6236 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4393, allocations: 0.625 kB / 0.6236 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.4394, allocations: 84.11 kB / 0.6237 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008303/0.4403, allocations: 191.8 kB / 0.6239 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.4414, allocations: 0.9492 MB / 0.6248 GB, free: 29.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.4416, allocations: 0.8032 MB / 0.6256 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002326/0.4419, allocations: 65.25 kB / 0.6256 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.4419, allocations: 40.36 kB / 0.6257 GB, free: 28.67 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.4419, allocations: 3.938 kB / 0.6257 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.01014/0.4521, allocations: 6.834 MB / 0.6323 GB, free: 28.06 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: