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.SpeedSelect.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.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0103/0.0103, allocations: 223 kB / 15.17 MB, free: 5.93 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.001076/0.001076, allocations: 181.8 kB / 16.06 MB, free: 5.828 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.194/3.194, allocations: 389.1 MB / 405.9 MB, free: 67.61 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.053/4.053, allocations: 472.3 MB / 0.9018 GB, free: 13.43 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004732, allocations: 12 kB / 1.008 GB, free: 0.8477 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4816, allocations: 98.73 MB / 1.104 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.001562/0.4832, allocations: 1.419 MB / 1.105 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.485, allocations: 1.573 MB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.4851, allocations: 3.938 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.4861, allocations: 454.8 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.929e-05/0.4862, allocations: 47.8 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.4867, allocations: 127.7 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.4869, allocations: 216.8 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.4871, allocations: 51.31 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.158e-05/0.4872, allocations: 91.62 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.4873, allocations: 111 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.4874, allocations: 0 / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.4875, allocations: 55.95 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.4876, allocations: 95.59 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.77e-05/0.4877, allocations: 105.5 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.4881, allocations: 446.9 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.029e-06/0.4881, allocations: 0.9375 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.119e-06/0.4881, allocations: 0 / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.5e-06/0.4881, allocations: 0 / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000801/0.4889, allocations: 0.7201 MB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.489, allocations: 8.031 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.07e-05/0.4891, allocations: 55.3 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.4894, allocations: 319.9 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.4895, allocations: 4.547 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.4895, allocations: 4 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.4897, allocations: 85.97 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.4897, allocations: 1.031 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4897, allocations: 0.8438 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-06/0.4897, allocations: 0 / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.728e-05/0.4898, allocations: 35.98 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.4904, allocations: 439.6 kB / 1.11 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.4905, allocations: 70.48 kB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.582e-05/0.4906, allocations: 40.94 kB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.4906, allocations: 0.5625 kB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.4908, allocations: 89.56 kB / 1.111 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 2.293e-06/0.4908, allocations: 0 / 1.111 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0003927/0.4912, allocations: 225.8 kB / 1.111 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.4913, allocations: 56.28 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008525/0.4921, allocations: 0.7164 MB / 1.111 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.4922, allocations: 29.7 kB / 1.112 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.4924, allocations: 264.1 kB / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.4924, allocations: 8.469 kB / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-06/0.4925, allocations: 1.344 kB / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4926, allocations: 374.7 kB / 1.112 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.4926, allocations: 31.97 kB / 1.112 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.59e-05/0.4927, allocations: 31.39 kB / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.486e-05/0.4928, allocations: 57.69 kB / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.147e-06/0.4928, allocations: 5.031 kB / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002304/0.493, allocations: 192.7 kB / 1.112 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.4931, allocations: 37.7 kB / 1.112 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.208e-06/0.4931, allocations: 0 / 1.112 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.4931, allocations: 0 / 1.112 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.454e-05/0.4932, allocations: 13.2 kB / 1.112 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.715e-06/0.4932, allocations: 4.984 kB / 1.112 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.4933, allocations: 6.094 kB / 1.112 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.4933, allocations: 0 / 1.112 GB, free: 174.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.sta.y,sta.y,$PRE.sta.nextTime,sta.nextTime,$PRE.sta.index,sta.index) * 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.000274/0.4936, allocations: 293.7 kB / 1.113 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.4937, allocations: 54.62 kB / 1.113 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.98e-05/0.4938, allocations: 61.08 kB / 1.113 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-06/0.4938, allocations: 0 / 1.113 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.943e-06/0.4938, allocations: 3.953 kB / 1.113 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.775e-06/0.4938, allocations: 0 / 1.113 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.4942, allocations: 329.5 kB / 1.113 GB, free: 174 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.933e-06/0.4942, allocations: 1.875 kB / 1.113 GB, free: 174 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.4942, allocations: 4.734 kB / 1.113 GB, free: 174 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.248e-06/0.4942, allocations: 0 / 1.113 GB, free: 174 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.4942, allocations: 7.406 kB / 1.113 GB, free: 174 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.136e-06/0.4943, allocations: 0 / 1.113 GB, free: 174 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.812e-06/0.4943, allocations: 0 / 1.113 GB, free: 174 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.4946, allocations: 212.3 kB / 1.113 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.052e-05/0.4947, allocations: 130.1 kB / 1.114 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.464e-05/0.4947, allocations: 0 / 1.114 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.4949, allocations: 13.14 kB / 1.114 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.4949, allocations: 0 / 1.114 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.495, allocations: 7.984 kB / 1.114 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006531/0.4956, allocations: 0.538 MB / 1.114 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.2e-07/0.4957, allocations: 0 / 1.114 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003369/0.496, allocations: 47.95 kB / 1.114 GB, free: 173.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.nextTime,sta.index) * Number of discrete states: 2 (sta.nextTime,sta.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002039/0.4962, allocations: 137.7 kB / 1.114 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.4965, allocations: 140.2 kB / 1.114 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4965, allocations: 0 / 1.114 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-05/0.4966, allocations: 40.78 kB / 1.114 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006396/0.4972, allocations: 108.5 kB / 1.115 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.4986, allocations: 1.017 MB / 1.116 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.4991, allocations: 0.9551 MB / 1.116 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.197e-05/0.4992, allocations: 15.11 kB / 1.116 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.4992, allocations: 16.19 kB / 1.116 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.388e-06/0.4992, allocations: 0 / 1.116 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.009983/0.5092, allocations: 3.7 MB / 1.12 GB, free: 167.2 MB / 0.6823 GB