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.009223/0.009223, allocations: 109 kB / 15.06 MB, free: 5.559 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.001128/0.001127, allocations: 178.1 kB / 15.95 MB, free: 5.52 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.862/1.862, allocations: 194.6 MB / 211.3 MB, free: 11.13 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.216/2.216, allocations: 236.1 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009639/0.0009644, allocations: 12 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5679/0.5689, allocations: 98.7 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.00144/0.5704, allocations: 1.128 MB / 0.6844 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0006246/0.571, allocations: 404.3 kB / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.5711, allocations: 0 / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.281e-05/0.5711, allocations: 0 / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.531e-05/0.5711, allocations: 6.406 kB / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.5713, allocations: 8.359 kB / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.078e-05/0.5713, allocations: 15.09 kB / 0.6849 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 6.829e-05/0.5714, allocations: 7.469 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.5715, allocations: 14.17 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.5716, allocations: 11.33 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.5716, allocations: 0 / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.5716, allocations: 1.25 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.5716, allocations: 6.578 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.5716, allocations: 26.77 kB / 0.6849 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 4.907e-05/0.5717, allocations: 13.47 kB / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.99e-06/0.5717, allocations: 1.031 kB / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.043e-06/0.5717, allocations: 0 / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.604e-06/0.5717, allocations: 0 / 0.6849 GB, free: 15.66 MB / 0.5261 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.0002836/0.572, allocations: 334.1 kB / 0.6853 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.5721, allocations: 8.406 kB / 0.6853 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.5721, allocations: 10.58 kB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.02e-05/0.5722, allocations: 162.8 kB / 0.6854 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.5722, allocations: 0 / 0.6854 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.5722, allocations: 5.25 kB / 0.6854 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.5724, allocations: 48.67 kB / 0.6855 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.101e-06/0.5724, allocations: 0 / 0.6855 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.729e-06/0.5724, allocations: 3.938 kB / 0.6855 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.03e-06/0.5724, allocations: 3.984 kB / 0.6855 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.5725, allocations: 27.95 kB / 0.6855 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.5728, allocations: 247.2 kB / 0.6857 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.139e-05/0.5729, allocations: 36.22 kB / 0.6858 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.573, allocations: 3.984 kB / 0.6858 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.573, allocations: 36.77 kB / 0.6858 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.068e-06/0.573, allocations: 0 / 0.6858 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002743/0.5733, allocations: 73.31 kB / 0.6859 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.5733, allocations: 57.08 kB / 0.6859 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.366e-05/0.5734, allocations: 103.4 kB / 0.686 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.044e-06/0.5734, allocations: 26.8 kB / 0.6861 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.5735, allocations: 85.94 kB / 0.6862 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.5735, allocations: 5.953 kB / 0.6862 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.5735, allocations: 0 / 0.6862 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.941e-05/0.5736, allocations: 313.1 kB / 0.6865 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.721e-05/0.5736, allocations: 17.02 kB / 0.6865 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/0.5737, allocations: 9.703 kB / 0.6865 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.5738, allocations: 14.03 kB / 0.6865 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-06/0.5738, allocations: 3.938 kB / 0.6865 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001564/0.5739, allocations: 58.02 kB / 0.6866 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.574, allocations: 5.625 kB / 0.6866 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.296e-06/0.574, allocations: 1.703 kB / 0.6866 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.574, allocations: 0 / 0.6866 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.269e-05/0.5741, allocations: 7.469 kB / 0.6866 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.685e-06/0.5741, allocations: 3.953 kB / 0.6866 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.5742, allocations: 4.312 kB / 0.6866 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.5742, allocations: 0.5625 kB / 0.6866 GB, free: 13.99 MB / 0.5261 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.361e-05/0.5742, allocations: 113.3 kB / 0.6867 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.5743, allocations: 0.9688 kB / 0.6867 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.5743, allocations: 9.406 kB / 0.6867 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.593e-06/0.5743, allocations: 2.344 kB / 0.6867 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.054e-06/0.5743, allocations: 0 / 0.6867 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.875e-06/0.5744, allocations: 3.953 kB / 0.6867 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.5745, allocations: 156.8 kB / 0.6869 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-06/0.5745, allocations: 0 / 0.6869 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.5746, allocations: 6.844 kB / 0.6869 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.692e-06/0.5746, allocations: 4.938 kB / 0.6869 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.5746, allocations: 8.75 kB / 0.6869 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.5746, allocations: 8.906 kB / 0.6869 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.687e-06/0.5747, allocations: 0 / 0.6869 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.5748, allocations: 158.2 kB / 0.687 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.5749, allocations: 79.17 kB / 0.6871 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.5749, allocations: 4.828 kB / 0.6871 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.923e-05/0.575, allocations: 3.328 kB / 0.6871 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.575, allocations: 1.734 kB / 0.6871 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-06/0.5751, allocations: 1.797 kB / 0.6871 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.451e-05/0.5751, allocations: 86.47 kB / 0.6872 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.33e-07/0.5751, allocations: 0 / 0.6872 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002868/0.5754, allocations: 6.688 kB / 0.6872 GB, free: 13.32 MB / 0.5261 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 9.101e-05/0.5755, allocations: 106.8 kB / 0.6873 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.5757, allocations: 29.19 kB / 0.6873 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.386e-06/0.5757, allocations: 0 / 0.6873 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.191e-05/0.5758, allocations: 10.88 kB / 0.6873 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.5759, allocations: 5.328 kB / 0.6874 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.5762, allocations: 128.7 kB / 0.6875 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.5764, allocations: 0.6805 MB / 0.6881 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.5764, allocations: 2.031 kB / 0.6881 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.5764, allocations: 7.438 kB / 0.6881 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.115e-06/0.5765, allocations: 0 / 0.6881 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.002336/0.5788, allocations: 282.9 kB / 0.6884 GB, free: 12.32 MB / 0.5261 GB