Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.132/4.132, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.701e-05, allocations: 6.094 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2224, allocations: 98.73 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.219/7.441, allocations: 2.184 GB / 2.819 GB, free: 115 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/7.442, allocations: 99.98 kB / 2.819 GB, free: 115 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1454/7.587, allocations: 41.57 MB / 2.86 GB, free: 78.71 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.683e-06/7.587, allocations: 4 kB / 2.86 GB, free: 78.71 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001129/7.587, allocations: 16 kB / 2.86 GB, free: 78.69 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003585/7.591, allocations: 1.431 MB / 2.861 GB, free: 77.29 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/7.591, allocations: 8.031 kB / 2.861 GB, free: 77.28 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002444/7.591, allocations: 76.86 kB / 2.861 GB, free: 77.22 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/7.602, allocations: 0.6454 MB / 2.862 GB, free: 76.58 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004861/7.607, allocations: 1.689 MB / 2.863 GB, free: 75.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004031/7.607, allocations: 143.4 kB / 2.864 GB, free: 75.16 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/7.607, allocations: 35.73 kB / 2.864 GB, free: 75.13 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004636/7.612, allocations: 2 MB / 2.866 GB, free: 73.84 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/7.612, allocations: 0 / 2.866 GB, free: 73.84 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002951/7.612, allocations: 15.14 kB / 2.866 GB, free: 73.83 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/7.612, allocations: 8 kB / 2.866 GB, free: 73.82 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006339/7.619, allocations: 2.811 MB / 2.868 GB, free: 72.05 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01624/7.635, allocations: 5.113 MB / 2.873 GB, free: 68.69 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/7.65, allocations: 3.114 MB / 2.876 GB, free: 66.61 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/7.653, allocations: 1.248 MB / 2.878 GB, free: 65.83 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/7.653, allocations: 12.42 kB / 2.878 GB, free: 65.82 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003905/7.657, allocations: 1.89 MB / 2.879 GB, free: 63.91 MB / 0.823 GB Notification: Performance of pre-optimization done (n=61): time 5.18e-06/7.657, allocations: 0 / 2.879 GB, free: 63.91 MB / 0.823 GB Notification: Performance of matching and sorting (n=61): time 0.006088/7.663, allocations: 2.537 MB / 2.882 GB, free: 61.35 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/7.663, allocations: 94.06 kB / 2.882 GB, free: 61.24 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005245/7.669, allocations: 2.433 MB / 2.884 GB, free: 58.81 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000627/7.669, allocations: 53.69 kB / 2.884 GB, free: 58.75 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/7.67, allocations: 0.6653 MB / 2.885 GB, free: 58.09 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005621/7.671, allocations: 181.5 kB / 2.885 GB, free: 57.91 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/7.671, allocations: 8 kB / 2.885 GB, free: 57.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.012e-05/7.671, allocations: 330 kB / 2.886 GB, free: 57.57 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003073/7.674, allocations: 1.587 MB / 2.887 GB, free: 55.98 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003126/7.678, allocations: 1.563 MB / 2.889 GB, free: 54.41 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002721/7.68, allocations: 1.299 MB / 2.89 GB, free: 53.11 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/7.68, allocations: 3.953 kB / 2.89 GB, free: 53.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.007328/7.688, allocations: 3.19 MB / 2.893 GB, free: 49.89 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/7.688, allocations: 91.38 kB / 2.893 GB, free: 49.79 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/7.688, allocations: 3.938 kB / 2.893 GB, free: 49.79 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.077e-05/7.688, allocations: 3.984 kB / 2.893 GB, free: 49.78 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/7.691, allocations: 227.6 kB / 2.893 GB, free: 49.56 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/7.691, allocations: 0 / 2.893 GB, free: 49.56 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002832/7.694, allocations: 119.6 kB / 2.893 GB, free: 49.44 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006419/7.695, allocations: 115.9 kB / 2.894 GB, free: 49.33 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 2 * 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.0006953/7.695, allocations: 190.5 kB / 2.894 GB, free: 49.13 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008184/7.696, allocations: 169.8 kB / 2.894 GB, free: 48.96 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007642/7.704, allocations: 2.855 MB / 2.897 GB, free: 46.08 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/7.704, allocations: 4 kB / 2.897 GB, free: 46.08 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/7.704, allocations: 0 / 2.897 GB, free: 46.08 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/7.704, allocations: 3.984 kB / 2.897 GB, free: 46.07 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004863/7.709, allocations: 2.508 MB / 2.899 GB, free: 43.52 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/7.709, allocations: 4 kB / 2.899 GB, free: 43.51 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00296/7.712, allocations: 219.7 kB / 2.899 GB, free: 43.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/7.712, allocations: 0 / 2.899 GB, free: 43.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003447/7.712, allocations: 51.89 kB / 2.899 GB, free: 43.25 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/7.712, allocations: 4 kB / 2.899 GB, free: 43.24 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/7.712, allocations: 3.984 kB / 2.899 GB, free: 43.24 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006047/7.718, allocations: 2.602 MB / 2.902 GB, free: 40.61 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002438/7.721, allocations: 0.7681 MB / 2.903 GB, free: 39.82 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007348/7.722, allocations: 63.97 kB / 2.903 GB, free: 39.76 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003206/7.725, allocations: 151.8 kB / 2.903 GB, free: 39.61 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/7.725, allocations: 68.45 kB / 2.903 GB, free: 39.54 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004195/7.726, allocations: 111.9 kB / 2.903 GB, free: 39.43 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.004562/7.73, allocations: 1.887 MB / 2.905 GB, free: 37.55 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.91e-07/7.73, allocations: 0 / 2.905 GB, free: 37.55 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002583/7.733, allocations: 459.7 kB / 2.905 GB, free: 37.11 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.008042/7.741, allocations: 3.526 MB / 2.909 GB, free: 33.56 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.006363/7.747, allocations: 3.22 MB / 2.912 GB, free: 30.32 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/7.747, allocations: 0 / 2.912 GB, free: 30.32 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002941/7.75, allocations: 1.412 MB / 2.913 GB, free: 28.89 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/7.753, allocations: 401.8 kB / 2.914 GB, free: 28.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/7.766, allocations: 4.191 MB / 2.918 GB, free: 24.26 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/7.767, allocations: 1.604 MB / 2.919 GB, free: 22.62 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004654/7.772, allocations: 0.8289 MB / 2.92 GB, free: 21.79 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002446/7.774, allocations: 0.5773 MB / 2.921 GB, free: 21.21 MB / 0.823 GB Notification: Performance of SimCode: time 1.964e-06/7.774, allocations: 0 / 2.921 GB, free: 21.21 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7199/8.494, allocations: 51.55 MB / 2.971 GB, free: 270.9 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002915/8.495, allocations: 217.3 kB / 2.971 GB, free: 270.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.186/12.68, allocations: 0 / 2.971 GB, free: 270.7 MB / 0.823 GB