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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 4.084/4.084, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.998e-05, allocations: 5.453 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1763, allocations: 98.72 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/0.3777, allocations: 129.2 MB / 0.7609 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.378, allocations: 91.94 kB / 0.761 GB, free: 440 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03615/0.4142, allocations: 9.525 MB / 0.7703 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4142, allocations: 0 / 0.7703 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.02e-05/0.4143, allocations: 8 kB / 0.7703 GB, free: 6.816 MB / 0.6511 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.0008735/0.4151, allocations: 0.6274 MB / 0.7709 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4152, allocations: 8.031 kB / 0.7709 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.4153, allocations: 55.34 kB / 0.771 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/0.416, allocations: 375.9 kB / 0.7713 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.416, allocations: 4 kB / 0.7713 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.4161, allocations: 11.98 kB / 0.7713 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.4163, allocations: 69.67 kB / 0.7714 GB, free: 5.574 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.4163, allocations: 0 / 0.7714 GB, free: 5.574 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.4163, allocations: 0 / 0.7714 GB, free: 5.574 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.4163, allocations: 0 / 0.7714 GB, free: 5.574 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.4164, allocations: 43.92 kB / 0.7715 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008042/0.4172, allocations: 444.7 kB / 0.7719 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.4174, allocations: 70.56 kB / 0.7719 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.489e-05/0.4175, allocations: 36.94 kB / 0.772 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.4175, allocations: 0 / 0.772 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.4177, allocations: 83.33 kB / 0.7721 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 2.587e-06/0.4177, allocations: 0 / 0.7721 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.0003747/0.4181, allocations: 192.9 kB / 0.7722 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.4182, allocations: 55.36 kB / 0.7723 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.4193, allocations: 0.6401 MB / 0.7729 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.4193, allocations: 25.7 kB / 0.7729 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.4197, allocations: 260.1 kB / 0.7732 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.4197, allocations: 7.906 kB / 0.7732 GB, free: 3.629 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.4197, allocations: 0 / 0.7732 GB, free: 3.629 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000246/0.42, allocations: 370.8 kB / 0.7736 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.491e-05/0.4201, allocations: 39.97 kB / 0.7736 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.901e-05/0.4202, allocations: 35.98 kB / 0.7736 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.4203, allocations: 69.62 kB / 0.7737 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.372e-06/0.4203, allocations: 3.938 kB / 0.7737 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004342/0.4208, allocations: 226.6 kB / 0.7739 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.4208, allocations: 36.2 kB / 0.774 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.048e-06/0.4208, allocations: 3.984 kB / 0.774 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.4209, allocations: 0 / 0.774 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.36e-05/0.4209, allocations: 0 / 0.774 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.827e-06/0.421, allocations: 4 kB / 0.774 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.4211, allocations: 3.953 kB / 0.774 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.4212, allocations: 7.938 kB / 0.774 GB, free: 2.812 MB / 0.6511 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.0001028/0.4213, allocations: 113 kB / 0.7741 GB, free: 2.695 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/0.4214, allocations: 55.33 kB / 0.7741 GB, free: 2.641 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.4215, allocations: 68.5 kB / 0.7742 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.523e-06/0.4216, allocations: 0 / 0.7742 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.543e-06/0.4216, allocations: 0 / 0.7742 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.844e-06/0.4216, allocations: 3.938 kB / 0.7742 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.4221, allocations: 329.5 kB / 0.7745 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.423e-06/0.4221, allocations: 0 / 0.7745 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.4221, allocations: 4 kB / 0.7745 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.631e-06/0.4221, allocations: 4 kB / 0.7745 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.4222, allocations: 0 / 0.7745 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.4222, allocations: 3.984 kB / 0.7745 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.99e-06/0.4222, allocations: 4 kB / 0.7745 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.4226, allocations: 204.4 kB / 0.7747 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.4227, allocations: 120.4 kB / 0.7748 GB, free: 1.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.4228, allocations: 0 / 0.7748 GB, free: 1.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.4229, allocations: 7.984 kB / 0.7748 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.423, allocations: 12 kB / 0.7749 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.423, allocations: 7.984 kB / 0.7749 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009052/0.424, allocations: 0.5264 MB / 0.7754 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.3e-07/0.424, allocations: 3.938 kB / 0.7754 GB, free: 1.273 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004441/0.4244, allocations: 63.92 kB / 0.7754 GB, free: 1.211 MB / 0.6511 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.0005486/0.425, allocations: 278.7 kB / 0.7757 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.4253, allocations: 131.4 kB / 0.7758 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.4253, allocations: 0 / 0.7758 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.684e-05/0.4254, allocations: 43.86 kB / 0.7759 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.4261, allocations: 112.7 kB / 0.776 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.527/0.953, allocations: 0.7337 MB / 0.7767 GB, free: 138 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/0.9537, allocations: 0.9474 MB / 0.7776 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001459/0.9539, allocations: 20.88 kB / 0.7776 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.9539, allocations: 14.02 kB / 0.7777 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.807e-06/0.9539, allocations: 0 / 0.7777 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.01708/0.971, allocations: 5.384 MB / 0.7829 GB, free: 137.1 MB / 0.6511 GB