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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009264/0.00927, allocations: 109.1 kB / 15.06 MB, free: 5.559 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.001173/0.001173, allocations: 178.1 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 1.882/1.882, allocations: 194.6 MB / 211.3 MB, free: 11.3 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.197/2.197, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008684/0.0008686, allocations: 12 kB / 0.587 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.5628, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002142/0.565, allocations: 1.613 MB / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003145/0.5682, allocations: 2.172 MB / 0.687 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.5684, allocations: 2.188 kB / 0.6871 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.57, allocations: 0.4914 MB / 0.6875 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.5702, allocations: 51.88 kB / 0.6876 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008852/0.5711, allocations: 178.2 kB / 0.6878 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.5716, allocations: 252.5 kB / 0.688 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.5718, allocations: 83.3 kB / 0.6881 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.5719, allocations: 92.48 kB / 0.6882 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.5721, allocations: 109.4 kB / 0.6883 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.5722, allocations: 2.531 kB / 0.6883 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006635/0.5728, allocations: 273.2 kB / 0.6885 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.573, allocations: 89.58 kB / 0.6886 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.5731, allocations: 119.7 kB / 0.6887 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008649/0.574, allocations: 0.5803 MB / 0.6893 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.574, allocations: 0 / 0.6893 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.185e-06/0.574, allocations: 0 / 0.6893 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.64e-06/0.574, allocations: 0 / 0.6893 GB, free: 13.33 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.0009578/0.575, allocations: 0.7732 MB / 0.69 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.5751, allocations: 12.69 kB / 0.6901 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.263e-05/0.5752, allocations: 60.75 kB / 0.6901 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.5755, allocations: 336 kB / 0.6904 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.5756, allocations: 7.469 kB / 0.6904 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.5756, allocations: 6 kB / 0.6905 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.5759, allocations: 116.3 kB / 0.6906 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.5759, allocations: 0 / 0.6906 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.5759, allocations: 7.266 kB / 0.6906 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.261e-06/0.576, allocations: 5.047 kB / 0.6906 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.5762, allocations: 88.31 kB / 0.6907 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009476/0.5771, allocations: 0.5324 MB / 0.6912 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.5774, allocations: 102.1 kB / 0.6913 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.623e-05/0.5774, allocations: 7.047 kB / 0.6913 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.5777, allocations: 128.5 kB / 0.6914 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 2.98e-06/0.5777, allocations: 1.344 kB / 0.6914 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0005296/0.5782, allocations: 343.9 kB / 0.6917 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.5783, allocations: 82.19 kB / 0.6918 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.5796, allocations: 0.7505 MB / 0.6925 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.5796, allocations: 30.86 kB / 0.6926 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.5799, allocations: 274 kB / 0.6928 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.5799, allocations: 30.09 kB / 0.6929 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-06/0.58, allocations: 4 kB / 0.6929 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.58, allocations: 314.1 kB / 0.6932 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.987e-05/0.5801, allocations: 40.33 kB / 0.6932 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.579e-05/0.5802, allocations: 41.89 kB / 0.6932 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.5804, allocations: 74.66 kB / 0.6933 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.788e-06/0.5804, allocations: 0 / 0.6933 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000377/0.5808, allocations: 214.1 kB / 0.6935 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.5808, allocations: 43.09 kB / 0.6936 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.756e-06/0.5808, allocations: 2.109 kB / 0.6936 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.5809, allocations: 3.953 kB / 0.6936 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.581, allocations: 10.89 kB / 0.6936 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.317e-06/0.581, allocations: 0.9062 kB / 0.6936 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.5812, allocations: 11.72 kB / 0.6936 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.5812, allocations: 4.641 kB / 0.6936 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.000502/0.5817, allocations: 336.5 kB / 0.6939 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-05/0.5818, allocations: 60.5 kB / 0.694 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005075/0.5824, allocations: 259.2 kB / 0.6942 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.533e-06/0.5824, allocations: 5.031 kB / 0.6942 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.829e-06/0.5824, allocations: 0.7031 kB / 0.6942 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.672e-06/0.5824, allocations: 0.8438 kB / 0.6942 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.5829, allocations: 373.9 kB / 0.6946 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.339e-06/0.583, allocations: 0 / 0.6946 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.434e-05/0.583, allocations: 5.75 kB / 0.6946 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.164e-06/0.583, allocations: 1.031 kB / 0.6946 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.5831, allocations: 7.719 kB / 0.6946 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.5831, allocations: 3.984 kB / 0.6946 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.777e-06/0.5831, allocations: 1.797 kB / 0.6946 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.5835, allocations: 262 kB / 0.6949 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.5837, allocations: 148.9 kB / 0.695 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/0.5838, allocations: 4.641 kB / 0.695 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.5839, allocations: 5.875 kB / 0.695 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.584, allocations: 9.062 kB / 0.695 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.584, allocations: 9.156 kB / 0.695 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009865/0.585, allocations: 0.5533 MB / 0.6956 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.218e-06/0.585, allocations: 4 kB / 0.6956 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006385/0.5857, allocations: 119.6 kB / 0.6957 GB, free: 9.09 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.0004519/0.5862, allocations: 192.4 kB / 0.6959 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003544/0.5865, allocations: 201.4 kB / 0.6961 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.286e-06/0.5866, allocations: 0 / 0.6961 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.5867, allocations: 151.6 kB / 0.6962 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/0.5874, allocations: 101.8 kB / 0.6963 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.5893, allocations: 1.092 MB / 0.6974 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.59, allocations: 0.9745 MB / 0.6983 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001425/0.5901, allocations: 18.22 kB / 0.6983 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.5902, allocations: 13.91 kB / 0.6983 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of SimCode: time 2.024e-06/0.5902, allocations: 0 / 0.6983 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of Templates: time 0.01395/0.6042, allocations: 4.699 MB / 0.7029 GB, free: 5.281 MB / 0.5261 GB