Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009757/0.009757, allocations: 107.5 kB / 15.06 MB, free: 5.559 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.00117/0.00117, allocations: 179.4 kB / 15.94 MB, free: 5.523 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.903/1.903, allocations: 194.6 MB / 211.3 MB, free: 11.13 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.272/2.272, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004742, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5369/0.5374, allocations: 98.72 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005051/0.5425, allocations: 3.858 MB / 0.6871 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.5436, allocations: 0.7025 MB / 0.6878 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.5437, allocations: 0 / 0.6878 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.5439, allocations: 21.81 kB / 0.6878 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.544, allocations: 37.39 kB / 0.6879 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.5444, allocations: 134.9 kB / 0.688 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.5446, allocations: 115.7 kB / 0.6881 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.5447, allocations: 14.39 kB / 0.6881 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.5449, allocations: 72.2 kB / 0.6882 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.545, allocations: 71.95 kB / 0.6882 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.5451, allocations: 5.969 kB / 0.6883 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003648/0.5454, allocations: 119.1 kB / 0.6884 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/0.5455, allocations: 27.66 kB / 0.6884 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.5455, allocations: 52.86 kB / 0.6884 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.5459, allocations: 153.1 kB / 0.6886 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.743e-06/0.5459, allocations: 1.062 kB / 0.6886 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.108e-06/0.5459, allocations: 0 / 0.6886 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.287e-06/0.5459, allocations: 4 kB / 0.6886 GB, free: 13.12 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008152/0.5467, allocations: 468 kB / 0.689 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.5468, allocations: 8.656 kB / 0.6891 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.5468, allocations: 11.53 kB / 0.6891 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.547, allocations: 191 kB / 0.6892 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.547, allocations: 8.031 kB / 0.6893 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.547, allocations: 8.375 kB / 0.6893 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.5474, allocations: 126 kB / 0.6894 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.533e-06/0.5474, allocations: 5.016 kB / 0.6894 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.5475, allocations: 5.125 kB / 0.6894 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.406e-06/0.5475, allocations: 2.344 kB / 0.6894 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005405/0.548, allocations: 161.3 kB / 0.6895 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.5491, allocations: 472.5 kB / 0.69 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.5495, allocations: 145 kB / 0.6901 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/0.551, allocations: 0.9575 MB / 0.6911 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.5511, allocations: 32.14 kB / 0.6911 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 3.365e-06/0.5511, allocations: 0 / 0.6911 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.0008737/0.5519, allocations: 245.5 kB / 0.6913 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.552, allocations: 53.16 kB / 0.6914 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.5522, allocations: 163.6 kB / 0.6915 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.5522, allocations: 30.92 kB / 0.6916 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.5523, allocations: 112.2 kB / 0.6917 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.5523, allocations: 40.34 kB / 0.6917 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.5523, allocations: 5.031 kB / 0.6917 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.192e-05/0.5524, allocations: 334.3 kB / 0.692 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.5527, allocations: 79.69 kB / 0.6921 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.5531, allocations: 123.5 kB / 0.6922 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.5534, allocations: 92.45 kB / 0.6923 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.174e-06/0.5534, allocations: 0 / 0.6923 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007741/0.5542, allocations: 266.2 kB / 0.6926 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.5542, allocations: 5.719 kB / 0.6926 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.711e-06/0.5542, allocations: 0 / 0.6926 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.5543, allocations: 3.062 kB / 0.6926 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.5547, allocations: 63.38 kB / 0.6926 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.5547, allocations: 2.156 kB / 0.6926 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.5549, allocations: 37.42 kB / 0.6927 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.555, allocations: 10.33 kB / 0.6927 GB, free: 10.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0001058/0.5551, allocations: 132 kB / 0.6928 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.5551, allocations: 12.69 kB / 0.6928 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006274/0.5558, allocations: 203.8 kB / 0.693 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5558, allocations: 2.719 kB / 0.693 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.326e-06/0.5558, allocations: 0 / 0.693 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.032e-06/0.5558, allocations: 0.7969 kB / 0.693 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.5561, allocations: 214.9 kB / 0.6932 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.104e-06/0.5561, allocations: 0 / 0.6932 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.5563, allocations: 37.41 kB / 0.6933 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.088e-06/0.5564, allocations: 1.188 kB / 0.6933 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.5564, allocations: 10.08 kB / 0.6933 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.802e-06/0.5564, allocations: 4 kB / 0.6933 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.957e-06/0.5564, allocations: 1.375 kB / 0.6933 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/0.557, allocations: 275.7 kB / 0.6935 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/0.5571, allocations: 98.7 kB / 0.6936 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.5571, allocations: 9.062 kB / 0.6936 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.5573, allocations: 21.42 kB / 0.6937 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.5574, allocations: 11.75 kB / 0.6937 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.5574, allocations: 3.047 kB / 0.6937 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.127e-05/0.5575, allocations: 111.9 kB / 0.6938 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.83e-07/0.5575, allocations: 1.094 kB / 0.6938 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004843/0.558, allocations: 58 kB / 0.6938 GB, free: 9.168 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002989/0.5583, allocations: 170.6 kB / 0.694 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006774/0.559, allocations: 185.2 kB / 0.6942 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.151e-06/0.559, allocations: 0 / 0.6942 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.5593, allocations: 85.95 kB / 0.6943 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.5596, allocations: 26.72 kB / 0.6943 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006053/0.5603, allocations: 355.9 kB / 0.6946 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.5604, allocations: 0.7113 MB / 0.6953 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.5606, allocations: 20.22 kB / 0.6953 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.5607, allocations: 15.62 kB / 0.6954 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of SimCode: time 1.453e-06/0.5607, allocations: 1.125 kB / 0.6954 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of Templates: time 0.007877/0.5686, allocations: 2.468 MB / 0.6978 GB, free: 7.637 MB / 0.5261 GB