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.01167/0.01168, allocations: 107.5 kB / 15.06 MB, free: 5.555 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.001496/0.001496, allocations: 181.8 kB / 15.95 MB, free: 5.52 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.227/2.227, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.402/2.402, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007361/0.0007362, allocations: 16 kB / 0.587 GB, free: 2.035 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.725/0.7258, allocations: 98.71 MB / 0.6834 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002886/0.7287, allocations: 1.61 MB / 0.685 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004052/0.7328, allocations: 2.176 MB / 0.6871 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.7331, allocations: 5.531 kB / 0.6871 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002266/0.7354, allocations: 0.4886 MB / 0.6876 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.7357, allocations: 53.83 kB / 0.6877 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.737, allocations: 176.5 kB / 0.6878 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007739/0.7378, allocations: 257.5 kB / 0.6881 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.7381, allocations: 77.16 kB / 0.6882 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.7383, allocations: 95.84 kB / 0.6883 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.7385, allocations: 109.7 kB / 0.6884 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.7386, allocations: 3.375 kB / 0.6884 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008922/0.7395, allocations: 267.6 kB / 0.6886 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.7397, allocations: 95.16 kB / 0.6887 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.7398, allocations: 118.9 kB / 0.6888 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.741, allocations: 0.5811 MB / 0.6894 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.741, allocations: 0 / 0.6894 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.484e-06/0.741, allocations: 0 / 0.6894 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.741, allocations: 0 / 0.6894 GB, free: 13.38 MB / 0.5261 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.001299/0.7423, allocations: 0.7774 MB / 0.6901 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.7424, allocations: 9.219 kB / 0.6902 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.873e-05/0.7425, allocations: 40.02 kB / 0.6902 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.796e-05/0.7426, allocations: 69 kB / 0.6903 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004667/0.743, allocations: 327.1 kB / 0.6906 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.7431, allocations: 7.406 kB / 0.6906 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.7431, allocations: 6.078 kB / 0.6906 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.7434, allocations: 117.7 kB / 0.6907 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.7435, allocations: 1.656 kB / 0.6907 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.7435, allocations: 7.953 kB / 0.6907 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.7435, allocations: 2.859 kB / 0.6907 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.7438, allocations: 91.58 kB / 0.6908 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.7449, allocations: 0.541 MB / 0.6913 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.7452, allocations: 101.9 kB / 0.6914 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.248e-05/0.7452, allocations: 5.828 kB / 0.6914 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000278/0.7455, allocations: 127.1 kB / 0.6915 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 3.085e-06/0.7455, allocations: 3.984 kB / 0.6915 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0006316/0.7462, allocations: 340.1 kB / 0.6919 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.7462, allocations: 85.78 kB / 0.692 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.7478, allocations: 0.7511 MB / 0.6927 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.7478, allocations: 27.11 kB / 0.6927 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.7482, allocations: 271.2 kB / 0.693 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.7482, allocations: 28.81 kB / 0.693 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-06/0.7482, allocations: 1.344 kB / 0.693 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.7483, allocations: 317.1 kB / 0.6933 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.7484, allocations: 40.11 kB / 0.6933 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.7485, allocations: 42.14 kB / 0.6934 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.7487, allocations: 77.28 kB / 0.6935 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7487, allocations: 0.8438 kB / 0.6935 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004142/0.7491, allocations: 216.9 kB / 0.6937 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.7492, allocations: 41.48 kB / 0.6937 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.7492, allocations: 0 / 0.6937 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.7492, allocations: 4.984 kB / 0.6937 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.7494, allocations: 11.78 kB / 0.6937 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.7494, allocations: 0 / 0.6937 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.7496, allocations: 7.625 kB / 0.6937 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.7497, allocations: 4.641 kB / 0.6937 GB, free: 10.29 MB / 0.5261 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 (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.0005471/0.7502, allocations: 335.7 kB / 0.6941 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-05/0.7503, allocations: 60.97 kB / 0.6941 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005504/0.7509, allocations: 259.4 kB / 0.6944 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.7509, allocations: 1.188 kB / 0.6944 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7509, allocations: 4.656 kB / 0.6944 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.7509, allocations: 1.219 kB / 0.6944 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/0.7515, allocations: 370.1 kB / 0.6947 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.7515, allocations: 0 / 0.6947 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.7516, allocations: 5.203 kB / 0.6947 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.7516, allocations: 5.422 kB / 0.6947 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.7516, allocations: 3.562 kB / 0.6947 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.7516, allocations: 0.7031 kB / 0.6947 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7516, allocations: 0 / 0.6947 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.7521, allocations: 270.1 kB / 0.695 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.7523, allocations: 146.7 kB / 0.6951 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.118e-05/0.7524, allocations: 2.406 kB / 0.6951 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.7526, allocations: 10.53 kB / 0.6951 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.7527, allocations: 6.141 kB / 0.6951 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.7527, allocations: 3.922 kB / 0.6952 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001142/0.7539, allocations: 0.557 MB / 0.6957 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7539, allocations: 0 / 0.6957 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007165/0.7546, allocations: 124.4 kB / 0.6958 GB, free: 9.098 MB / 0.5261 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 (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.001148/0.7558, allocations: 0.8815 MB / 0.6967 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004229/0.7562, allocations: 209.9 kB / 0.6969 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.7562, allocations: 3.938 kB / 0.6969 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.7564, allocations: 147.5 kB / 0.697 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008058/0.7572, allocations: 106.5 kB / 0.6971 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00722/0.7645, allocations: 3.264 MB / 0.7003 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00063/0.7652, allocations: 0.9781 MB / 0.7013 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001764/0.7654, allocations: 23.27 kB / 0.7013 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.7656, allocations: 151 kB / 0.7014 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of SimCode: time 2.514e-06/0.7656, allocations: 0 / 0.7014 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04418/0.8098, allocations: 10.47 MB / 0.7117 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/0.8102, allocations: 207.1 kB / 0.7119 GB, free: 436 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.065/3.875, allocations: 4 kB / 0.7119 GB, free: 432 kB / 0.5261 GB