Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01122/0.01122, allocations: 108.7 kB / 15.06 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001286/0.001286, allocations: 179.8 kB / 15.95 MB, free: 5.516 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.157/2.157, allocations: 194.5 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.575/2.575, allocations: 236.1 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006793/0.0006796, allocations: 16 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7158/0.7165, allocations: 98.72 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.0219/0.7385, allocations: 12.01 MB / 0.6952 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.007486/0.746, allocations: 3.128 MB / 0.6982 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009522/0.7471, allocations: 15.94 kB / 0.6982 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.7484, allocations: 208.5 kB / 0.6984 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003148/0.7516, allocations: 0.5647 MB / 0.699 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.7541, allocations: 429.1 kB / 0.6994 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002361/0.7565, allocations: 0.6337 MB / 0.7 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007365/0.7573, allocations: 226.1 kB / 0.7002 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.7583, allocations: 270.2 kB / 0.7005 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006687/0.7591, allocations: 197.5 kB / 0.7007 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.7592, allocations: 13.56 kB / 0.7007 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.7603, allocations: 169.3 kB / 0.7008 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.7605, allocations: 63.16 kB / 0.7009 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002401/0.7608, allocations: 101.3 kB / 0.701 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.7621, allocations: 418 kB / 0.7014 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7621, allocations: 0 / 0.7014 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.916e-06/0.7621, allocations: 1.375 kB / 0.7014 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.7621, allocations: 4 kB / 0.7014 GB, free: 4.508 MB / 0.5261 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.001677/0.7638, allocations: 0.6696 MB / 0.7021 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.7639, allocations: 9.625 kB / 0.7021 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.764, allocations: 58.8 kB / 0.7021 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.7643, allocations: 44.28 kB / 0.7022 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.7653, allocations: 427 kB / 0.7026 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.7654, allocations: 18.19 kB / 0.7026 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.7655, allocations: 33.77 kB / 0.7026 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008896/0.7664, allocations: 312 kB / 0.7029 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.7665, allocations: 5.078 kB / 0.7029 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.7665, allocations: 6.094 kB / 0.7029 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/0.7666, allocations: 11.16 kB / 0.7029 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007991/0.7674, allocations: 203.5 kB / 0.7031 GB, free: 3.148 MB / 0.5261 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.00279/0.7702, allocations: 1.488 MB / 0.7046 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007196/0.7709, allocations: 168.4 kB / 0.7047 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.7712, allocations: 87.39 kB / 0.7048 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004411/0.7716, allocations: 127 kB / 0.705 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 3.286e-06/0.7716, allocations: 0 / 0.705 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.001129/0.7728, allocations: 253.5 kB / 0.7052 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.7729, allocations: 52.75 kB / 0.7052 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006145/0.7735, allocations: 353.2 kB / 0.7056 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/0.7736, allocations: 30.95 kB / 0.7056 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.7738, allocations: 216.7 kB / 0.7058 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/0.7738, allocations: 49.83 kB / 0.7059 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.7739, allocations: 5.406 kB / 0.7059 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.774, allocations: 349.8 kB / 0.7062 GB, free: 460 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.7743, allocations: 73.2 kB / 0.7063 GB, free: 428 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.7747, allocations: 156 kB / 0.7064 GB, free: 288 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.7751, allocations: 116.7 kB / 0.7065 GB, free: 216 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.7752, allocations: 1.406 kB / 0.7065 GB, free: 216 kB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001047/0.7762, allocations: 319.9 kB / 0.7068 GB, free: 28 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.519e-05/0.7763, allocations: 36.75 kB / 0.7069 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.7764, allocations: 2.812 kB / 0.7069 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.7764, allocations: 16.77 kB / 0.7069 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.7768, allocations: 55.56 kB / 0.7069 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.7769, allocations: 4.406 kB / 0.707 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/0.7775, allocations: 41.77 kB / 0.707 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.7775, allocations: 24 kB / 0.707 GB, free: 15.93 MB / 0.5417 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.0003313/0.7779, allocations: 162.1 kB / 0.7072 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.832e-05/0.778, allocations: 32.25 kB / 0.7072 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008316/0.7788, allocations: 204.2 kB / 0.7074 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.7789, allocations: 7.969 kB / 0.7074 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.7789, allocations: 0 / 0.7074 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007814/0.7797, allocations: 492.6 kB / 0.7079 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000882/0.7806, allocations: 353.7 kB / 0.7082 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.7806, allocations: 0 / 0.7082 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.781, allocations: 33.52 kB / 0.7082 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.781, allocations: 5.062 kB / 0.7082 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.7811, allocations: 1.156 kB / 0.7082 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.7811, allocations: 1.156 kB / 0.7082 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.7811, allocations: 0 / 0.7082 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.7823, allocations: 306.6 kB / 0.7085 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.7826, allocations: 133.1 kB / 0.7087 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.066e-05/0.7827, allocations: 5.438 kB / 0.7087 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004292/0.7831, allocations: 20.06 kB / 0.7087 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.7833, allocations: 21.97 kB / 0.7087 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.7833, allocations: 9.016 kB / 0.7087 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004769/0.7838, allocations: 250.5 kB / 0.709 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7838, allocations: 0 / 0.709 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008212/0.7847, allocations: 129.1 kB / 0.7091 GB, free: 14.27 MB / 0.5417 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.001907/0.7866, allocations: 0.9193 MB / 0.71 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000902/0.7875, allocations: 237.5 kB / 0.7102 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/0.7876, allocations: 5.25 kB / 0.7102 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.7879, allocations: 85.3 kB / 0.7103 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.7898, allocations: 193.8 kB / 0.7105 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007214/0.797, allocations: 3.661 MB / 0.7141 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.7976, allocations: 0.7991 MB / 0.7148 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000573/0.7982, allocations: 61.81 kB / 0.7149 GB, free: 9.488 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.7985, allocations: 113 kB / 0.715 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of SimCode: time 1.393e-06/0.7985, allocations: 4.719 kB / 0.715 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04722/0.8458, allocations: 9.898 MB / 0.7247 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004065/0.8463, allocations: 175.7 kB / 0.7248 GB, free: 3.379 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.804/3.65, allocations: 8.062 kB / 0.7248 GB, free: 3.371 MB / 0.5417 GB