Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 180.7 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008128/0.0008128, allocations: 91.34 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 11.86 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2684, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01147/0.2799, allocations: 13.21 MB / 0.9137 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004668/0.2846, allocations: 3.37 MB / 0.917 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006603/0.2853, allocations: 15.88 kB / 0.917 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006155/0.2859, allocations: 147.1 kB / 0.9172 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.2873, allocations: 481.6 kB / 0.9176 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008162/0.2881, allocations: 285.7 kB / 0.9179 GB, free: 46.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001122/0.2892, allocations: 1.227 MB / 0.9191 GB, free: 45.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.2896, allocations: 234.1 kB / 0.9193 GB, free: 44.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003604/0.29, allocations: 310.7 kB / 0.9196 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/0.2903, allocations: 282.7 kB / 0.9199 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.2903, allocations: 12 kB / 0.9199 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004438/0.2908, allocations: 147.6 kB / 0.92 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.126e-05/0.2909, allocations: 71.67 kB / 0.9201 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.272e-05/0.291, allocations: 97.52 kB / 0.9202 GB, free: 44.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.2913, allocations: 419.3 kB / 0.9206 GB, free: 43.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.2914, allocations: 0 / 0.9206 GB, free: 43.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2914, allocations: 0 / 0.9206 GB, free: 43.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.2914, allocations: 0 / 0.9206 GB, free: 43.6 MB / 0.6042 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.001059/0.2924, allocations: 0.6763 MB / 0.9213 GB, free: 42.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2925, allocations: 12.02 kB / 0.9213 GB, free: 42.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.2927, allocations: 47.44 kB / 0.9213 GB, free: 42.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/0.2934, allocations: 461.8 kB / 0.9218 GB, free: 42.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.2934, allocations: 16.56 kB / 0.9218 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.663e-05/0.2935, allocations: 28 kB / 0.9218 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.294, allocations: 310.2 kB / 0.9221 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.2941, allocations: 3.938 kB / 0.9221 GB, free: 41.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.2941, allocations: 12 kB / 0.9221 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.2941, allocations: 8 kB / 0.9221 GB, free: 41.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.2946, allocations: 202.1 kB / 0.9223 GB, free: 41.72 MB / 0.6042 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.001447/0.296, allocations: 1.477 MB / 0.9238 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.2965, allocations: 180.8 kB / 0.9239 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.2966, allocations: 76.77 kB / 0.924 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/0.2968, allocations: 85.34 kB / 0.9241 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/0.2971, allocations: 136.2 kB / 0.9242 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.2971, allocations: 0 / 0.9242 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0005957/0.2977, allocations: 247.1 kB / 0.9244 GB, free: 39.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.2977, allocations: 59.34 kB / 0.9245 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.298, allocations: 325.7 kB / 0.9248 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.2981, allocations: 29.7 kB / 0.9248 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2982, allocations: 219.6 kB / 0.925 GB, free: 38.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.2982, allocations: 47.36 kB / 0.9251 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.2982, allocations: 8 kB / 0.9251 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.2983, allocations: 346.8 kB / 0.9254 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.2985, allocations: 71.95 kB / 0.9255 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.2987, allocations: 149.4 kB / 0.9256 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.2989, allocations: 119.8 kB / 0.9258 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2989, allocations: 4 kB / 0.9258 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004908/0.2994, allocations: 318.7 kB / 0.9261 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.2995, allocations: 33.7 kB / 0.9261 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2995, allocations: 0 / 0.9261 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.2995, allocations: 4 kB / 0.9261 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.2997, allocations: 68.22 kB / 0.9262 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2998, allocations: 7.938 kB / 0.9262 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.3, allocations: 43.66 kB / 0.9262 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.3001, allocations: 8 kB / 0.9262 GB, free: 37.45 MB / 0.6042 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.0001667/0.3002, allocations: 157.7 kB / 0.9264 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.3003, allocations: 35.61 kB / 0.9264 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004328/0.3007, allocations: 200.5 kB / 0.9266 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3007, allocations: 4 kB / 0.9266 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3007, allocations: 0 / 0.9266 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003958/0.3012, allocations: 0.4907 MB / 0.9271 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.3015, allocations: 357.3 kB / 0.9274 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3015, allocations: 3.938 kB / 0.9274 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.3017, allocations: 31.98 kB / 0.9275 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3017, allocations: 0 / 0.9275 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.3017, allocations: 8 kB / 0.9275 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3018, allocations: 8 kB / 0.9275 GB, free: 36.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3018, allocations: 3.938 kB / 0.9275 GB, free: 36.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.3023, allocations: 300.5 kB / 0.9278 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.3025, allocations: 124.8 kB / 0.9279 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.3025, allocations: 0 / 0.9279 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.3027, allocations: 27.91 kB / 0.9279 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.3028, allocations: 19.97 kB / 0.9279 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.3028, allocations: 4 kB / 0.9279 GB, free: 35.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002018/0.3031, allocations: 239.2 kB / 0.9282 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3031, allocations: 0 / 0.9282 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003973/0.3035, allocations: 115.8 kB / 0.9283 GB, free: 35.16 MB / 0.6042 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.0002664/0.3037, allocations: 171.1 kB / 0.9284 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004643/0.3042, allocations: 235.1 kB / 0.9287 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3042, allocations: 4.562 kB / 0.9287 GB, free: 34.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.3044, allocations: 75.95 kB / 0.9287 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/0.3053, allocations: 206.2 kB / 0.9289 GB, free: 34.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.3067, allocations: 0.984 MB / 0.9299 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.3069, allocations: 0.7845 MB / 0.9307 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.378e-05/0.307, allocations: 39.42 kB / 0.9307 GB, free: 32.61 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.307, allocations: 0 / 0.9307 GB, free: 32.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.007452/0.3145, allocations: 5.774 MB / 0.9363 GB, free: 26.86 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)