Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Storage.Examples.ExpansionVessel.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002624/0.002628, allocations: 353.1 kB / 16.57 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.4/1.4, allocations: 165.8 MB / 183.1 MB, free: 5.395 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.686/3.686, allocations: 410.8 MB / 0.6001 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001739/0.001738, allocations: 193.6 kB / 0.6668 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.000468, allocations: 16 kB / 0.7429 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4068, allocations: 67.43 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.35/1.756, allocations: 355.4 MB / 1.156 GB, free: 159.2 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/1.757, allocations: 95.59 kB / 1.156 GB, free: 159.2 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.325/2.082, allocations: 103.2 MB / 1.257 GB, free: 114.7 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.553e-06/2.082, allocations: 0 / 1.257 GB, free: 114.7 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.548e-05/2.082, allocations: 8 kB / 1.257 GB, free: 114.7 MB / 0.573 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.001486/2.083, allocations: 0.7196 MB / 1.257 GB, free: 113.9 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/2.083, allocations: 8.031 kB / 1.257 GB, free: 113.9 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/2.084, allocations: 55.52 kB / 1.257 GB, free: 113.8 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01709/2.101, allocations: 6.042 MB / 1.263 GB, free: 107.7 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/2.101, allocations: 24.55 kB / 1.263 GB, free: 107.7 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-05/2.101, allocations: 24 kB / 1.263 GB, free: 107.7 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007975/2.102, allocations: 314.1 kB / 1.264 GB, free: 107.3 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/2.102, allocations: 0 / 1.264 GB, free: 107.3 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.465e-05/2.102, allocations: 12 kB / 1.264 GB, free: 107.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/2.102, allocations: 8 kB / 1.264 GB, free: 107.3 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006971/2.103, allocations: 206 kB / 1.264 GB, free: 107.1 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/2.105, allocations: 1.477 MB / 1.265 GB, free: 105.5 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006427/2.106, allocations: 174.5 kB / 1.266 GB, free: 105.3 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/2.106, allocations: 68.81 kB / 1.266 GB, free: 105.2 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/2.106, allocations: 85.11 kB / 1.266 GB, free: 105.1 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003961/2.106, allocations: 131.3 kB / 1.266 GB, free: 105 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 3.547e-06/2.106, allocations: 0 / 1.266 GB, free: 105 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.000948/2.107, allocations: 254.5 kB / 1.266 GB, free: 104.8 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/2.107, allocations: 55.41 kB / 1.266 GB, free: 104.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/2.108, allocations: 329.6 kB / 1.266 GB, free: 104.4 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/2.108, allocations: 33.69 kB / 1.266 GB, free: 104.3 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/2.108, allocations: 207.8 kB / 1.267 GB, free: 104.1 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/2.108, allocations: 59.27 kB / 1.267 GB, free: 104.1 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/2.108, allocations: 8 kB / 1.267 GB, free: 104 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.953e-05/2.108, allocations: 342.8 kB / 1.267 GB, free: 103.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/2.109, allocations: 71.95 kB / 1.267 GB, free: 103.6 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/2.109, allocations: 161.3 kB / 1.267 GB, free: 103.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/2.109, allocations: 117.7 kB / 1.267 GB, free: 103.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/2.109, allocations: 4 kB / 1.267 GB, free: 103.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008891/2.11, allocations: 319.6 kB / 1.268 GB, free: 103 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/2.11, allocations: 33.7 kB / 1.268 GB, free: 102.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/2.11, allocations: 0 / 1.268 GB, free: 102.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/2.11, allocations: 8 kB / 1.268 GB, free: 102.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/2.111, allocations: 59.89 kB / 1.268 GB, free: 102.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/2.111, allocations: 4.156 kB / 1.268 GB, free: 102.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/2.111, allocations: 43.67 kB / 1.268 GB, free: 102.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/2.111, allocations: 12 kB / 1.268 GB, free: 102.8 MB / 0.573 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.0002518/2.112, allocations: 161.7 kB / 1.268 GB, free: 102.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/2.112, allocations: 31.62 kB / 1.268 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007037/2.112, allocations: 211.8 kB / 1.268 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/2.112, allocations: 11.92 kB / 1.268 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/2.112, allocations: 4 kB / 1.268 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006218/2.113, allocations: 495.7 kB / 1.269 GB, free: 101.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006044/2.114, allocations: 353.3 kB / 1.269 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/2.114, allocations: 0 / 1.269 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/2.114, allocations: 39.91 kB / 1.269 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/2.114, allocations: 0 / 1.269 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/2.114, allocations: 4 kB / 1.269 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/2.114, allocations: 0 / 1.269 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/2.114, allocations: 4 kB / 1.269 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009114/2.115, allocations: 296.6 kB / 1.269 GB, free: 101.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/2.115, allocations: 128.7 kB / 1.27 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/2.115, allocations: 4 kB / 1.27 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/2.116, allocations: 23.92 kB / 1.27 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/2.116, allocations: 15.97 kB / 1.27 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/2.116, allocations: 11.98 kB / 1.27 GB, free: 100.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003202/2.116, allocations: 227.2 kB / 1.27 GB, free: 100.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.91e-07/2.116, allocations: 7.938 kB / 1.27 GB, free: 100.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006389/2.117, allocations: 135.9 kB / 1.27 GB, free: 100.5 MB / 0.573 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.0004251/2.117, allocations: 228.2 kB / 1.27 GB, free: 100.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0007066/2.118, allocations: 231.7 kB / 1.27 GB, free: 100.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/2.118, allocations: 8.062 kB / 1.27 GB, free: 100 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/2.118, allocations: 71.89 kB / 1.27 GB, free: 99.97 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/2.12, allocations: 203.9 kB / 1.271 GB, free: 99.78 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/2.122, allocations: 0.9541 MB / 1.272 GB, free: 98.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/2.122, allocations: 0.7962 MB / 1.272 GB, free: 97.98 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004478/2.123, allocations: 71.12 kB / 1.272 GB, free: 97.91 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/2.123, allocations: 31.42 kB / 1.272 GB, free: 97.88 MB / 0.573 GB Notification: Performance of SimCode: time 1.012e-06/2.123, allocations: 4 kB / 1.272 GB, free: 97.88 MB / 0.573 GB Notification: Performance of Templates: time 0.01734/2.14, allocations: 6.919 MB / 1.279 GB, free: 91.05 MB / 0.573 GB