Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0178/0.01781, allocations: 221.4 kB / 15.17 MB, free: 5.996 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.001713/0.001713, allocations: 175.8 kB / 16.06 MB, free: 5.871 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.733/3.733, allocations: 389.1 MB / 405.9 MB, free: 13.35 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.103/4.103, allocations: 472.3 MB / 0.9018 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005125/0.0005127, allocations: 16 kB / 1.008 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5612/0.5617, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001471/0.5633, allocations: 1.134 MB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006072/0.5639, allocations: 394.7 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.5639, allocations: 0 / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.564, allocations: 4.25 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.057e-05/0.564, allocations: 5.281 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001149/0.5641, allocations: 9.438 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.428e-05/0.5642, allocations: 17.58 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.36e-05/0.5643, allocations: 10.58 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.294e-05/0.5644, allocations: 12.75 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.94e-05/0.5644, allocations: 11.28 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.5645, allocations: 2.438 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.562e-06/0.5645, allocations: 0 / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.5645, allocations: 12.56 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.679e-05/0.5645, allocations: 25.7 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 4.798e-05/0.5646, allocations: 10.91 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5646, allocations: 0 / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.699e-06/0.5646, allocations: 0 / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5646, allocations: 2.906 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003015/0.5649, allocations: 333.6 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.565, allocations: 8.5 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.565, allocations: 13.89 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.107e-05/0.5651, allocations: 166.6 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.5651, allocations: 3.094 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.5651, allocations: 0 / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.5653, allocations: 42.03 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.219e-06/0.5653, allocations: 3.938 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-06/0.5653, allocations: 0 / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-06/0.5653, allocations: 3.281 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.5654, allocations: 32.95 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.5657, allocations: 253 kB / 1.106 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.745e-05/0.5658, allocations: 30.16 kB / 1.106 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.355e-05/0.5659, allocations: 24.95 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.5659, allocations: 1.312 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.222e-05/0.5659, allocations: 30.56 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2e-06/0.566, allocations: 0.7188 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002494/0.5662, allocations: 78.48 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.5663, allocations: 55 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.566e-05/0.5663, allocations: 107.2 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.847e-06/0.5663, allocations: 25.7 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.93e-05/0.5664, allocations: 85.58 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.5664, allocations: 5.172 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-06/0.5664, allocations: 4 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.5665, allocations: 314 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.5665, allocations: 9.141 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-05/0.5666, allocations: 17.98 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.189e-05/0.5667, allocations: 6.75 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-06/0.5667, allocations: 0 / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000144/0.5668, allocations: 60.17 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.5668, allocations: 9.906 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.5669, allocations: 3.375 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5669, allocations: 0 / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.567, allocations: 12.39 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.567, allocations: 3.953 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.567, allocations: 4.156 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-06/0.5671, allocations: 1.266 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 5.2e-05/0.5671, allocations: 109.8 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.5672, allocations: 2.594 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.5672, allocations: 11.56 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-06/0.5672, allocations: 0 / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.665e-06/0.5672, allocations: 3.969 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.996e-06/0.5672, allocations: 7 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.5674, allocations: 158.8 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.4e-06/0.5674, allocations: 0.5 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.5675, allocations: 8.766 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.733e-06/0.5675, allocations: 0 / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.669e-06/0.5675, allocations: 0.7188 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.979e-06/0.5675, allocations: 3.031 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-06/0.5675, allocations: 3.938 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.5677, allocations: 156.8 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.5677, allocations: 82.3 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.5677, allocations: 0 / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.681e-05/0.5678, allocations: 9.188 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.5679, allocations: 2.625 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-06/0.5679, allocations: 0 / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.043e-05/0.5679, allocations: 82.16 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.11e-07/0.5679, allocations: 2.281 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002849/0.5682, allocations: 6.531 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 7.903e-05/0.5683, allocations: 109.2 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.5685, allocations: 25.28 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.156e-06/0.5685, allocations: 0 / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.856e-05/0.5685, allocations: 22.56 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.5688, allocations: 3.188 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.5691, allocations: 123.2 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.5692, allocations: 0.6868 MB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.5693, allocations: 6.75 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.5693, allocations: 9.312 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.937e-06/0.5693, allocations: 0 / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.00221/0.5715, allocations: 277.9 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB