Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.505/2.505, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001824/0.001824, allocations: 185.7 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.486/2.486, allocations: 205.4 MB / 0.5767 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 92.45 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006824/0.0006825, allocations: 11.38 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.259, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02896/0.288, allocations: 13.21 MB / 0.9119 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009269/0.2973, allocations: 3.362 MB / 0.9152 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009153/0.2983, allocations: 15.88 kB / 0.9152 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.2995, allocations: 151.1 kB / 0.9154 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002795/0.3023, allocations: 489.5 kB / 0.9158 GB, free: 48.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.3042, allocations: 261.3 kB / 0.9161 GB, free: 47.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002654/0.3068, allocations: 1.245 MB / 0.9173 GB, free: 46.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008018/0.3077, allocations: 246.1 kB / 0.9175 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.3089, allocations: 314.7 kB / 0.9178 GB, free: 46.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008298/0.3097, allocations: 274.8 kB / 0.9181 GB, free: 45.83 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.3099, allocations: 19.98 kB / 0.9181 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.3109, allocations: 147.6 kB / 0.9183 GB, free: 45.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.3112, allocations: 63.73 kB / 0.9183 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.3114, allocations: 101.5 kB / 0.9184 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.3125, allocations: 419.2 kB / 0.9188 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3125, allocations: 0 / 0.9188 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.494e-06/0.3125, allocations: 0 / 0.9188 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.3126, allocations: 0 / 0.9188 GB, free: 45.09 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.001795/0.3144, allocations: 0.6758 MB / 0.9195 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.3144, allocations: 8.031 kB / 0.9195 GB, free: 44.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003547/0.3148, allocations: 52.36 kB / 0.9195 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.3162, allocations: 459.4 kB / 0.92 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/0.3163, allocations: 32.67 kB / 0.92 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.906e-05/0.3165, allocations: 24 kB / 0.92 GB, free: 43.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.3176, allocations: 306.2 kB / 0.9203 GB, free: 43.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/0.3177, allocations: 0 / 0.9203 GB, free: 43.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.359e-05/0.3178, allocations: 12 kB / 0.9203 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.886e-05/0.3178, allocations: 15.98 kB / 0.9203 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009937/0.3188, allocations: 198.1 kB / 0.9205 GB, free: 43.21 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.003451/0.3223, allocations: 1.493 MB / 0.922 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.3234, allocations: 162.6 kB / 0.9221 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.3238, allocations: 80.81 kB / 0.9222 GB, free: 41.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.3241, allocations: 89.03 kB / 0.9223 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005855/0.3247, allocations: 132.8 kB / 0.9224 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 4.86e-06/0.3248, allocations: 0 / 0.9224 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001453/0.3262, allocations: 251.6 kB / 0.9227 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.3263, allocations: 55.41 kB / 0.9227 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006775/0.327, allocations: 325.7 kB / 0.923 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.272e-05/0.3272, allocations: 33.7 kB / 0.9231 GB, free: 40.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.3274, allocations: 219.6 kB / 0.9233 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.298e-05/0.3275, allocations: 47.36 kB / 0.9233 GB, free: 40.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.3276, allocations: 8 kB / 0.9233 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3277, allocations: 338.8 kB / 0.9237 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.3282, allocations: 75.95 kB / 0.9237 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/0.3287, allocations: 149.3 kB / 0.9239 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/0.3293, allocations: 113.7 kB / 0.924 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.3293, allocations: 4 kB / 0.924 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001376/0.3307, allocations: 320.5 kB / 0.9243 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.179e-05/0.3308, allocations: 38 kB / 0.9243 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3309, allocations: 4 kB / 0.9243 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.392e-05/0.3309, allocations: 7.938 kB / 0.9243 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/0.3315, allocations: 63.91 kB / 0.9244 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.3316, allocations: 4 kB / 0.9244 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008016/0.3324, allocations: 39.67 kB / 0.9244 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.3325, allocations: 8 kB / 0.9244 GB, free: 38.94 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.0003401/0.3328, allocations: 161.8 kB / 0.9246 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.333, allocations: 31.62 kB / 0.9246 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.334, allocations: 208.3 kB / 0.9248 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.334, allocations: 11.94 kB / 0.9248 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3341, allocations: 0 / 0.9248 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009278/0.335, allocations: 495.7 kB / 0.9253 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009104/0.336, allocations: 341.5 kB / 0.9256 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.336, allocations: 0 / 0.9256 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/0.3365, allocations: 43.91 kB / 0.9257 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.3365, allocations: 0 / 0.9257 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.3365, allocations: 7.938 kB / 0.9257 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.3366, allocations: 7.938 kB / 0.9257 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3366, allocations: 0 / 0.9257 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.338, allocations: 302.4 kB / 0.926 GB, free: 37.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.3383, allocations: 124.8 kB / 0.9261 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.3384, allocations: 0 / 0.9261 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/0.3391, allocations: 35.94 kB / 0.9261 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.3392, allocations: 23.95 kB / 0.9262 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.3392, allocations: 7.938 kB / 0.9262 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004431/0.3397, allocations: 235.2 kB / 0.9264 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.91e-07/0.3397, allocations: 0 / 0.9264 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009047/0.3406, allocations: 112.1 kB / 0.9265 GB, free: 36.64 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.0004404/0.3411, allocations: 175.2 kB / 0.9267 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.3422, allocations: 235.5 kB / 0.9269 GB, free: 36.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3422, allocations: 0 / 0.9269 GB, free: 36.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.3426, allocations: 83.83 kB / 0.927 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/0.345, allocations: 195.4 kB / 0.9272 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.3478, allocations: 0.9519 MB / 0.9281 GB, free: 34.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.3482, allocations: 0.7921 MB / 0.9289 GB, free: 34.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006579/0.3489, allocations: 63.23 kB / 0.9289 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.3491, allocations: 31.42 kB / 0.929 GB, free: 34.06 MB / 0.6042 GB Notification: Performance of SimCode: time 1.272e-06/0.3491, allocations: 0 / 0.929 GB, free: 34.06 MB / 0.6042 GB Notification: Performance of Templates: time 0.02409/0.3732, allocations: 6.266 MB / 0.9351 GB, free: 27.87 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)