Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.67/4.67, allocations: 0.5623 GB / 0.5769 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002389/0.002389, allocations: 354.7 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.876/3.876, allocations: 410.7 MB / 1.112 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001787/0.001787, allocations: 179 kB / 1.225 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005361/0.0005365, allocations: 11.98 kB / 1.348 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5736/0.5741, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01278/0.587, allocations: 13.19 MB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004825/0.5918, allocations: 3.337 MB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005177/0.5924, allocations: 14.34 kB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005728/0.593, allocations: 190.8 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.5947, allocations: 0.6021 MB / 1.478 GB, free: 267 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.5962, allocations: 461.8 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.5974, allocations: 1.238 MB / 1.479 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.5978, allocations: 232.7 kB / 1.48 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003829/0.5982, allocations: 299.2 kB / 1.48 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000333/0.5986, allocations: 291.6 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.5986, allocations: 12 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005052/0.5992, allocations: 144.8 kB / 1.48 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.557e-05/0.5993, allocations: 75.66 kB / 1.48 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.515e-05/0.5994, allocations: 97.52 kB / 1.48 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004701/0.5999, allocations: 427.8 kB / 1.481 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.887e-06/0.5999, allocations: 0 / 1.481 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.17e-06/0.5999, allocations: 0.9062 kB / 1.481 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.238e-06/0.5999, allocations: 0 / 1.481 GB, free: 263.8 MB / 0.8542 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.0009929/0.6009, allocations: 0.6721 MB / 1.481 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.601, allocations: 15.62 kB / 1.481 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.6012, allocations: 51.47 kB / 1.482 GB, free: 263 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.6019, allocations: 457.9 kB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.602, allocations: 17.28 kB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.993e-05/0.602, allocations: 28 kB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006295/0.6027, allocations: 313.8 kB / 1.482 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.6027, allocations: 4 kB / 1.482 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.6028, allocations: 8 kB / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.6028, allocations: 8.75 kB / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005598/0.6034, allocations: 201.6 kB / 1.483 GB, free: 261.9 MB / 0.8542 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.001796/0.6052, allocations: 1.49 MB / 1.484 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.6057, allocations: 171.7 kB / 1.484 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.6059, allocations: 70.3 kB / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.6061, allocations: 93.09 kB / 1.484 GB, free: 260 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003252/0.6064, allocations: 136.6 kB / 1.484 GB, free: 259.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 3.843e-06/0.6065, allocations: 0.5 kB / 1.484 GB, free: 259.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.000722/0.6072, allocations: 251.2 kB / 1.485 GB, free: 259.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.6072, allocations: 55.41 kB / 1.485 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.6076, allocations: 334.1 kB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.6077, allocations: 30.86 kB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.6078, allocations: 215.7 kB / 1.485 GB, free: 259 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.6079, allocations: 51.34 kB / 1.485 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.6079, allocations: 8.906 kB / 1.485 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.377e-05/0.608, allocations: 344 kB / 1.486 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.6082, allocations: 78.7 kB / 1.486 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.6085, allocations: 145.2 kB / 1.486 GB, free: 258.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.6088, allocations: 119.5 kB / 1.486 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.726e-06/0.6088, allocations: 0 / 1.486 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007045/0.6095, allocations: 326.9 kB / 1.486 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.6096, allocations: 33.7 kB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.16e-06/0.6096, allocations: 0 / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.6096, allocations: 9.5 kB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.6099, allocations: 59.91 kB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.6099, allocations: 9.859 kB / 1.486 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.6103, allocations: 43.67 kB / 1.486 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.6103, allocations: 12.7 kB / 1.486 GB, free: 257.7 MB / 0.8542 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.000178/0.6105, allocations: 159.9 kB / 1.487 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.6106, allocations: 31.62 kB / 1.487 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005318/0.6111, allocations: 198.5 kB / 1.487 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.747e-06/0.6112, allocations: 4 kB / 1.487 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6112, allocations: 5.203 kB / 1.487 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004744/0.6117, allocations: 497.1 kB / 1.487 GB, free: 256.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.6121, allocations: 353.8 kB / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6121, allocations: 0.5938 kB / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.6124, allocations: 33.8 kB / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.412e-06/0.6124, allocations: 0 / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.6124, allocations: 11.98 kB / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.149e-06/0.6124, allocations: 0 / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.608e-06/0.6124, allocations: 4.516 kB / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000703/0.6131, allocations: 309.1 kB / 1.488 GB, free: 256 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.6133, allocations: 124.7 kB / 1.488 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.6134, allocations: 11.94 kB / 1.488 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.6137, allocations: 21.61 kB / 1.488 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.6138, allocations: 19.97 kB / 1.488 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.6138, allocations: 9.734 kB / 1.488 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002582/0.6141, allocations: 231.2 kB / 1.488 GB, free: 255.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.79e-07/0.6141, allocations: 0 / 1.488 GB, free: 255.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005201/0.6146, allocations: 115.7 kB / 1.489 GB, free: 255.4 MB / 0.8542 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.0002777/0.6149, allocations: 172.3 kB / 1.489 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005649/0.6155, allocations: 239 kB / 1.489 GB, free: 255 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.108e-06/0.6155, allocations: 0 / 1.489 GB, free: 255 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.6157, allocations: 81.78 kB / 1.489 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.6169, allocations: 194.9 kB / 1.489 GB, free: 254.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.6186, allocations: 0.9451 MB / 1.49 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.6189, allocations: 0.7966 MB / 1.491 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003928/0.6193, allocations: 70.22 kB / 1.491 GB, free: 253 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.896e-05/0.6194, allocations: 32.36 kB / 1.491 GB, free: 253 MB / 0.8542 GB Notification: Performance of SimCode: time 1.785e-06/0.6194, allocations: 0 / 1.491 GB, free: 253 MB / 0.8542 GB Notification: Performance of Templates: time 0.01385/0.6333, allocations: 6.324 MB / 1.497 GB, free: 246.9 MB / 0.8542 GB