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 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.SpeedShift,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.986/3.986, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.815e-05/4.826e-05, allocations: 6.172 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2398, allocations: 98.74 MB / 0.6347 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.27/0.5098, allocations: 131.1 MB / 0.7628 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003835/0.5103, allocations: 95.92 kB / 0.7629 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0558/0.5661, allocations: 12.78 MB / 0.7754 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5662, allocations: 4 kB / 0.7754 GB, free: 1.574 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.318e-05/0.5662, allocations: 4 kB / 0.7754 GB, free: 1.57 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.001155/0.5674, allocations: 0.7053 MB / 0.7761 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.5674, allocations: 8.031 kB / 0.7761 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.407e-05/0.5675, allocations: 42.5 kB / 0.7761 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.5676, allocations: 59.25 kB / 0.7762 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006189/0.5683, allocations: 339.8 kB / 0.7765 GB, free: 328 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.5683, allocations: 12 kB / 0.7765 GB, free: 316 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.5683, allocations: 12 kB / 0.7765 GB, free: 304 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.5687, allocations: 124 kB / 0.7766 GB, free: 172 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5687, allocations: 0 / 0.7766 GB, free: 172 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.5688, allocations: 4 kB / 0.7767 GB, free: 168 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.5688, allocations: 4 kB / 0.7767 GB, free: 164 kB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.569, allocations: 96.12 kB / 0.7767 GB, free: 68 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.535/1.104, allocations: 0.5364 MB / 0.7773 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/1.104, allocations: 108.7 kB / 0.7774 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/1.105, allocations: 60.14 kB / 0.7774 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.274e-05/1.105, allocations: 10.28 kB / 0.7774 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/1.105, allocations: 133.9 kB / 0.7776 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 3.787e-06/1.105, allocations: 0 / 0.7776 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0005891/1.105, allocations: 230.4 kB / 0.7778 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/1.106, allocations: 82.36 kB / 0.7779 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/1.107, allocations: 0.6711 MB / 0.7785 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/1.107, allocations: 26.92 kB / 0.7785 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/1.107, allocations: 273.4 kB / 0.7788 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/1.107, allocations: 23.61 kB / 0.7788 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/1.108, allocations: 8.156 kB / 0.7788 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.66e-05/1.108, allocations: 308.9 kB / 0.7791 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/1.108, allocations: 50.7 kB / 0.7792 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/1.108, allocations: 51.23 kB / 0.7792 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/1.108, allocations: 77.7 kB / 0.7793 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.108, allocations: 0 / 0.7793 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004854/1.109, allocations: 240.3 kB / 0.7795 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/1.109, allocations: 38.97 kB / 0.7796 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.109, allocations: 4.281 kB / 0.7796 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/1.109, allocations: 0 / 0.7796 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/1.109, allocations: 8.391 kB / 0.7796 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.109, allocations: 0.75 kB / 0.7796 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/1.109, allocations: 13.58 kB / 0.7796 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/1.109, allocations: 6.906 kB / 0.7796 GB, free: 134.7 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 () * 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.0001095/1.109, allocations: 148.2 kB / 0.7797 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.613e-05/1.109, allocations: 59.81 kB / 0.7798 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000693/1.11, allocations: 271.1 kB / 0.7801 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.11, allocations: 1.312 kB / 0.7801 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.11, allocations: 0.8438 kB / 0.7801 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.11, allocations: 1.953 kB / 0.7801 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/1.111, allocations: 376.4 kB / 0.7804 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.111, allocations: 0 / 0.7804 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/1.111, allocations: 13.52 kB / 0.7804 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/1.111, allocations: 0 / 0.7804 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/1.111, allocations: 9.031 kB / 0.7804 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.111, allocations: 0 / 0.7804 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.111, allocations: 2.203 kB / 0.7804 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/1.111, allocations: 279.2 kB / 0.7807 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/1.112, allocations: 141.8 kB / 0.7808 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.27e-05/1.112, allocations: 8.031 kB / 0.7809 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/1.112, allocations: 7.953 kB / 0.7809 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/1.112, allocations: 5.141 kB / 0.7809 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/1.112, allocations: 15.3 kB / 0.7809 GB, free: 134 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00111/1.113, allocations: 0.5506 MB / 0.7814 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.01e-07/1.113, allocations: 1.375 kB / 0.7814 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008613/1.114, allocations: 152.1 kB / 0.7816 GB, free: 133.9 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) * 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.00181/1.116, allocations: 1.05 MB / 0.7826 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004973/1.116, allocations: 198.2 kB / 0.7828 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.116, allocations: 0 / 0.7828 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/1.117, allocations: 144.3 kB / 0.7829 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008235/1.117, allocations: 102.1 kB / 0.783 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/1.12, allocations: 0.9968 MB / 0.784 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006966/1.121, allocations: 0.9764 MB / 0.7849 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001859/1.121, allocations: 18.45 kB / 0.785 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/1.121, allocations: 154 kB / 0.7851 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.252e-06/1.121, allocations: 0 / 0.7851 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04927/1.171, allocations: 12.45 MB / 0.7973 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/1.171, allocations: 173.2 kB / 0.7974 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.74/3.911, allocations: 0 / 0.7974 GB, free: 131.1 MB / 0.6511 GB