Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.404/2.404, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 194.3 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 100.8 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 47.23 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2844, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.0149/0.2994, allocations: 14.41 MB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.004518/0.3039, allocations: 3.683 MB / 1.236 GB, free: 99.03 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006282/0.3046, allocations: 19.88 kB / 1.236 GB, free: 99.01 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006517/0.3053, allocations: 159.1 kB / 1.236 GB, free: 98.86 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.3067, allocations: 0.5444 MB / 1.236 GB, free: 98.31 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009178/0.3077, allocations: 362.9 kB / 1.237 GB, free: 97.96 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001364/0.309, allocations: 1.457 MB / 1.238 GB, free: 96.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004729/0.3095, allocations: 268.3 kB / 1.238 GB, free: 96.23 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004669/0.31, allocations: 326.5 kB / 1.239 GB, free: 95.91 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.3103, allocations: 298.6 kB / 1.239 GB, free: 95.62 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.3104, allocations: 20 kB / 1.239 GB, free: 95.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/0.3109, allocations: 247.4 kB / 1.239 GB, free: 95.36 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.477e-05/0.311, allocations: 83.61 kB / 1.239 GB, free: 95.28 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.3112, allocations: 195 kB / 1.24 GB, free: 95.09 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005739/0.3117, allocations: 0.5782 MB / 1.24 GB, free: 94.51 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3118, allocations: 4 kB / 1.24 GB, free: 94.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3118, allocations: 0 / 1.24 GB, free: 94.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3118, allocations: 0 / 1.24 GB, free: 94.5 MB / 0.823 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.001066/0.3128, allocations: 0.7419 MB / 1.241 GB, free: 93.71 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3129, allocations: 19.92 kB / 1.241 GB, free: 93.69 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.3131, allocations: 44.47 kB / 1.241 GB, free: 93.64 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000631/0.3137, allocations: 487.7 kB / 1.241 GB, free: 93.13 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.3137, allocations: 20.69 kB / 1.241 GB, free: 93.11 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.3138, allocations: 28 kB / 1.241 GB, free: 93.08 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.3143, allocations: 314.2 kB / 1.242 GB, free: 92.75 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.3143, allocations: 0 / 1.242 GB, free: 92.75 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.3143, allocations: 12 kB / 1.242 GB, free: 92.74 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.3144, allocations: 7.984 kB / 1.242 GB, free: 92.73 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/0.3148, allocations: 190.1 kB / 1.242 GB, free: 92.55 MB / 0.823 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.001369/0.3161, allocations: 1.485 MB / 1.243 GB, free: 90.93 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.3165, allocations: 162.6 kB / 1.244 GB, free: 90.77 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.3167, allocations: 68.81 kB / 1.244 GB, free: 90.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.3169, allocations: 85.11 kB / 1.244 GB, free: 90.59 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.3171, allocations: 129.7 kB / 1.244 GB, free: 90.46 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.3172, allocations: 0 / 1.244 GB, free: 90.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0005565/0.3177, allocations: 237 kB / 1.244 GB, free: 90.22 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.3178, allocations: 51.41 kB / 1.244 GB, free: 90.16 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.318, allocations: 341.7 kB / 1.244 GB, free: 89.81 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.318, allocations: 25.7 kB / 1.244 GB, free: 89.78 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3181, allocations: 219.8 kB / 1.245 GB, free: 89.56 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.3182, allocations: 59.19 kB / 1.245 GB, free: 89.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.3183, allocations: 53.61 kB / 1.245 GB, free: 89.44 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.3183, allocations: 342.8 kB / 1.245 GB, free: 89.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.3185, allocations: 67.95 kB / 1.245 GB, free: 89.03 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.3187, allocations: 154.4 kB / 1.245 GB, free: 88.85 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.319, allocations: 244.5 kB / 1.246 GB, free: 88.57 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.319, allocations: 0 / 1.246 GB, free: 88.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004758/0.3195, allocations: 312.9 kB / 1.246 GB, free: 88.25 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.3196, allocations: 33.7 kB / 1.246 GB, free: 88.21 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3196, allocations: 7.938 kB / 1.246 GB, free: 88.21 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3196, allocations: 15.81 kB / 1.246 GB, free: 88.19 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.3198, allocations: 60.27 kB / 1.246 GB, free: 88.13 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3198, allocations: 7.938 kB / 1.246 GB, free: 88.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.3201, allocations: 31.77 kB / 1.246 GB, free: 88.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.3201, allocations: 12 kB / 1.246 GB, free: 88.08 MB / 0.823 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.0001232/0.3202, allocations: 158.4 kB / 1.246 GB, free: 87.92 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.3203, allocations: 35.53 kB / 1.246 GB, free: 87.88 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.3207, allocations: 200.5 kB / 1.246 GB, free: 87.68 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3207, allocations: 3.938 kB / 1.246 GB, free: 87.68 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3207, allocations: 0 / 1.246 GB, free: 87.68 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00036/0.3211, allocations: 490.1 kB / 1.247 GB, free: 87.11 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/0.3214, allocations: 349.4 kB / 1.247 GB, free: 86.72 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3214, allocations: 0 / 1.247 GB, free: 86.72 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.3216, allocations: 35.97 kB / 1.247 GB, free: 86.69 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3216, allocations: 0 / 1.247 GB, free: 86.69 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.3216, allocations: 4 kB / 1.247 GB, free: 86.68 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3216, allocations: 3.938 kB / 1.247 GB, free: 86.68 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3216, allocations: 4 kB / 1.247 GB, free: 86.68 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.3239, allocations: 1.861 MB / 1.249 GB, free: 84.67 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.735e-05/0.324, allocations: 124.7 kB / 1.249 GB, free: 84.53 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.3241, allocations: 4 kB / 1.249 GB, free: 84.53 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.3243, allocations: 15.89 kB / 1.249 GB, free: 84.51 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.3244, allocations: 19.97 kB / 1.249 GB, free: 84.49 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.3244, allocations: 11.98 kB / 1.249 GB, free: 84.48 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001768/0.3246, allocations: 231.2 kB / 1.249 GB, free: 84.25 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3246, allocations: 4 kB / 1.249 GB, free: 84.25 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005213/0.3251, allocations: 167.9 kB / 1.25 GB, free: 84.09 MB / 0.823 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.0003392/0.3255, allocations: 187.2 kB / 1.25 GB, free: 83.89 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004433/0.3259, allocations: 229.9 kB / 1.25 GB, free: 83.66 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3259, allocations: 3.938 kB / 1.25 GB, free: 83.66 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.3261, allocations: 68.52 kB / 1.25 GB, free: 83.59 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008945/0.327, allocations: 207.1 kB / 1.25 GB, free: 83.39 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.3283, allocations: 1.012 MB / 1.251 GB, free: 82.34 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.3285, allocations: 0.796 MB / 1.252 GB, free: 81.52 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002456/0.3288, allocations: 63.25 kB / 1.252 GB, free: 81.45 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/0.3289, allocations: 31.42 kB / 1.252 GB, free: 81.42 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/0.3289, allocations: 4 kB / 1.252 GB, free: 81.42 MB / 0.823 GB Notification: Performance of Templates: time 0.0105/0.3394, allocations: 6.897 MB / 1.259 GB, free: 74.62 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)