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: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009136/0.009141, allocations: 107.5 kB / 15.06 MB, free: 5.594 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.001099/0.001099, allocations: 189.7 kB / 15.95 MB, free: 5.543 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 1.991/1.991, allocations: 194.6 MB / 211.3 MB, free: 11.19 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.265/2.265, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004726, allocations: 12 kB / 0.5869 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5831/0.5836, allocations: 98.7 MB / 0.6833 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01519/0.5988, allocations: 12.01 MB / 0.6951 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005696/0.6046, allocations: 3.137 MB / 0.6981 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008181/0.6054, allocations: 14.81 kB / 0.6981 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007701/0.6062, allocations: 205.1 kB / 0.6983 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002212/0.6085, allocations: 0.5648 MB / 0.6989 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.6104, allocations: 432.7 kB / 0.6993 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001481/0.6119, allocations: 0.6306 MB / 0.6999 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.6124, allocations: 225.6 kB / 0.7001 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000547/0.613, allocations: 269.8 kB / 0.7004 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000351/0.6133, allocations: 189.9 kB / 0.7006 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.6134, allocations: 18.06 kB / 0.7006 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007016/0.6141, allocations: 164.7 kB / 0.7007 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.6142, allocations: 64.11 kB / 0.7008 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.6144, allocations: 104.3 kB / 0.7009 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000726/0.6151, allocations: 414.4 kB / 0.7013 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.6151, allocations: 4 kB / 0.7013 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.248e-06/0.6152, allocations: 0 / 0.7013 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.392e-06/0.6152, allocations: 0 / 0.7013 GB, free: 4.391 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.001086/0.6163, allocations: 0.6706 MB / 0.702 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.6163, allocations: 9.5 kB / 0.702 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.6165, allocations: 52.17 kB / 0.702 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007123/0.6173, allocations: 423 kB / 0.7024 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.6173, allocations: 19.56 kB / 0.7024 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.6174, allocations: 33.77 kB / 0.7025 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006878/0.6181, allocations: 306.9 kB / 0.7028 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.6181, allocations: 1.375 kB / 0.7028 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.6182, allocations: 10.75 kB / 0.7028 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.6182, allocations: 6.875 kB / 0.7028 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/0.6188, allocations: 206.7 kB / 0.703 GB, free: 3.066 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.00203/0.6209, allocations: 1.494 MB / 0.7044 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.6215, allocations: 169.9 kB / 0.7046 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.6217, allocations: 84.36 kB / 0.7047 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003318/0.622, allocations: 123.3 kB / 0.7048 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 3.487e-06/0.622, allocations: 0 / 0.7048 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0007999/0.6229, allocations: 252.1 kB / 0.705 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.6229, allocations: 57.84 kB / 0.7051 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/0.6234, allocations: 352.7 kB / 0.7054 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.6234, allocations: 31.17 kB / 0.7055 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.6236, allocations: 215.5 kB / 0.7057 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.71e-05/0.6237, allocations: 54.84 kB / 0.7057 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.6237, allocations: 5.125 kB / 0.7057 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.6238, allocations: 346.2 kB / 0.706 GB, free: 372 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.6241, allocations: 77.7 kB / 0.7061 GB, free: 336 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.6244, allocations: 152.4 kB / 0.7063 GB, free: 200 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.6247, allocations: 117.9 kB / 0.7064 GB, free: 124 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.415e-06/0.6247, allocations: 1.531 kB / 0.7064 GB, free: 124 kB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008699/0.6256, allocations: 324.5 kB / 0.7067 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/0.6256, allocations: 33.08 kB / 0.7067 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.6257, allocations: 7.188 kB / 0.7067 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.6257, allocations: 12.05 kB / 0.7067 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.626, allocations: 56.72 kB / 0.7068 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.6261, allocations: 3.406 kB / 0.7068 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/0.6265, allocations: 42.08 kB / 0.7068 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.6265, allocations: 16.42 kB / 0.7069 GB, free: 15.85 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.0002787/0.6268, allocations: 167.6 kB / 0.707 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/0.6269, allocations: 31.66 kB / 0.707 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006594/0.6276, allocations: 202.7 kB / 0.7072 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.639e-06/0.6276, allocations: 5.344 kB / 0.7072 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.664e-06/0.6276, allocations: 0 / 0.7072 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006987/0.6284, allocations: 494.5 kB / 0.7077 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006816/0.6291, allocations: 347.8 kB / 0.708 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.6291, allocations: 1.375 kB / 0.708 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.6293, allocations: 37.58 kB / 0.7081 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.6294, allocations: 1.094 kB / 0.7081 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.6294, allocations: 1.031 kB / 0.7081 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.881e-06/0.6294, allocations: 1.281 kB / 0.7081 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.6294, allocations: 7.922 kB / 0.7081 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000873/0.6303, allocations: 303 kB / 0.7084 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.6306, allocations: 132.1 kB / 0.7085 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.6307, allocations: 6.531 kB / 0.7085 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.631, allocations: 28.64 kB / 0.7085 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.6311, allocations: 15.08 kB / 0.7086 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.6311, allocations: 9.141 kB / 0.7086 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004121/0.6316, allocations: 249.9 kB / 0.7088 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.1e-07/0.6316, allocations: 0 / 0.7088 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006349/0.6322, allocations: 130.2 kB / 0.7089 GB, free: 14.18 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.0003694/0.6326, allocations: 192.5 kB / 0.7091 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007034/0.6333, allocations: 240.3 kB / 0.7093 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.85e-06/0.6333, allocations: 0 / 0.7093 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.6336, allocations: 78 kB / 0.7094 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.6347, allocations: 199.2 kB / 0.7096 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.6368, allocations: 0.9407 MB / 0.7105 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/0.6373, allocations: 0.8033 MB / 0.7113 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004229/0.6378, allocations: 62.44 kB / 0.7114 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.6379, allocations: 34.2 kB / 0.7114 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of SimCode: time 1.664e-06/0.6379, allocations: 3.938 kB / 0.7114 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of Templates: time 0.01857/0.6565, allocations: 6.636 MB / 0.7179 GB, free: 8.945 MB / 0.5417 GB