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.01793/0.01793, allocations: 219.6 kB / 15.17 MB, free: 5.922 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.001961/0.001962, allocations: 178.5 kB / 16.06 MB, free: 5.832 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 3.973/3.973, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.382/4.382, allocations: 472.3 MB / 0.9017 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006751/0.0006753, allocations: 19.94 kB / 1.008 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6674/0.6681, allocations: 98.71 MB / 1.104 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002565/0.6707, allocations: 1.638 MB / 1.106 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003752/0.6745, allocations: 2.271 MB / 1.108 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.6748, allocations: 0 / 1.108 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.6765, allocations: 463.7 kB / 1.108 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.6767, allocations: 47.73 kB / 1.108 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009856/0.6777, allocations: 185.4 kB / 1.109 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.6783, allocations: 281.1 kB / 1.109 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.6785, allocations: 74.36 kB / 1.109 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.6787, allocations: 95.52 kB / 1.109 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.6789, allocations: 115.4 kB / 1.109 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.679, allocations: 4 kB / 1.109 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007341/0.6797, allocations: 288 kB / 1.109 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.6799, allocations: 87.67 kB / 1.11 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.68, allocations: 122.7 kB / 1.11 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0008207/0.6808, allocations: 0.5807 MB / 1.11 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.6809, allocations: 0 / 1.11 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6809, allocations: 0.8125 kB / 1.11 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.6809, allocations: 0 / 1.11 GB, free: 4.52 MB / 0.5105 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.001256/0.6821, allocations: 0.7815 MB / 1.111 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.6822, allocations: 8.031 kB / 1.111 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.109e-05/0.6823, allocations: 42.55 kB / 1.111 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.98e-05/0.6824, allocations: 59.25 kB / 1.111 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.6828, allocations: 339.7 kB / 1.111 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.6829, allocations: 8.688 kB / 1.111 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.6829, allocations: 8.719 kB / 1.111 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.6832, allocations: 114.2 kB / 1.112 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.6832, allocations: 4 kB / 1.112 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.6833, allocations: 7.953 kB / 1.112 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.6833, allocations: 7.938 kB / 1.112 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.6835, allocations: 88.12 kB / 1.112 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009821/0.6845, allocations: 0.5318 MB / 1.112 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.6847, allocations: 102.5 kB / 1.112 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.6849, allocations: 60.91 kB / 1.112 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.592e-05/0.6849, allocations: 8 kB / 1.112 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/0.6852, allocations: 121.1 kB / 1.112 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 3.136e-06/0.6852, allocations: 0 / 1.112 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0005647/0.6858, allocations: 258.5 kB / 1.113 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.6858, allocations: 81.11 kB / 1.113 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.6871, allocations: 0.7503 MB / 1.113 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.6871, allocations: 33.7 kB / 1.114 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.6875, allocations: 276.3 kB / 1.114 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.6875, allocations: 31.5 kB / 1.114 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.6875, allocations: 0 / 1.114 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.538e-05/0.6876, allocations: 314 kB / 1.114 GB, free: 288 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.6877, allocations: 35.98 kB / 1.114 GB, free: 252 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.58e-05/0.6878, allocations: 44.3 kB / 1.114 GB, free: 208 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.6879, allocations: 85.67 kB / 1.114 GB, free: 116 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.688, allocations: 0 / 1.114 GB, free: 116 kB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004438/0.6884, allocations: 210.8 kB / 1.114 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.967e-05/0.6885, allocations: 41.69 kB / 1.115 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6885, allocations: 3.781 kB / 1.115 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.6885, allocations: 0 / 1.115 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.6887, allocations: 8 kB / 1.115 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.6887, allocations: 0 / 1.115 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.6889, allocations: 8 kB / 1.115 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.689, allocations: 4 kB / 1.115 GB, free: 15.82 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.0006327/0.6896, allocations: 339.3 kB / 1.115 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.6897, allocations: 59.25 kB / 1.115 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006308/0.6904, allocations: 256.6 kB / 1.115 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.6904, allocations: 0 / 1.115 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.6904, allocations: 0 / 1.115 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.6904, allocations: 0 / 1.115 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006327/0.6911, allocations: 373.3 kB / 1.116 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.6911, allocations: 0 / 1.116 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.252e-05/0.6912, allocations: 7.953 kB / 1.116 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.6912, allocations: 7.984 kB / 1.116 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.6912, allocations: 7.984 kB / 1.116 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.6913, allocations: 0 / 1.116 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6913, allocations: 0 / 1.116 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.6918, allocations: 277.8 kB / 1.116 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/0.6921, allocations: 140.7 kB / 1.116 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.106e-05/0.6922, allocations: 4 kB / 1.116 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.6924, allocations: 12 kB / 1.116 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.6925, allocations: 11.98 kB / 1.116 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.6925, allocations: 4 kB / 1.116 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001215/0.6937, allocations: 0.5536 MB / 1.117 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.21e-07/0.6938, allocations: 0 / 1.117 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006222/0.6944, allocations: 120 kB / 1.117 GB, free: 13.56 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.00135/0.6958, allocations: 0.8991 MB / 1.117 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004396/0.6963, allocations: 195.3 kB / 1.118 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6963, allocations: 0 / 1.118 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.6965, allocations: 147.4 kB / 1.118 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009318/0.6975, allocations: 102.9 kB / 1.118 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007836/0.7053, allocations: 3.454 MB / 1.121 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008287/0.7062, allocations: 0.9738 MB / 1.122 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001599/0.7064, allocations: 21.55 kB / 1.122 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.7067, allocations: 147.4 kB / 1.122 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of SimCode: time 1.283e-06/0.7067, allocations: 0 / 1.122 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05431/0.761, allocations: 10.48 MB / 1.133 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004109/0.7615, allocations: 210.1 kB / 1.133 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/3.655, allocations: 3.438 kB / 1.133 GB, free: 12.99 MB / 0.5417 GB