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.7582/0.7582, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001087, allocations: 173.3 kB / 187.3 MB, free: 11.91 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.598/1.598, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.000922/0.0009222, allocations: 99.02 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001909/0.00191, allocations: 280.6 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.71e-05, allocations: 8 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5364/0.5364, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.922/1.458, allocations: 366.2 MB / 1.122 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/1.459, allocations: 91.77 kB / 1.122 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7425/2.201, allocations: 105.6 MB / 1.225 GB, free: 240 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.222e-06/2.201, allocations: 0 / 1.225 GB, free: 240 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.577e-05/2.201, allocations: 5.938 kB / 1.225 GB, free: 240 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.0009552/2.202, allocations: 0.6652 MB / 1.226 GB, free: 239.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/2.202, allocations: 9.469 kB / 1.226 GB, free: 239.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/2.203, allocations: 44.44 kB / 1.226 GB, free: 239.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/2.215, allocations: 6.796 MB / 1.232 GB, free: 235 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/2.215, allocations: 24.5 kB / 1.232 GB, free: 235 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/2.215, allocations: 31.98 kB / 1.232 GB, free: 235 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/2.216, allocations: 286.2 kB / 1.233 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/2.216, allocations: 0 / 1.233 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/2.216, allocations: 12.22 kB / 1.233 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/2.216, allocations: 7.984 kB / 1.233 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/2.216, allocations: 166 kB / 1.233 GB, free: 234.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/2.218, allocations: 1.492 MB / 1.234 GB, free: 232.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/2.218, allocations: 134.6 kB / 1.234 GB, free: 232.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.275e-05/2.218, allocations: 52.89 kB / 1.235 GB, free: 232.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/2.218, allocations: 81.11 kB / 1.235 GB, free: 232.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/2.219, allocations: 115.3 kB / 1.235 GB, free: 232.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/2.219, allocations: 0 / 1.235 GB, free: 232.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0003019/2.219, allocations: 155.2 kB / 1.235 GB, free: 232.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/2.219, allocations: 55.41 kB / 1.235 GB, free: 232.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/2.219, allocations: 303.5 kB / 1.235 GB, free: 231.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/2.219, allocations: 33.7 kB / 1.235 GB, free: 231.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/2.219, allocations: 214.7 kB / 1.235 GB, free: 231.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/2.219, allocations: 55.28 kB / 1.236 GB, free: 231.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/2.219, allocations: 4 kB / 1.236 GB, free: 231.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.887e-05/2.22, allocations: 346.8 kB / 1.236 GB, free: 231.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.198e-05/2.22, allocations: 56.48 kB / 1.236 GB, free: 231.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/2.22, allocations: 128.9 kB / 1.236 GB, free: 231.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/2.22, allocations: 95.05 kB / 1.236 GB, free: 231 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/2.22, allocations: 0 / 1.236 GB, free: 231 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003471/2.22, allocations: 284 kB / 1.236 GB, free: 230.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/2.22, allocations: 35.27 kB / 1.236 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/2.22, allocations: 4 kB / 1.236 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/2.22, allocations: 4 kB / 1.236 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/2.221, allocations: 63.89 kB / 1.236 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/2.221, allocations: 4.312 kB / 1.236 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/2.221, allocations: 51.59 kB / 1.237 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/2.221, allocations: 15.95 kB / 1.237 GB, free: 230.5 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.212e-05/2.221, allocations: 116.9 kB / 1.237 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/2.221, allocations: 31.62 kB / 1.237 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/2.221, allocations: 168.6 kB / 1.237 GB, free: 230.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/2.221, allocations: 7.938 kB / 1.237 GB, free: 230.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/2.221, allocations: 0 / 1.237 GB, free: 230.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002423/2.222, allocations: 453.6 kB / 1.237 GB, free: 229.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/2.222, allocations: 361.3 kB / 1.238 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/2.222, allocations: 0 / 1.238 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/2.222, allocations: 35.91 kB / 1.238 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/2.222, allocations: 0 / 1.238 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/2.222, allocations: 8 kB / 1.238 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/2.222, allocations: 0 / 1.238 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/2.222, allocations: 4 kB / 1.238 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/2.222, allocations: 240.6 kB / 1.238 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/2.223, allocations: 124.7 kB / 1.238 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/2.223, allocations: 8 kB / 1.238 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/2.223, allocations: 15.98 kB / 1.238 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/2.223, allocations: 27.91 kB / 1.238 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/2.223, allocations: 8 kB / 1.238 GB, free: 228.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000221/2.223, allocations: 242.2 kB / 1.238 GB, free: 228.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/2.223, allocations: 0 / 1.238 GB, free: 228.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004864/2.224, allocations: 143.9 kB / 1.238 GB, free: 228.4 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.000401/2.224, allocations: 236 kB / 1.239 GB, free: 228.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003086/2.224, allocations: 199.3 kB / 1.239 GB, free: 227.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/2.224, allocations: 3.938 kB / 1.239 GB, free: 227.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.769e-05/2.225, allocations: 53.39 kB / 1.239 GB, free: 227.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008927/2.225, allocations: 196.5 kB / 1.239 GB, free: 227.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/2.227, allocations: 0.5457 MB / 1.24 GB, free: 227.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/2.227, allocations: 0.7923 MB / 1.24 GB, free: 226.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002774/2.227, allocations: 63.23 kB / 1.24 GB, free: 226.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.966e-05/2.227, allocations: 35.44 kB / 1.241 GB, free: 226.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/2.227, allocations: 0 / 1.241 GB, free: 226.2 MB / 0.698 GB Notification: Performance of Templates: time 0.01227/2.24, allocations: 7.336 MB / 1.248 GB, free: 219 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)