Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01004/0.01004, allocations: 89.69 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001199/0.0012, allocations: 175.5 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.175/2.175, allocations: 205.5 MB / 222.2 MB, free: 13.57 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.607/2.607, allocations: 252.8 MB / 0.511 GB, free: 8.305 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006953/0.0006954, allocations: 12.88 kB / 0.6243 GB, free: 21.19 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2747, allocations: 106.2 MB / 0.7281 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002824/0.2776, allocations: 1.646 MB / 0.7297 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004117/0.2817, allocations: 2.204 MB / 0.7318 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.2819, allocations: 4 kB / 0.7318 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.2838, allocations: 0.4907 MB / 0.7323 GB, free: 3.695 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.2839, allocations: 55.83 kB / 0.7324 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009288/0.2848, allocations: 199.5 kB / 0.7326 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005315/0.2854, allocations: 263.4 kB / 0.7328 GB, free: 3.188 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.2856, allocations: 80.7 kB / 0.7329 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.2858, allocations: 95.58 kB / 0.733 GB, free: 3.012 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.286, allocations: 115.4 kB / 0.7331 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.2861, allocations: 4 kB / 0.7331 GB, free: 2.895 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006074/0.2867, allocations: 263.6 kB / 0.7334 GB, free: 2.637 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.2869, allocations: 99.61 kB / 0.7334 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.287, allocations: 117.4 kB / 0.7336 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008884/0.2879, allocations: 0.5926 MB / 0.7341 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2879, allocations: 0 / 0.7341 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2879, allocations: 0 / 0.7341 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.2879, allocations: 0 / 0.7341 GB, free: 1.824 MB / 0.5573 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.001254/0.2892, allocations: 0.7752 MB / 0.7349 GB, free: 0.9922 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.2893, allocations: 8.031 kB / 0.7349 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.713e-05/0.2893, allocations: 42.55 kB / 0.7349 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.2894, allocations: 63.25 kB / 0.735 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.29, allocations: 335.8 kB / 0.7353 GB, free: 0.5039 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.29, allocations: 8 kB / 0.7353 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.29, allocations: 7.938 kB / 0.7353 GB, free: 500 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.2904, allocations: 130.2 kB / 0.7355 GB, free: 364 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2904, allocations: 0 / 0.7355 GB, free: 364 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.2904, allocations: 7.953 kB / 0.7355 GB, free: 356 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2904, allocations: 0 / 0.7355 GB, free: 356 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.2907, allocations: 100.1 kB / 0.7356 GB, free: 256 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.2918, allocations: 0.5474 MB / 0.7361 GB, free: 15.65 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.292, allocations: 106.5 kB / 0.7362 GB, free: 15.54 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.661e-05/0.2921, allocations: 8.062 kB / 0.7362 GB, free: 15.53 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002761/0.2924, allocations: 133.1 kB / 0.7363 GB, free: 15.38 MB / 0.573 GB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/0.2924, allocations: 0 / 0.7363 GB, free: 15.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.0007164/0.2931, allocations: 387.6 kB / 0.7367 GB, free: 14.97 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.2932, allocations: 77.11 kB / 0.7368 GB, free: 14.88 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.2946, allocations: 0.758 MB / 0.7375 GB, free: 14.11 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.2946, allocations: 25.7 kB / 0.7375 GB, free: 14.08 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/0.295, allocations: 276.3 kB / 0.7378 GB, free: 13.81 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.295, allocations: 23.66 kB / 0.7378 GB, free: 13.79 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.295, allocations: 3.938 kB / 0.7378 GB, free: 13.78 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2952, allocations: 325.9 kB / 0.7381 GB, free: 13.46 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.2953, allocations: 39.98 kB / 0.7382 GB, free: 13.42 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.2954, allocations: 43.97 kB / 0.7382 GB, free: 13.38 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.2956, allocations: 77.69 kB / 0.7383 GB, free: 13.29 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2956, allocations: 0 / 0.7383 GB, free: 13.29 MB / 0.573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004866/0.2961, allocations: 262.5 kB / 0.7385 GB, free: 13.02 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.98e-05/0.2962, allocations: 37.69 kB / 0.7386 GB, free: 12.98 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2962, allocations: 4 kB / 0.7386 GB, free: 12.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2962, allocations: 0 / 0.7386 GB, free: 12.98 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2963, allocations: 8 kB / 0.7386 GB, free: 12.97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2963, allocations: 4 kB / 0.7386 GB, free: 12.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.2965, allocations: 15.83 kB / 0.7386 GB, free: 12.95 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.2966, allocations: 4 kB / 0.7386 GB, free: 12.95 MB / 0.573 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,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0004859/0.2971, allocations: 339.3 kB / 0.7389 GB, free: 12.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.415e-05/0.2972, allocations: 63.25 kB / 0.739 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000665/0.2979, allocations: 292.6 kB / 0.7393 GB, free: 12.23 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2979, allocations: 0 / 0.7393 GB, free: 12.23 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2979, allocations: 4 kB / 0.7393 GB, free: 12.23 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2979, allocations: 0 / 0.7393 GB, free: 12.23 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006259/0.2985, allocations: 373.3 kB / 0.7396 GB, free: 11.82 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.2986, allocations: 4 kB / 0.7396 GB, free: 11.81 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.701e-05/0.2986, allocations: 4 kB / 0.7396 GB, free: 11.81 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2987, allocations: 3.938 kB / 0.7397 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.2987, allocations: 4 kB / 0.7397 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2987, allocations: 0 / 0.7397 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2987, allocations: 0 / 0.7397 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005888/0.2993, allocations: 310.4 kB / 0.74 GB, free: 11.47 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.2995, allocations: 140.3 kB / 0.7401 GB, free: 11.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-05/0.2996, allocations: 11.92 kB / 0.7401 GB, free: 11.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.2998, allocations: 4 kB / 0.7401 GB, free: 11.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.2999, allocations: 11.98 kB / 0.7401 GB, free: 11.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.2999, allocations: 4 kB / 0.7401 GB, free: 11.29 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001088/0.301, allocations: 0.5575 MB / 0.7407 GB, free: 10.73 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.11e-07/0.301, allocations: 0 / 0.7407 GB, free: 10.73 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005667/0.3016, allocations: 131.9 kB / 0.7408 GB, free: 10.6 MB / 0.573 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,greaterThreshold.y,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 (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 Backend phase and start with SimCode phase: time 0.001307/0.3029, allocations: 0.9412 MB / 0.7417 GB, free: 9.621 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000417/0.3034, allocations: 203.5 kB / 0.7419 GB, free: 9.41 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3034, allocations: 0 / 0.7419 GB, free: 9.41 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.3036, allocations: 151.4 kB / 0.742 GB, free: 9.25 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006984/0.3043, allocations: 98.98 kB / 0.7421 GB, free: 9.156 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006735/0.3111, allocations: 3.284 MB / 0.7453 GB, free: 5.805 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008712/0.312, allocations: 0.9776 MB / 0.7463 GB, free: 4.801 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.3122, allocations: 25.55 kB / 0.7463 GB, free: 4.777 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.3125, allocations: 147.4 kB / 0.7465 GB, free: 4.633 MB / 0.573 GB Notification: Performance of SimCode: time 9.72e-07/0.3125, allocations: 4 kB / 0.7465 GB, free: 4.629 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.045/0.3575, allocations: 10.64 MB / 0.7569 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002926/0.3578, allocations: 208.2 kB / 0.7571 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.881/3.238, allocations: 4.062 kB / 0.7571 GB, free: 9.949 MB / 0.5886 GB