Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.937/2.937, allocations: 287.5 MB / 302.4 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00136/0.00136, allocations: 185 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008806/0.0008804, allocations: 95.34 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004671/0.0004673, allocations: 11.84 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2177, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01615/0.234, allocations: 13.19 MB / 0.9912 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007896/0.2419, allocations: 3.387 MB / 0.9945 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009932/0.243, allocations: 15.88 kB / 0.9945 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.2441, allocations: 155.1 kB / 0.9947 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002977/0.2471, allocations: 475.1 kB / 0.9951 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.249, allocations: 290.2 kB / 0.9954 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002943/0.252, allocations: 1.236 MB / 0.9966 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005598/0.2526, allocations: 226.4 kB / 0.9968 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006699/0.2533, allocations: 310.7 kB / 0.9971 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004535/0.2538, allocations: 282.7 kB / 0.9974 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.584e-05/0.2539, allocations: 16 kB / 0.9974 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007072/0.2546, allocations: 151.7 kB / 0.9976 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2547, allocations: 75.66 kB / 0.9976 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.2548, allocations: 101.5 kB / 0.9977 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006552/0.2555, allocations: 426.8 kB / 0.9981 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.2555, allocations: 4 kB / 0.9982 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2555, allocations: 0 / 0.9982 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2555, allocations: 0 / 0.9982 GB, free: 8.016 MB / 0.6198 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.001418/0.257, allocations: 0.66 MB / 0.9988 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.257, allocations: 12.02 kB / 0.9988 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.2573, allocations: 51.52 kB / 0.9989 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009249/0.2582, allocations: 461.8 kB / 0.9993 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.2583, allocations: 20.56 kB / 0.9993 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/0.2583, allocations: 35.84 kB / 0.9994 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007822/0.2591, allocations: 310.2 kB / 0.9996 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.2592, allocations: 3.938 kB / 0.9997 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.2592, allocations: 15.98 kB / 0.9997 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.2593, allocations: 8 kB / 0.9997 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007195/0.26, allocations: 206.1 kB / 0.9999 GB, free: 6.141 MB / 0.6198 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.002221/0.2622, allocations: 1.481 MB / 1.001 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006367/0.2629, allocations: 174.6 kB / 1.001 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.2632, allocations: 68.81 kB / 1.002 GB, free: 4.281 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.2634, allocations: 93.09 kB / 1.002 GB, free: 4.172 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004165/0.2638, allocations: 127.3 kB / 1.002 GB, free: 4.035 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.467e-06/0.2638, allocations: 3.984 kB / 1.002 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0009213/0.2647, allocations: 251 kB / 1.002 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.2648, allocations: 59.34 kB / 1.002 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.2652, allocations: 333.5 kB / 1.002 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.2652, allocations: 29.7 kB / 1.002 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.2654, allocations: 219.8 kB / 1.003 GB, free: 3.125 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.2655, allocations: 55.2 kB / 1.003 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/0.2655, allocations: 0 / 1.003 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.371e-05/0.2656, allocations: 350.8 kB / 1.003 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.2659, allocations: 71.95 kB / 1.003 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.2662, allocations: 157.9 kB / 1.003 GB, free: 2.461 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.2666, allocations: 117.6 kB / 1.003 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2666, allocations: 0 / 1.003 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008611/0.2675, allocations: 323.4 kB / 1.004 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.2675, allocations: 33.7 kB / 1.004 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.2676, allocations: 0 / 1.004 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.965e-05/0.2676, allocations: 4.312 kB / 1.004 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.268, allocations: 63.91 kB / 1.004 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.2681, allocations: 15.86 kB / 1.004 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.2685, allocations: 31.83 kB / 1.004 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.2686, allocations: 19.94 kB / 1.004 GB, free: 1.84 MB / 0.6198 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.0002048/0.2688, allocations: 161.7 kB / 1.004 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.2689, allocations: 31.62 kB / 1.004 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006629/0.2695, allocations: 200.4 kB / 1.004 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.2696, allocations: 4 kB / 1.004 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2696, allocations: 0 / 1.004 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006147/0.2702, allocations: 0.4886 MB / 1.005 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005653/0.2708, allocations: 357.3 kB / 1.005 GB, free: 472 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2708, allocations: 4 kB / 1.005 GB, free: 468 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.2711, allocations: 35.92 kB / 1.005 GB, free: 432 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.2711, allocations: 4 kB / 1.005 GB, free: 428 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.2711, allocations: 4 kB / 1.005 GB, free: 424 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2712, allocations: 4 kB / 1.005 GB, free: 420 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2712, allocations: 3.984 kB / 1.005 GB, free: 416 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009022/0.2721, allocations: 293.1 kB / 1.005 GB, free: 104 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/0.2723, allocations: 132.8 kB / 1.005 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.395e-05/0.2724, allocations: 8 kB / 1.005 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.2728, allocations: 19.89 kB / 1.005 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.2729, allocations: 19.97 kB / 1.006 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.273, allocations: 11.98 kB / 1.006 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000368/0.2734, allocations: 227.2 kB / 1.006 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2734, allocations: 0 / 1.006 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006354/0.274, allocations: 120 kB / 1.006 GB, free: 15.55 MB / 0.6355 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.0004147/0.2745, allocations: 175.2 kB / 1.006 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008107/0.2753, allocations: 238.6 kB / 1.006 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2753, allocations: 0 / 1.006 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.2756, allocations: 71.95 kB / 1.006 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.2774, allocations: 209.3 kB / 1.007 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.2797, allocations: 0.9403 MB / 1.007 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.2803, allocations: 0.7962 MB / 1.008 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004942/0.2808, allocations: 67.19 kB / 1.008 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.2809, allocations: 31.42 kB / 1.008 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/0.2809, allocations: 0 / 1.008 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.01905/0.3, allocations: 6.317 MB / 1.014 GB, free: 6.73 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)