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.537/1.537, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009247/0.0009247, allocations: 169.5 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205 MB / 0.5766 GB, free: 20.94 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.0007962/0.0007962, allocations: 91.31 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 8.562 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2643, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01171/0.2761, allocations: 14.08 MB / 0.9105 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004713/0.2809, allocations: 3.64 MB / 0.914 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007728/0.2817, allocations: 19.88 kB / 0.9141 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000794/0.2825, allocations: 167.1 kB / 0.9142 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.2841, allocations: 0.5444 MB / 0.9147 GB, free: 49.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009052/0.285, allocations: 325.6 kB / 0.9151 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.2863, allocations: 1.438 MB / 0.9165 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003479/0.2866, allocations: 263.6 kB / 0.9167 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003422/0.287, allocations: 318.7 kB / 0.917 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.2873, allocations: 302.6 kB / 0.9173 GB, free: 47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.2873, allocations: 12 kB / 0.9173 GB, free: 46.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005224/0.2879, allocations: 235.4 kB / 0.9175 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.657e-05/0.288, allocations: 79.66 kB / 0.9176 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.2881, allocations: 179 kB / 0.9178 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.2885, allocations: 438.9 kB / 0.9182 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2886, allocations: 0 / 0.9182 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.454e-06/0.2886, allocations: 0 / 0.9182 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.535e-06/0.2886, allocations: 4 kB / 0.9182 GB, free: 46.07 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.001002/0.2896, allocations: 0.668 MB / 0.9189 GB, free: 45.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.2896, allocations: 8.031 kB / 0.9189 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.2898, allocations: 48.38 kB / 0.9189 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006606/0.2905, allocations: 483 kB / 0.9194 GB, free: 44.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.2906, allocations: 24.69 kB / 0.9194 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.2906, allocations: 27.98 kB / 0.9194 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005127/0.2911, allocations: 306.2 kB / 0.9197 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.2912, allocations: 3.938 kB / 0.9197 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.2912, allocations: 12 kB / 0.9197 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.2912, allocations: 4 kB / 0.9197 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.2916, allocations: 210 kB / 0.9199 GB, free: 44.18 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.001377/0.293, allocations: 1.485 MB / 0.9214 GB, free: 42.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.2934, allocations: 158.6 kB / 0.9215 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.2936, allocations: 87.55 kB / 0.9216 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.2938, allocations: 89.09 kB / 0.9217 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/0.294, allocations: 127.9 kB / 0.9218 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.694e-06/0.2941, allocations: 0 / 0.9218 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0005612/0.2946, allocations: 247.2 kB / 0.9221 GB, free: 41.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.2947, allocations: 67.33 kB / 0.9221 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.295, allocations: 325.7 kB / 0.9224 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.295, allocations: 33.7 kB / 0.9225 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.2951, allocations: 215.7 kB / 0.9227 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.2952, allocations: 47.27 kB / 0.9227 GB, free: 41.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.2952, allocations: 33.7 kB / 0.9228 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.2953, allocations: 334.8 kB / 0.9231 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.2955, allocations: 79.95 kB / 0.9232 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.2957, allocations: 145.4 kB / 0.9233 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.296, allocations: 265.5 kB / 0.9235 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.296, allocations: 0 / 0.9235 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004906/0.2965, allocations: 318.7 kB / 0.9238 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.2966, allocations: 41.94 kB / 0.9239 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2966, allocations: 8 kB / 0.9239 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2966, allocations: 7.938 kB / 0.9239 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.2968, allocations: 55.91 kB / 0.924 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.2968, allocations: 7.938 kB / 0.924 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.2971, allocations: 39.67 kB / 0.924 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.2971, allocations: 23.97 kB / 0.924 GB, free: 39.69 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.2973, allocations: 153.8 kB / 0.9242 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.2973, allocations: 31.62 kB / 0.9242 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004195/0.2978, allocations: 212.4 kB / 0.9244 GB, free: 39.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2978, allocations: 3.938 kB / 0.9244 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2978, allocations: 0 / 0.9244 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003899/0.2982, allocations: 0.4893 MB / 0.9249 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.2985, allocations: 345.4 kB / 0.9252 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2985, allocations: 0 / 0.9252 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.2987, allocations: 35.97 kB / 0.9252 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2987, allocations: 0 / 0.9252 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.2987, allocations: 4 kB / 0.9253 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2987, allocations: 3.938 kB / 0.9253 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2988, allocations: 0 / 0.9253 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.2993, allocations: 310.2 kB / 0.9256 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.049e-05/0.2994, allocations: 116.8 kB / 0.9257 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.2994, allocations: 4 kB / 0.9257 GB, free: 37.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.2997, allocations: 27.83 kB / 0.9257 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/0.2998, allocations: 23.91 kB / 0.9257 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.2998, allocations: 4 kB / 0.9257 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001802/0.3, allocations: 235.2 kB / 0.9259 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3, allocations: 0 / 0.9259 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003653/0.3003, allocations: 115.8 kB / 0.9261 GB, free: 37.41 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002906/0.3006, allocations: 191 kB / 0.9262 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004373/0.3011, allocations: 237.2 kB / 0.9265 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3011, allocations: 0 / 0.9265 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.3013, allocations: 76.52 kB / 0.9265 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008928/0.3022, allocations: 201.6 kB / 0.9267 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.3035, allocations: 0.8749 MB / 0.9276 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.3037, allocations: 0.7881 MB / 0.9284 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.057e-05/0.3038, allocations: 39.42 kB / 0.9284 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of SimCode: time 6.81e-07/0.3038, allocations: 3.938 kB / 0.9284 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.007073/0.3109, allocations: 5.803 MB / 0.9341 GB, free: 29.18 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)