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.LinearPiecewiseTwo.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.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009301/0.009304, allocations: 110.8 kB / 15.05 MB, free: 5.965 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.001142/0.001142, allocations: 183.2 kB / 15.94 MB, free: 5.93 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.824/1.824, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.249/2.249, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000753/0.0007534, allocations: 12 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6265/0.6273, allocations: 98.71 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.8244, allocations: 127 MB / 0.8073 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.8247, allocations: 99.94 kB / 0.8074 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01781/0.8426, allocations: 4.552 MB / 0.8119 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.489e-06/0.8426, allocations: 0 / 0.8119 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.356e-05/0.8426, allocations: 8 kB / 0.8119 GB, free: 10.68 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000978/0.8436, allocations: 0.6223 MB / 0.8125 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.8437, allocations: 8.031 kB / 0.8125 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.495e-05/0.8438, allocations: 35.62 kB / 0.8125 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007806/0.8446, allocations: 409.3 kB / 0.8129 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.8446, allocations: 7.938 kB / 0.8129 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.8447, allocations: 7.938 kB / 0.8129 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.8449, allocations: 77.66 kB / 0.813 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.42e-06/0.8449, allocations: 0 / 0.813 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.8449, allocations: 7.938 kB / 0.813 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.845, allocations: 8 kB / 0.813 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.8451, allocations: 51.97 kB / 0.8131 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008919/0.8461, allocations: 492.5 kB / 0.8135 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.8463, allocations: 58.55 kB / 0.8136 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.8463, allocations: 8.016 kB / 0.8136 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.8463, allocations: 38.58 kB / 0.8136 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.268e-06/0.8464, allocations: 0 / 0.8136 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003907/0.8468, allocations: 109.3 kB / 0.8137 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.8468, allocations: 59.41 kB / 0.8138 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008556/0.8477, allocations: 484.8 kB / 0.8143 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.8477, allocations: 29.7 kB / 0.8143 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.8479, allocations: 167.9 kB / 0.8145 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.8479, allocations: 7.906 kB / 0.8145 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-06/0.8479, allocations: 0 / 0.8145 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.8481, allocations: 342.8 kB / 0.8148 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-05/0.8483, allocations: 20.09 kB / 0.8148 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/0.8483, allocations: 23.92 kB / 0.8148 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.8485, allocations: 75.41 kB / 0.8149 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.253e-06/0.8485, allocations: 3.938 kB / 0.8149 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003522/0.8489, allocations: 152.7 kB / 0.8151 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.034e-05/0.8489, allocations: 67.34 kB / 0.8151 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.916e-06/0.849, allocations: 4 kB / 0.8151 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.849, allocations: 0 / 0.8151 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.699e-05/0.8491, allocations: 8 kB / 0.8151 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.8491, allocations: 0 / 0.8151 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.8492, allocations: 7.938 kB / 0.8151 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.8493, allocations: 7.984 kB / 0.8151 GB, free: 7.066 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002404/0.8495, allocations: 173.8 kB / 0.8153 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.64e-05/0.8496, allocations: 27.62 kB / 0.8153 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.8499, allocations: 120 kB / 0.8155 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.376e-06/0.85, allocations: 0 / 0.8155 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.69e-06/0.85, allocations: 3.938 kB / 0.8155 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.145e-06/0.85, allocations: 3.984 kB / 0.8155 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.8504, allocations: 289.5 kB / 0.8157 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.571e-06/0.8504, allocations: 3.984 kB / 0.8157 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.671e-05/0.8505, allocations: 8 kB / 0.8157 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.427e-06/0.8505, allocations: 0 / 0.8157 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.8506, allocations: 4 kB / 0.8157 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.855e-06/0.8506, allocations: 7.953 kB / 0.8158 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.171e-06/0.8506, allocations: 0 / 0.8158 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.8509, allocations: 191.1 kB / 0.8159 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.8511, allocations: 128.9 kB / 0.8161 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.8512, allocations: 4 kB / 0.8161 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.8513, allocations: 8 kB / 0.8161 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.8514, allocations: 11.95 kB / 0.8161 GB, free: 6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.36e-06/0.8514, allocations: 0 / 0.8161 GB, free: 6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006739/0.8521, allocations: 395.1 kB / 0.8165 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.17e-07/0.8521, allocations: 0 / 0.8165 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004132/0.8525, allocations: 35.94 kB / 0.8165 GB, free: 5.578 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 (3): * Single equations (assignments): 3 * 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.0009885/0.8535, allocations: 301.6 kB / 0.8168 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.8538, allocations: 154.8 kB / 0.8169 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8539, allocations: 0 / 0.8169 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/0.854, allocations: 19.94 kB / 0.817 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.8543, allocations: 32.92 kB / 0.817 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.8555, allocations: 0.5586 MB / 0.8175 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.856, allocations: 0.7869 MB / 0.8183 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001833/0.8562, allocations: 54.12 kB / 0.8183 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.036e-05/0.8563, allocations: 23.44 kB / 0.8184 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of SimCode: time 1.615e-06/0.8563, allocations: 0 / 0.8184 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of Templates: time 0.008411/0.8647, allocations: 2.29 MB / 0.8206 GB, free: 1.387 MB / 0.6355 GB