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.004238/0.004243, allocations: 232 kB / 15.82 MB, free: 6.297 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.001204/0.001204, allocations: 178.2 kB / 16.71 MB, free: 5.453 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.894/3.894, allocations: 389.1 MB / 406.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.929/3.929, allocations: 472.3 MB / 0.9024 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004936, allocations: 15.06 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1782, allocations: 98.71 MB / 1.105 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7849/0.9631, allocations: 125.2 MB / 1.227 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/0.9636, allocations: 97.66 kB / 1.227 GB, free: 28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002897/0.9665, allocations: 0.7937 MB / 1.228 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9665, allocations: 0 / 1.228 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.598e-05/0.9666, allocations: 0 / 1.228 GB, free: 27.43 MB / 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.0003218/0.9669, allocations: 343 kB / 1.228 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.9669, allocations: 8.031 kB / 1.228 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.967, allocations: 0 / 1.228 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.807e-05/0.9671, allocations: 174.4 kB / 1.228 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.9671, allocations: 1.25 kB / 1.228 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.9671, allocations: 3.844 kB / 1.228 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.9673, allocations: 49.52 kB / 1.228 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.9673, allocations: 0 / 1.228 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.9673, allocations: 3.438 kB / 1.228 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.9674, allocations: 0 / 1.228 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.9675, allocations: 21.34 kB / 1.228 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.9679, allocations: 264.8 kB / 1.229 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.968, allocations: 32.38 kB / 1.229 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.015e-05/0.9681, allocations: 19.52 kB / 1.229 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.9681, allocations: 3.688 kB / 1.229 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.9682, allocations: 30.56 kB / 1.229 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.9682, allocations: 4 kB / 1.229 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002998/0.9685, allocations: 69.23 kB / 1.229 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.9685, allocations: 55.36 kB / 1.229 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.964e-05/0.9686, allocations: 109.9 kB / 1.229 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.9686, allocations: 28.22 kB / 1.229 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.9687, allocations: 85.45 kB / 1.229 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.9687, allocations: 8.219 kB / 1.229 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-06/0.9688, allocations: 0 / 1.229 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9689, allocations: 314.9 kB / 1.229 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.719e-05/0.969, allocations: 13.45 kB / 1.229 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.764e-05/0.969, allocations: 5.406 kB / 1.229 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.721e-05/0.9691, allocations: 17.19 kB / 1.229 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9691, allocations: 0 / 1.229 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001682/0.9693, allocations: 61.44 kB / 1.229 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.9693, allocations: 9.312 kB / 1.229 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9694, allocations: 0 / 1.229 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.9694, allocations: 0 / 1.229 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.558e-05/0.9695, allocations: 9.203 kB / 1.229 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.9695, allocations: 0 / 1.229 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.9696, allocations: 9.359 kB / 1.229 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.9696, allocations: 0 / 1.229 GB, free: 25.65 MB / 0.6198 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 8.377e-05/0.9697, allocations: 113.7 kB / 1.23 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.9697, allocations: 0.6094 kB / 1.23 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.9697, allocations: 7 kB / 1.23 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.9697, allocations: 0 / 1.23 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9698, allocations: 0.6562 kB / 1.23 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.9698, allocations: 4.891 kB / 1.23 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.9699, allocations: 163.3 kB / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.9699, allocations: 0 / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.97, allocations: 5.453 kB / 1.23 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.97, allocations: 6.5 kB / 1.23 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.006e-06/0.9701, allocations: 1.312 kB / 1.23 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.9701, allocations: 4 kB / 1.23 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9701, allocations: 0 / 1.23 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.9703, allocations: 161.1 kB / 1.23 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.9703, allocations: 77.72 kB / 1.23 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.9704, allocations: 0.5625 kB / 1.23 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.731e-05/0.9705, allocations: 8.031 kB / 1.23 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.9705, allocations: 1.172 kB / 1.23 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.9705, allocations: 6.922 kB / 1.23 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000597/0.9711, allocations: 81.2 kB / 1.23 GB, free: 40.99 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9711, allocations: 4 kB / 1.23 GB, free: 40.99 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002839/0.9714, allocations: 2.875 kB / 1.23 GB, free: 40.99 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.0001042/0.9715, allocations: 102.9 kB / 1.23 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.9717, allocations: 31.61 kB / 1.23 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9717, allocations: 2.297 kB / 1.23 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.286e-05/0.9718, allocations: 17.17 kB / 1.23 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.9721, allocations: 3.953 kB / 1.23 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.9724, allocations: 129.3 kB / 1.23 GB, free: 40.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.9727, allocations: 0.6787 MB / 1.231 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.403e-05/0.9728, allocations: 4.609 kB / 1.231 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.9728, allocations: 9.828 kB / 1.231 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of SimCode: time 6.52e-07/0.9728, allocations: 0 / 1.231 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.00255/0.9754, allocations: 272.9 kB / 1.231 GB, free: 39.89 MB / 0.6355 GB