Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadModel(Buildings): time 3.978/3.978, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.372e-05/2.381e-05, allocations: 4 kB / 0.5325 GB, free: 1.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5636/0.5637, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2035/0.7672, allocations: 128.5 MB / 0.7545 GB, free: 15 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.7676, allocations: 87.94 kB / 0.7545 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03547/0.8031, allocations: 9.378 MB / 0.7637 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.938e-06/0.8031, allocations: 0 / 0.7637 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.654e-05/0.8032, allocations: 8 kB / 0.7637 GB, free: 5.453 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000865/0.804, allocations: 0.6242 MB / 0.7643 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.8041, allocations: 12.03 kB / 0.7643 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.714e-05/0.8042, allocations: 51.34 kB / 0.7644 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006668/0.8049, allocations: 375.9 kB / 0.7647 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.8049, allocations: 15.92 kB / 0.7648 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.805, allocations: 0 / 0.7648 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.938e-05/0.8051, allocations: 31.98 kB / 0.7648 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.8052, allocations: 75.75 kB / 0.7649 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.8053, allocations: 3.984 kB / 0.7649 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.8053, allocations: 0 / 0.7649 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.655e-06/0.8053, allocations: 0 / 0.7649 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000731/0.806, allocations: 429.2 kB / 0.7653 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.8062, allocations: 66.56 kB / 0.7653 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.296e-05/0.8063, allocations: 32.94 kB / 0.7654 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.8063, allocations: 0 / 0.7654 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.8065, allocations: 87.33 kB / 0.7655 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 2.362e-06/0.8065, allocations: 0 / 0.7655 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0003606/0.8068, allocations: 181 kB / 0.7656 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.8069, allocations: 59.39 kB / 0.7657 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.8079, allocations: 0.6088 MB / 0.7663 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.808, allocations: 25.7 kB / 0.7663 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.8083, allocations: 260.1 kB / 0.7665 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.8084, allocations: 11.89 kB / 0.7666 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-06/0.8084, allocations: 0 / 0.7666 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002387/0.8086, allocations: 370.7 kB / 0.7669 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.218e-05/0.8087, allocations: 39.98 kB / 0.767 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-05/0.8088, allocations: 31.98 kB / 0.767 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.8089, allocations: 39.97 kB / 0.767 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.386e-06/0.809, allocations: 0 / 0.767 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003917/0.8094, allocations: 192.8 kB / 0.7672 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/0.8094, allocations: 34.48 kB / 0.7672 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.295e-06/0.8094, allocations: 4 kB / 0.7672 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.8095, allocations: 0 / 0.7672 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.021e-05/0.8095, allocations: 0 / 0.7672 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.962e-06/0.8095, allocations: 0 / 0.7672 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.8097, allocations: 11.98 kB / 0.7673 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.8098, allocations: 4 kB / 0.7673 GB, free: 1.613 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.sta.y,sta.y,$PRE.sta.nextTime,sta.nextTime,$PRE.sta.index,sta.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0001002/0.8099, allocations: 108.9 kB / 0.7674 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.388e-05/0.8099, allocations: 51.34 kB / 0.7674 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.8101, allocations: 60.83 kB / 0.7675 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.283e-06/0.8101, allocations: 4 kB / 0.7675 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.109e-06/0.8101, allocations: 0 / 0.7675 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.769e-06/0.8101, allocations: 0 / 0.7675 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/0.8106, allocations: 314 kB / 0.7678 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.523e-06/0.8106, allocations: 4 kB / 0.7678 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.8107, allocations: 7.922 kB / 0.7678 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.122e-06/0.8107, allocations: 3.938 kB / 0.7678 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.8107, allocations: 4 kB / 0.7678 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.006e-06/0.8107, allocations: 0 / 0.7678 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.458e-06/0.8107, allocations: 0 / 0.7678 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.811, allocations: 196.4 kB / 0.768 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.8112, allocations: 128.4 kB / 0.7681 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.076e-05/0.8113, allocations: 7.984 kB / 0.7681 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.8115, allocations: 4 kB / 0.7681 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.8115, allocations: 3.984 kB / 0.7681 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.8115, allocations: 4.25 kB / 0.7681 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007932/0.8123, allocations: 0.5029 MB / 0.7686 GB, free: 148 kB / 0.6355 GB Notification: Performance of sort global known variables: time 8.16e-07/0.8124, allocations: 0 / 0.7686 GB, free: 148 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004338/0.8128, allocations: 52 kB / 0.7687 GB, free: 96 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.nextTime,sta.index) * Number of discrete states: 2 (sta.nextTime,sta.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007527/0.8136, allocations: 299.5 kB / 0.7689 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.8139, allocations: 123.4 kB / 0.7691 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8139, allocations: 0 / 0.7691 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.142e-05/0.814, allocations: 39.98 kB / 0.7691 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.8146, allocations: 113.4 kB / 0.7692 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.8162, allocations: 0.7374 MB / 0.7699 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007981/0.817, allocations: 0.9543 MB / 0.7709 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001171/0.8171, allocations: 17.88 kB / 0.7709 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.8172, allocations: 15.38 kB / 0.7709 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of SimCode: time 1.724e-06/0.8172, allocations: 0 / 0.7709 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of Templates: time 0.01315/0.8304, allocations: 4.125 MB / 0.7749 GB, free: 9.703 MB / 0.6511 GB