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.8239/0.8239, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.001758/0.001758, allocations: 180 kB / 191.5 MB, free: 5.754 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.515/1.515, allocations: 223.2 MB / 447.7 MB, free: 4.785 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.001109/0.001109, allocations: 104.2 kB / 0.5188 GB, free: 1.141 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001767/0.001767, allocations: 274.2 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004727, allocations: 13.94 kB / 0.6929 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1901, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.919/1.109, allocations: 366.2 MB / 1.131 GB, free: 4.363 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/1.11, allocations: 96.02 kB / 1.131 GB, free: 4.312 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6354/1.745, allocations: 105.9 MB / 1.235 GB, free: 223.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.373e-06/1.745, allocations: 0 / 1.235 GB, free: 223.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.439e-05/1.745, allocations: 4 kB / 1.235 GB, free: 223.2 MB / 0.7136 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.001104/1.746, allocations: 0.7203 MB / 1.236 GB, free: 222.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/1.746, allocations: 8.031 kB / 1.236 GB, free: 222.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/1.746, allocations: 47.52 kB / 1.236 GB, free: 222.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01255/1.759, allocations: 6.856 MB / 1.242 GB, free: 215.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/1.759, allocations: 20.56 kB / 1.242 GB, free: 215.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/1.759, allocations: 31.91 kB / 1.242 GB, free: 215.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005959/1.76, allocations: 306.2 kB / 1.243 GB, free: 215 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/1.76, allocations: 0 / 1.243 GB, free: 215 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/1.76, allocations: 12.22 kB / 1.243 GB, free: 215 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/1.76, allocations: 11.98 kB / 1.243 GB, free: 215 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/1.76, allocations: 202 kB / 1.243 GB, free: 214.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/1.762, allocations: 1.489 MB / 1.244 GB, free: 213.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/1.762, allocations: 174.6 kB / 1.245 GB, free: 213 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/1.762, allocations: 85.09 kB / 1.245 GB, free: 212.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/1.763, allocations: 135.2 kB / 1.245 GB, free: 212.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/1.763, allocations: 0 / 1.245 GB, free: 212.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0006038/1.763, allocations: 246.7 kB / 1.245 GB, free: 212.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/1.763, allocations: 55.41 kB / 1.245 GB, free: 212.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/1.764, allocations: 304.9 kB / 1.245 GB, free: 212.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/1.764, allocations: 37.69 kB / 1.245 GB, free: 212.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/1.764, allocations: 211.8 kB / 1.246 GB, free: 211.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/1.764, allocations: 55.25 kB / 1.246 GB, free: 211.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/1.764, allocations: 4 kB / 1.246 GB, free: 211.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/1.764, allocations: 342.8 kB / 1.246 GB, free: 211.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/1.764, allocations: 72.45 kB / 1.246 GB, free: 211.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/1.764, allocations: 164.2 kB / 1.246 GB, free: 211.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/1.765, allocations: 117.7 kB / 1.246 GB, free: 211.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.765, allocations: 3.938 kB / 1.246 GB, free: 211.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005088/1.765, allocations: 322.6 kB / 1.247 GB, free: 210.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/1.765, allocations: 29.7 kB / 1.247 GB, free: 210.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.765, allocations: 8.312 kB / 1.247 GB, free: 210.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.765, allocations: 4 kB / 1.247 GB, free: 210.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/1.765, allocations: 55.91 kB / 1.247 GB, free: 210.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/1.765, allocations: 7.984 kB / 1.247 GB, free: 210.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/1.766, allocations: 47.61 kB / 1.247 GB, free: 210.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/1.766, allocations: 12 kB / 1.247 GB, free: 210.6 MB / 0.7136 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.0001514/1.766, allocations: 168.3 kB / 1.247 GB, free: 210.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/1.766, allocations: 31.62 kB / 1.247 GB, free: 210.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/1.766, allocations: 204.4 kB / 1.247 GB, free: 210.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.766, allocations: 4 kB / 1.247 GB, free: 210.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.766, allocations: 4 kB / 1.247 GB, free: 210.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003727/1.767, allocations: 485.3 kB / 1.248 GB, free: 209.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/1.767, allocations: 361.3 kB / 1.248 GB, free: 209.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.767, allocations: 0 / 1.248 GB, free: 209.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/1.767, allocations: 43.91 kB / 1.248 GB, free: 209.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.767, allocations: 0 / 1.248 GB, free: 209.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/1.767, allocations: 8 kB / 1.248 GB, free: 209.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.767, allocations: 0 / 1.248 GB, free: 209.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/1.767, allocations: 4 kB / 1.248 GB, free: 209.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/1.768, allocations: 302.8 kB / 1.248 GB, free: 208.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/1.768, allocations: 128.7 kB / 1.248 GB, free: 208.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/1.768, allocations: 8 kB / 1.248 GB, free: 208.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/1.768, allocations: 19.98 kB / 1.248 GB, free: 208.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/1.768, allocations: 15.97 kB / 1.248 GB, free: 208.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/1.768, allocations: 8 kB / 1.248 GB, free: 208.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002095/1.769, allocations: 247.2 kB / 1.249 GB, free: 208.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/1.769, allocations: 3.938 kB / 1.249 GB, free: 208.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004955/1.769, allocations: 136 kB / 1.249 GB, free: 208.3 MB / 0.7136 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.0003792/1.77, allocations: 248.4 kB / 1.249 GB, free: 208.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004427/1.77, allocations: 239.1 kB / 1.249 GB, free: 207.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.77, allocations: 0.625 kB / 1.249 GB, free: 207.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/1.77, allocations: 79.89 kB / 1.249 GB, free: 207.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008533/1.771, allocations: 195.2 kB / 1.25 GB, free: 207.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/1.772, allocations: 0.9442 MB / 1.25 GB, free: 206.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/1.773, allocations: 0.8001 MB / 1.251 GB, free: 205.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002465/1.773, allocations: 67.25 kB / 1.251 GB, free: 205.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.14e-05/1.773, allocations: 31.42 kB / 1.251 GB, free: 205.6 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/1.773, allocations: 4 kB / 1.251 GB, free: 205.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.01116/1.784, allocations: 7.168 MB / 1.258 GB, free: 198.6 MB / 0.7136 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)