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.004253/0.004252, allocations: 232.5 kB / 15.82 MB, free: 6.297 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.001198/0.001197, allocations: 173.7 kB / 16.7 MB, free: 5.457 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 3.563/3.563, allocations: 389.1 MB / 406.5 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.46/4.46, allocations: 472.3 MB / 0.9024 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006562/0.0006564, allocations: 16 kB / 1.008 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2148, allocations: 98.7 MB / 1.105 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9905/1.205, allocations: 346.5 MB / 1.443 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000382/1.206, allocations: 92.5 kB / 1.443 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.051/1.257, allocations: 13.32 MB / 1.456 GB, free: 9.855 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.014e-06/1.257, allocations: 0 / 1.456 GB, free: 9.855 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.446e-06/1.257, allocations: 0 / 1.456 GB, free: 9.855 MB / 0.823 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.001178/1.258, allocations: 477 kB / 1.457 GB, free: 9.359 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.258, allocations: 9.906 kB / 1.457 GB, free: 9.352 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/1.258, allocations: 15.89 kB / 1.457 GB, free: 9.336 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/1.258, allocations: 181.7 kB / 1.457 GB, free: 9.121 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/1.258, allocations: 7.875 kB / 1.457 GB, free: 9.117 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/1.258, allocations: 11.25 kB / 1.457 GB, free: 9.109 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/1.259, allocations: 129.7 kB / 1.457 GB, free: 9.004 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.259, allocations: 0 / 1.457 GB, free: 9.004 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/1.259, allocations: 5.344 kB / 1.457 GB, free: 9.004 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.259, allocations: 4 kB / 1.457 GB, free: 9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007236/1.26, allocations: 164.8 kB / 1.457 GB, free: 8.875 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/1.261, allocations: 471.2 kB / 1.458 GB, free: 8.434 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/1.262, allocations: 134.7 kB / 1.458 GB, free: 8.328 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/1.262, allocations: 80.19 kB / 1.458 GB, free: 8.266 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002058/1.264, allocations: 0.966 MB / 1.459 GB, free: 7.227 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/1.264, allocations: 39.66 kB / 1.459 GB, free: 7.18 MB / 0.823 GB Notification: Performance of pre-optimization done (n=12): time 2.495e-06/1.264, allocations: 0 / 1.459 GB, free: 7.18 MB / 0.823 GB Notification: Performance of matching and sorting (n=12): time 0.001153/1.265, allocations: 235.4 kB / 1.459 GB, free: 6.984 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/1.266, allocations: 52.41 kB / 1.459 GB, free: 6.922 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/1.266, allocations: 158.8 kB / 1.459 GB, free: 6.777 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/1.266, allocations: 34.33 kB / 1.459 GB, free: 6.742 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.156e-05/1.266, allocations: 108.5 kB / 1.459 GB, free: 6.641 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/1.266, allocations: 42.14 kB / 1.459 GB, free: 6.605 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/1.266, allocations: 3.312 kB / 1.459 GB, free: 6.605 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.266, allocations: 328.4 kB / 1.46 GB, free: 6.285 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/1.266, allocations: 80.42 kB / 1.46 GB, free: 6.227 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/1.267, allocations: 125.1 kB / 1.46 GB, free: 6.117 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/1.267, allocations: 97.97 kB / 1.46 GB, free: 6.055 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.267, allocations: 3.953 kB / 1.46 GB, free: 6.051 MB / 0.823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001015/1.268, allocations: 270.9 kB / 1.46 GB, free: 5.84 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/1.268, allocations: 4 kB / 1.46 GB, free: 5.836 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.268, allocations: 1.5 kB / 1.46 GB, free: 5.836 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/1.269, allocations: 4 kB / 1.46 GB, free: 5.832 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/1.269, allocations: 60.98 kB / 1.46 GB, free: 5.773 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/1.269, allocations: 4 kB / 1.46 GB, free: 5.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/1.269, allocations: 37.95 kB / 1.46 GB, free: 5.738 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/1.269, allocations: 11.75 kB / 1.46 GB, free: 5.73 MB / 0.823 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.0001336/1.27, allocations: 120.6 kB / 1.46 GB, free: 5.609 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/1.27, allocations: 20.52 kB / 1.46 GB, free: 5.594 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008543/1.27, allocations: 191.6 kB / 1.461 GB, free: 5.441 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/1.271, allocations: 7.938 kB / 1.461 GB, free: 5.434 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.271, allocations: 0 / 1.461 GB, free: 5.434 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/1.271, allocations: 3.984 kB / 1.461 GB, free: 5.43 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/1.271, allocations: 215.4 kB / 1.461 GB, free: 5.191 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.271, allocations: 0.5 kB / 1.461 GB, free: 5.191 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/1.271, allocations: 44.97 kB / 1.461 GB, free: 5.152 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/1.271, allocations: 0.8125 kB / 1.461 GB, free: 5.152 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/1.271, allocations: 3.984 kB / 1.461 GB, free: 5.148 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.271, allocations: 3.312 kB / 1.461 GB, free: 5.148 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.271, allocations: 0 / 1.461 GB, free: 5.148 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007752/1.272, allocations: 272.5 kB / 1.461 GB, free: 4.902 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/1.272, allocations: 92.86 kB / 1.461 GB, free: 4.793 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/1.272, allocations: 8.641 kB / 1.461 GB, free: 4.785 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/1.272, allocations: 23.58 kB / 1.461 GB, free: 4.77 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/1.273, allocations: 15.86 kB / 1.461 GB, free: 4.754 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/1.273, allocations: 3.984 kB / 1.461 GB, free: 4.75 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001104/1.273, allocations: 114.7 kB / 1.461 GB, free: 4.652 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.21e-07/1.273, allocations: 4.094 kB / 1.461 GB, free: 4.648 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004949/1.273, allocations: 66.86 kB / 1.461 GB, free: 4.59 MB / 0.823 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.0004012/1.274, allocations: 182.8 kB / 1.462 GB, free: 4.414 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000854/1.274, allocations: 189.9 kB / 1.462 GB, free: 4.262 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.274, allocations: 0 / 1.462 GB, free: 4.262 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003521/1.275, allocations: 84.7 kB / 1.462 GB, free: 4.191 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/1.275, allocations: 18.52 kB / 1.462 GB, free: 4.184 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/1.276, allocations: 348.5 kB / 1.462 GB, free: 3.836 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/1.276, allocations: 0.7126 MB / 1.463 GB, free: 3.098 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001877/1.277, allocations: 23.03 kB / 1.463 GB, free: 3.078 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/1.277, allocations: 18.75 kB / 1.463 GB, free: 3.066 MB / 0.823 GB Notification: Performance of SimCode: time 1.132e-06/1.277, allocations: 0 / 1.463 GB, free: 3.066 MB / 0.823 GB Notification: Performance of Templates: time 0.00913/1.286, allocations: 2.663 MB / 1.466 GB, free: 0.5352 MB / 0.823 GB