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.009398/0.009398, allocations: 111.1 kB / 15.05 MB, free: 6.031 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.001154/0.001154, allocations: 188.5 kB / 15.95 MB, free: 5.965 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.832/1.832, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.139/2.139, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.000463, allocations: 11.98 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.557/0.5575, allocations: 98.71 MB / 0.6834 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1854/0.7429, allocations: 125.2 MB / 0.8056 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.7433, allocations: 95.88 kB / 0.8057 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002791/0.7461, allocations: 0.7948 MB / 0.8065 GB, free: 72 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.708e-06/0.7461, allocations: 0 / 0.8065 GB, free: 72 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.7462, allocations: 0 / 0.8065 GB, free: 72 kB / 0.6198 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.0004036/0.7466, allocations: 343.2 kB / 0.8068 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.7466, allocations: 12.03 kB / 0.8068 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.7467, allocations: 3.906 kB / 0.8068 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.7468, allocations: 174.9 kB / 0.807 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.7468, allocations: 0 / 0.807 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.524e-06/0.7469, allocations: 0 / 0.807 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.747, allocations: 41.69 kB / 0.807 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.7471, allocations: 4 kB / 0.807 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.7471, allocations: 0 / 0.807 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.7471, allocations: 4 kB / 0.807 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.7472, allocations: 27.91 kB / 0.8071 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.7477, allocations: 260.9 kB / 0.8073 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.7478, allocations: 34.56 kB / 0.8073 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.7478, allocations: 4.062 kB / 0.8073 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.7479, allocations: 30.56 kB / 0.8074 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.097e-06/0.7479, allocations: 0 / 0.8074 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002918/0.7482, allocations: 69.61 kB / 0.8074 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.7482, allocations: 55.53 kB / 0.8075 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.067e-05/0.7483, allocations: 101 kB / 0.8076 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.7484, allocations: 25.7 kB / 0.8076 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.7484, allocations: 88.03 kB / 0.8077 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.7485, allocations: 4 kB / 0.8077 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-06/0.7485, allocations: 0 / 0.8077 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7486, allocations: 314.8 kB / 0.808 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.7487, allocations: 11.98 kB / 0.808 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.991e-05/0.7488, allocations: 16 kB / 0.808 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.876e-05/0.7488, allocations: 7.984 kB / 0.808 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.867e-06/0.7488, allocations: 4 kB / 0.808 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001654/0.749, allocations: 53.59 kB / 0.8081 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.7491, allocations: 8 kB / 0.8081 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.103e-06/0.7491, allocations: 4.094 kB / 0.8081 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.7491, allocations: 0 / 0.8081 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.109e-05/0.7492, allocations: 7.938 kB / 0.8081 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.458e-06/0.7492, allocations: 0 / 0.8081 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.7493, allocations: 11.92 kB / 0.8081 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.7493, allocations: 3.953 kB / 0.8081 GB, free: 14.17 MB / 0.6355 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 9.676e-05/0.7494, allocations: 113.8 kB / 0.8082 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.7494, allocations: 0 / 0.8082 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.7495, allocations: 7.531 kB / 0.8082 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.545e-06/0.7495, allocations: 0 / 0.8082 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.73e-06/0.7495, allocations: 4 kB / 0.8082 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.192e-06/0.7495, allocations: 0 / 0.8082 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.7497, allocations: 161.6 kB / 0.8084 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-06/0.7498, allocations: 0 / 0.8084 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.7498, allocations: 4 kB / 0.8084 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.872e-06/0.7498, allocations: 0 / 0.8084 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.7499, allocations: 7.938 kB / 0.8084 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.7499, allocations: 0 / 0.8084 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7499, allocations: 4 kB / 0.8084 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.7501, allocations: 163.3 kB / 0.8086 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.7502, allocations: 81.09 kB / 0.8087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.7502, allocations: 0 / 0.8087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.7503, allocations: 4 kB / 0.8087 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.7503, allocations: 8.016 kB / 0.8087 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-06/0.7504, allocations: 256 / 0.8087 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.281e-05/0.7504, allocations: 91.28 kB / 0.8087 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.18e-07/0.7504, allocations: 0 / 0.8087 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002915/0.7507, allocations: 4 kB / 0.8088 GB, free: 13.43 MB / 0.6355 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 0.0001214/0.7509, allocations: 99.23 kB / 0.8088 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.7511, allocations: 31.98 kB / 0.8089 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.413e-06/0.7511, allocations: 0 / 0.8089 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.544e-05/0.7511, allocations: 15.94 kB / 0.8089 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.7513, allocations: 6.016 kB / 0.8089 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.7517, allocations: 132.5 kB / 0.809 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.752, allocations: 0.6811 MB / 0.8097 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.152e-05/0.7521, allocations: 4 kB / 0.8097 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.7521, allocations: 7.438 kB / 0.8097 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.605e-06/0.7521, allocations: 0 / 0.8097 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.002327/0.7544, allocations: 262.9 kB / 0.81 GB, free: 12.14 MB / 0.6355 GB