Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.836/3.836, allocations: 433.4 MB / 440.9 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.836e-05/1.847e-05, allocations: 5.938 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1792, allocations: 98.72 MB / 0.6289 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.3745, allocations: 124.4 MB / 0.7505 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.3749, allocations: 91.92 kB / 0.7505 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002767/0.3776, allocations: 0.7937 MB / 0.7513 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.502e-06/0.3777, allocations: 0 / 0.7513 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.716e-06/0.3777, allocations: 0 / 0.7513 GB, free: 11.69 MB / 0.6355 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.0003724/0.3781, allocations: 330.4 kB / 0.7516 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3781, allocations: 12.02 kB / 0.7516 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.3782, allocations: 11.95 kB / 0.7517 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.3783, allocations: 163.1 kB / 0.7518 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3784, allocations: 0 / 0.7518 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.3784, allocations: 7.938 kB / 0.7518 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.099e-05/0.3785, allocations: 11.94 kB / 0.7518 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.009e-05/0.3786, allocations: 37.67 kB / 0.7519 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.269e-06/0.3786, allocations: 0 / 0.7519 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-06/0.3786, allocations: 0 / 0.7519 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.995e-06/0.3786, allocations: 4 kB / 0.7519 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.379, allocations: 237.4 kB / 0.7521 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.945e-05/0.3791, allocations: 26.52 kB / 0.7521 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.3792, allocations: 20.95 kB / 0.7521 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.3792, allocations: 0 / 0.7521 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3792, allocations: 30.56 kB / 0.7522 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.963e-06/0.3792, allocations: 4 kB / 0.7522 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001646/0.3794, allocations: 37.7 kB / 0.7522 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.3795, allocations: 51.41 kB / 0.7523 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.798e-05/0.3796, allocations: 100.9 kB / 0.7524 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.3796, allocations: 25.7 kB / 0.7524 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.3797, allocations: 84.14 kB / 0.7525 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.3797, allocations: 7.844 kB / 0.7525 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-06/0.3797, allocations: 0 / 0.7525 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3799, allocations: 322.9 kB / 0.7528 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.3799, allocations: 0 / 0.7528 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.3799, allocations: 4 kB / 0.7528 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.371e-05/0.38, allocations: 15.92 kB / 0.7528 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.38, allocations: 0 / 0.7528 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.934e-05/0.3801, allocations: 37.7 kB / 0.7528 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3801, allocations: 9.094 kB / 0.7528 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.043e-06/0.3801, allocations: 0 / 0.7528 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3802, allocations: 256 / 0.7528 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.3803, allocations: 12.08 kB / 0.7528 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.3803, allocations: 4 kB / 0.7529 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.3804, allocations: 7.938 kB / 0.7529 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3804, allocations: 3.953 kB / 0.7529 GB, free: 9.898 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 () * 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.038e-05/0.3805, allocations: 101 kB / 0.753 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.3805, allocations: 7.906 kB / 0.753 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.3805, allocations: 3.969 kB / 0.753 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.628e-06/0.3806, allocations: 3.984 kB / 0.753 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.3806, allocations: 4 kB / 0.753 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.903e-06/0.3806, allocations: 3.938 kB / 0.753 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.3808, allocations: 138.2 kB / 0.7531 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-06/0.3808, allocations: 4 kB / 0.7531 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.3809, allocations: 4 kB / 0.7531 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.3809, allocations: 0 / 0.7531 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3809, allocations: 7.922 kB / 0.7531 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.12e-06/0.3809, allocations: 0 / 0.7531 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3809, allocations: 0 / 0.7531 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.3811, allocations: 143.5 kB / 0.7533 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.3811, allocations: 81.09 kB / 0.7533 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.3812, allocations: 0 / 0.7533 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.3813, allocations: 4 kB / 0.7533 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.3813, allocations: 0 / 0.7533 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.3813, allocations: 4 kB / 0.7534 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.502e-05/0.3814, allocations: 79.28 kB / 0.7534 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.7e-07/0.3814, allocations: 0 / 0.7534 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002888/0.3817, allocations: 8.031 kB / 0.7534 GB, free: 9.238 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 () * 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.0001293/0.3818, allocations: 101.5 kB / 0.7535 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.365e-05/0.3819, allocations: 15.94 kB / 0.7535 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.379e-06/0.382, allocations: 0 / 0.7535 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.976e-05/0.382, allocations: 8 kB / 0.7536 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.3822, allocations: 10.95 kB / 0.7536 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.3824, allocations: 60.12 kB / 0.7536 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.3828, allocations: 0.6806 MB / 0.7543 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.3828, allocations: 7.906 kB / 0.7543 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.3829, allocations: 7.438 kB / 0.7543 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of SimCode: time 1.413e-06/0.3829, allocations: 0 / 0.7543 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of Templates: time 0.002264/0.3852, allocations: 260 kB / 0.7546 GB, free: 8.039 MB / 0.6355 GB