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.SpeedShift.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01087/0.01087, allocations: 106.6 kB / 15.05 MB, free: 5.93 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.001203/0.001203, allocations: 186.4 kB / 15.94 MB, free: 5.895 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 2.05/2.05, allocations: 194.6 MB / 211.2 MB, free: 11.05 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.613/2.613, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004983, allocations: 16 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.745/0.7455, allocations: 98.71 MB / 0.6834 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2964/1.042, allocations: 131.3 MB / 0.8116 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00053/1.043, allocations: 99.94 kB / 0.8117 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05846/1.101, allocations: 12.8 MB / 0.8242 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.615e-06/1.101, allocations: 3.938 kB / 0.8242 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.824e-05/1.101, allocations: 8 kB / 0.8242 GB, free: 13.91 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001594/1.103, allocations: 0.81 MB / 0.825 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/1.103, allocations: 12.03 kB / 0.825 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.887e-05/1.103, allocations: 42.55 kB / 0.8251 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/1.103, allocations: 63.25 kB / 0.8251 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006741/1.104, allocations: 335.8 kB / 0.8254 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/1.104, allocations: 11.91 kB / 0.8255 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/1.104, allocations: 7.984 kB / 0.8255 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/1.104, allocations: 130.1 kB / 0.8256 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/1.104, allocations: 0 / 0.8256 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/1.104, allocations: 3.938 kB / 0.8256 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/1.104, allocations: 4 kB / 0.8256 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/1.105, allocations: 96.12 kB / 0.8257 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/1.106, allocations: 0.5436 MB / 0.8262 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/1.106, allocations: 114.5 kB / 0.8263 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.966e-05/1.106, allocations: 12.16 kB / 0.8263 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/1.107, allocations: 133 kB / 0.8265 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 2.595e-06/1.107, allocations: 4 kB / 0.8265 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0008299/1.108, allocations: 363.6 kB / 0.8268 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/1.108, allocations: 81.11 kB / 0.8269 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/1.109, allocations: 0.6713 MB / 0.8276 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/1.109, allocations: 25.7 kB / 0.8276 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/1.11, allocations: 276.3 kB / 0.8278 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.358e-05/1.11, allocations: 31.58 kB / 0.8279 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/1.11, allocations: 4 kB / 0.8279 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.11, allocations: 306 kB / 0.8282 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/1.11, allocations: 47.97 kB / 0.8282 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/1.11, allocations: 51.97 kB / 0.8283 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/1.11, allocations: 78.7 kB / 0.8283 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/1.11, allocations: 3.953 kB / 0.8283 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005613/1.111, allocations: 230.5 kB / 0.8286 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/1.111, allocations: 41.69 kB / 0.8286 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/1.111, allocations: 0 / 0.8286 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.111, allocations: 3.984 kB / 0.8286 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/1.111, allocations: 4 kB / 0.8286 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/1.111, allocations: 7.984 kB / 0.8286 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/1.111, allocations: 12.09 kB / 0.8286 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/1.111, allocations: 19.88 kB / 0.8286 GB, free: 9.086 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: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Number of clocked 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.0006049/1.112, allocations: 335.3 kB / 0.829 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/1.112, allocations: 67.25 kB / 0.829 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000696/1.113, allocations: 260.7 kB / 0.8293 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.113, allocations: 4 kB / 0.8293 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.113, allocations: 0 / 0.8293 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/1.113, allocations: 0 / 0.8293 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/1.114, allocations: 385.3 kB / 0.8296 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.114, allocations: 0 / 0.8296 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.17e-05/1.114, allocations: 4 kB / 0.8297 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/1.114, allocations: 0 / 0.8297 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/1.114, allocations: 7.938 kB / 0.8297 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/1.114, allocations: 4 kB / 0.8297 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.114, allocations: 0 / 0.8297 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006148/1.114, allocations: 285.3 kB / 0.8299 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/1.115, allocations: 140.3 kB / 0.8301 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.93e-05/1.115, allocations: 8 kB / 0.8301 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/1.115, allocations: 7.984 kB / 0.8301 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/1.115, allocations: 4 kB / 0.8301 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/1.115, allocations: 12 kB / 0.8301 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001138/1.116, allocations: 0.5575 MB / 0.8306 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.116, allocations: 0 / 0.8306 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007387/1.117, allocations: 151.8 kB / 0.8308 GB, free: 6.77 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: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.00173/1.119, allocations: 1.056 MB / 0.8318 GB, free: 5.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004445/1.119, allocations: 199.3 kB / 0.832 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.119, allocations: 0 / 0.832 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/1.119, allocations: 151.3 kB / 0.8322 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007967/1.12, allocations: 94.81 kB / 0.8322 GB, free: 5.219 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007376/1.128, allocations: 3.276 MB / 0.8354 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008402/1.128, allocations: 0.9784 MB / 0.8364 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001665/1.129, allocations: 21.55 kB / 0.8364 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/1.129, allocations: 155.4 kB / 0.8366 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of SimCode: time 1.212e-06/1.129, allocations: 0 / 0.8366 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05262/1.182, allocations: 12.15 MB / 0.8484 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004002/1.182, allocations: 209.7 kB / 0.8486 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.072/4.254, allocations: 0 / 0.8486 GB, free: 4.527 MB / 0.6667 GB