Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7969/0.7969, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 184.2 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009606/0.0009607, allocations: 80.12 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001969/0.001969, allocations: 276.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.511e-05/2.506e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.4578, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7846/1.242, allocations: 365.5 MB / 1.114 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/1.243, allocations: 86.89 kB / 1.114 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.6001/1.843, allocations: 105.1 MB / 1.217 GB, free: 237.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.894e-06/1.843, allocations: 0 / 1.217 GB, free: 237.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.339e-05/1.843, allocations: 8 kB / 1.217 GB, free: 237.8 MB / 0.698 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.001054/1.844, allocations: 0.6531 MB / 1.218 GB, free: 237.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.844, allocations: 8.031 kB / 1.218 GB, free: 237.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002454/1.844, allocations: 51.45 kB / 1.218 GB, free: 237.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/1.857, allocations: 6.784 MB / 1.224 GB, free: 230.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/1.857, allocations: 8 kB / 1.224 GB, free: 230.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-05/1.857, allocations: 16 kB / 1.224 GB, free: 230.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003551/1.858, allocations: 141.1 kB / 1.225 GB, free: 230.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/1.858, allocations: 245.1 kB / 1.225 GB, free: 229.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/1.858, allocations: 4.156 kB / 1.225 GB, free: 229.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/1.858, allocations: 8 kB / 1.225 GB, free: 229.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/1.858, allocations: 11.92 kB / 1.225 GB, free: 229.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/1.86, allocations: 1.434 MB / 1.226 GB, free: 228.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/1.86, allocations: 118.6 kB / 1.226 GB, free: 228.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.698e-05/1.86, allocations: 52.89 kB / 1.226 GB, free: 228.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/1.86, allocations: 85.11 kB / 1.226 GB, free: 228 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/1.861, allocations: 104.8 kB / 1.227 GB, free: 227.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/1.861, allocations: 0 / 1.227 GB, free: 227.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0003582/1.861, allocations: 145.3 kB / 1.227 GB, free: 227.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/1.861, allocations: 55.34 kB / 1.227 GB, free: 227.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/1.861, allocations: 273.1 kB / 1.227 GB, free: 227.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/1.861, allocations: 29.7 kB / 1.227 GB, free: 227.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/1.861, allocations: 215.8 kB / 1.227 GB, free: 227.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/1.861, allocations: 55.3 kB / 1.227 GB, free: 227.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/1.861, allocations: 0 / 1.227 GB, free: 227.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.49e-05/1.861, allocations: 338.8 kB / 1.228 GB, free: 226.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-05/1.862, allocations: 51.98 kB / 1.228 GB, free: 226.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.73e-05/1.862, allocations: 117.9 kB / 1.228 GB, free: 226.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/1.862, allocations: 81.27 kB / 1.228 GB, free: 226.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/1.862, allocations: 0 / 1.228 GB, free: 226.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003942/1.862, allocations: 229.9 kB / 1.228 GB, free: 226.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/1.862, allocations: 37.7 kB / 1.228 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.862, allocations: 4 kB / 1.228 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.862, allocations: 4 kB / 1.228 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/1.863, allocations: 56.22 kB / 1.228 GB, free: 226.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.863, allocations: 13.08 kB / 1.228 GB, free: 226.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/1.863, allocations: 35.67 kB / 1.228 GB, free: 226.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/1.863, allocations: 12 kB / 1.228 GB, free: 226.1 MB / 0.698 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 () * 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 7.521e-05/1.863, allocations: 112.9 kB / 1.228 GB, free: 226 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/1.863, allocations: 31.62 kB / 1.228 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/1.863, allocations: 153.9 kB / 1.228 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.863, allocations: 0 / 1.228 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.863, allocations: 0 / 1.228 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002164/1.864, allocations: 459.6 kB / 1.229 GB, free: 225.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/1.864, allocations: 305.9 kB / 1.229 GB, free: 224.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.864, allocations: 0 / 1.229 GB, free: 224.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/1.864, allocations: 35.98 kB / 1.229 GB, free: 224.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.864, allocations: 0 / 1.229 GB, free: 224.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/1.864, allocations: 0 / 1.229 GB, free: 224.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.864, allocations: 8 kB / 1.229 GB, free: 224.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.864, allocations: 0 / 1.229 GB, free: 224.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/1.865, allocations: 230 kB / 1.229 GB, free: 224.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/1.865, allocations: 136.6 kB / 1.23 GB, free: 224.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/1.865, allocations: 0 / 1.23 GB, free: 224.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/1.865, allocations: 19.98 kB / 1.23 GB, free: 224.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/1.865, allocations: 19.97 kB / 1.23 GB, free: 224.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/1.865, allocations: 11.98 kB / 1.23 GB, free: 224.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001627/1.865, allocations: 208.6 kB / 1.23 GB, free: 224.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/1.865, allocations: 0 / 1.23 GB, free: 224.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000477/1.866, allocations: 135.9 kB / 1.23 GB, free: 224.1 MB / 0.698 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) * 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.000373/1.866, allocations: 236.7 kB / 1.23 GB, free: 223.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00025/1.866, allocations: 183.8 kB / 1.23 GB, free: 223.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.866, allocations: 4 kB / 1.23 GB, free: 223.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/1.866, allocations: 58.17 kB / 1.23 GB, free: 223.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008855/1.867, allocations: 174.2 kB / 1.231 GB, free: 223.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008933/1.868, allocations: 0.5347 MB / 1.231 GB, free: 222.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/1.868, allocations: 0.7991 MB / 1.232 GB, free: 222.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002885/1.869, allocations: 51.02 kB / 1.232 GB, free: 222 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/1.869, allocations: 39.42 kB / 1.232 GB, free: 222 MB / 0.698 GB Notification: Performance of SimCode: time 2.8e-07/1.869, allocations: 0 / 1.232 GB, free: 222 MB / 0.698 GB Notification: Performance of Templates: time 0.01013/1.879, allocations: 6.138 MB / 1.238 GB, free: 215.9 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)