Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01384/0.01384, allocations: 86.75 kB / 15.04 MB, free: 6.062 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001137/0.001137, allocations: 169.2 kB / 15.92 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.166/2.166, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.455/2.455, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007567/0.0007571, allocations: 9.281 kB / 0.6243 GB, free: 28.45 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2415, allocations: 106.2 MB / 0.728 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02089/0.2624, allocations: 12.15 MB / 0.7399 GB, free: 13.94 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.007118/0.2696, allocations: 3.133 MB / 0.743 GB, free: 10.8 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007407/0.2704, allocations: 11.94 kB / 0.743 GB, free: 10.79 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009646/0.2714, allocations: 203 kB / 0.7432 GB, free: 10.59 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.2739, allocations: 0.5725 MB / 0.7437 GB, free: 10.02 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.2761, allocations: 451 kB / 0.7442 GB, free: 9.574 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001775/0.2779, allocations: 0.64 MB / 0.7448 GB, free: 8.934 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005902/0.2785, allocations: 226.2 kB / 0.745 GB, free: 8.711 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006498/0.2791, allocations: 267 kB / 0.7453 GB, free: 8.449 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.2795, allocations: 195.1 kB / 0.7454 GB, free: 8.258 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.2796, allocations: 16 kB / 0.7455 GB, free: 8.242 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008002/0.2804, allocations: 171.7 kB / 0.7456 GB, free: 8.074 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.2806, allocations: 67.73 kB / 0.7457 GB, free: 8.008 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.2807, allocations: 97.52 kB / 0.7458 GB, free: 7.906 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.000941/0.2817, allocations: 427 kB / 0.7462 GB, free: 7.488 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2817, allocations: 0 / 0.7462 GB, free: 7.488 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.755e-06/0.2817, allocations: 0 / 0.7462 GB, free: 7.488 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.2817, allocations: 0 / 0.7462 GB, free: 7.488 MB / 0.573 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.001543/0.2833, allocations: 0.6756 MB / 0.7469 GB, free: 6.758 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.2834, allocations: 8.031 kB / 0.7469 GB, free: 6.75 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.2835, allocations: 58.53 kB / 0.7469 GB, free: 6.684 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.2837, allocations: 43.53 kB / 0.747 GB, free: 6.641 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009948/0.2847, allocations: 418 kB / 0.7474 GB, free: 6.191 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.2848, allocations: 24.56 kB / 0.7474 GB, free: 6.168 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/0.2849, allocations: 28 kB / 0.7474 GB, free: 6.141 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009353/0.2858, allocations: 306.2 kB / 0.7477 GB, free: 5.824 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.2859, allocations: 3.906 kB / 0.7477 GB, free: 5.82 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.768e-05/0.2859, allocations: 12 kB / 0.7477 GB, free: 5.809 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.286, allocations: 15.94 kB / 0.7477 GB, free: 5.793 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007929/0.2868, allocations: 202.1 kB / 0.7479 GB, free: 5.594 MB / 0.573 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.002769/0.2896, allocations: 1.497 MB / 0.7494 GB, free: 3.973 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007479/0.2904, allocations: 170.6 kB / 0.7495 GB, free: 3.797 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/0.2906, allocations: 89.09 kB / 0.7496 GB, free: 3.691 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/0.291, allocations: 131.2 kB / 0.7498 GB, free: 3.551 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 2.976e-06/0.2911, allocations: 0 / 0.7498 GB, free: 3.551 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.001052/0.2921, allocations: 255 kB / 0.75 GB, free: 3.297 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.2922, allocations: 51.41 kB / 0.75 GB, free: 3.234 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/0.2928, allocations: 357.6 kB / 0.7504 GB, free: 2.879 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.2928, allocations: 29.7 kB / 0.7504 GB, free: 2.844 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.2931, allocations: 207.8 kB / 0.7506 GB, free: 2.637 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/0.2932, allocations: 55.2 kB / 0.7507 GB, free: 2.582 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.2932, allocations: 8 kB / 0.7507 GB, free: 2.574 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2934, allocations: 350.8 kB / 0.751 GB, free: 2.223 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.2937, allocations: 71.95 kB / 0.7511 GB, free: 2.152 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.2941, allocations: 149.4 kB / 0.7512 GB, free: 1.973 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.2945, allocations: 120.7 kB / 0.7513 GB, free: 1.852 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.2946, allocations: 4 kB / 0.7513 GB, free: 1.848 MB / 0.573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001026/0.2956, allocations: 318.6 kB / 0.7516 GB, free: 1.523 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/0.2957, allocations: 37.69 kB / 0.7517 GB, free: 1.48 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.2957, allocations: 0 / 0.7517 GB, free: 1.48 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.2957, allocations: 8 kB / 0.7517 GB, free: 1.473 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.2962, allocations: 56.22 kB / 0.7517 GB, free: 1.418 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.2962, allocations: 8 kB / 0.7518 GB, free: 1.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/0.2967, allocations: 35.73 kB / 0.7518 GB, free: 1.375 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.2968, allocations: 15.95 kB / 0.7518 GB, free: 1.359 MB / 0.573 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.0003018/0.2971, allocations: 165.6 kB / 0.752 GB, free: 1.188 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-05/0.2972, allocations: 31.62 kB / 0.752 GB, free: 1.156 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008145/0.298, allocations: 208.4 kB / 0.7522 GB, free: 0.9375 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.298, allocations: 4 kB / 0.7522 GB, free: 0.9336 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2981, allocations: 3.938 kB / 0.7522 GB, free: 0.9297 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007448/0.2988, allocations: 495.1 kB / 0.7527 GB, free: 372 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007111/0.2995, allocations: 357.3 kB / 0.753 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2996, allocations: 0 / 0.753 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.2999, allocations: 31.98 kB / 0.753 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.2999, allocations: 0 / 0.753 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.3, allocations: 15.98 kB / 0.7531 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.3, allocations: 4 kB / 0.7531 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3, allocations: 0 / 0.7531 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.301, allocations: 303.5 kB / 0.7533 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.3013, allocations: 132.7 kB / 0.7535 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/0.3014, allocations: 4 kB / 0.7535 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.3018, allocations: 23.97 kB / 0.7535 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.3019, allocations: 15.97 kB / 0.7535 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.302, allocations: 8 kB / 0.7535 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004214/0.3024, allocations: 251.2 kB / 0.7538 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3024, allocations: 4 kB / 0.7538 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006347/0.3031, allocations: 120 kB / 0.7539 GB, free: 15.04 MB / 0.5886 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.001635/0.3047, allocations: 0.9321 MB / 0.7548 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008117/0.3056, allocations: 243.5 kB / 0.755 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3056, allocations: 0 / 0.755 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003445/0.3059, allocations: 70.86 kB / 0.7551 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.3076, allocations: 199.8 kB / 0.7553 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005982/0.3136, allocations: 3.647 MB / 0.7588 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.3141, allocations: 0.8036 MB / 0.7596 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004776/0.3146, allocations: 59.27 kB / 0.7597 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.3149, allocations: 111.4 kB / 0.7598 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of SimCode: time 1.332e-06/0.3149, allocations: 0 / 0.7598 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04154/0.3565, allocations: 9.941 MB / 0.7695 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003357/0.3569, allocations: 178.2 kB / 0.7697 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.008/3.365, allocations: 0 / 0.7697 GB, free: 14.86 MB / 0.6042 GB