Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01553/0.01553, allocations: 110.2 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.001768/0.001768, allocations: 183.8 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.954/1.954, allocations: 194.5 MB / 211.2 MB, free: 11.06 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.24/2.24, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004769, allocations: 12 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5478/0.5483, allocations: 98.7 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.821/6.369, allocations: 2.177 GB / 2.86 GB, free: 296.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/6.37, allocations: 91.97 kB / 2.86 GB, free: 296.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2055/6.575, allocations: 63.83 MB / 2.922 GB, free: 234.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.846e-06/6.575, allocations: 0 / 2.922 GB, free: 234.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.867e-05/6.575, allocations: 23.94 kB / 2.922 GB, free: 234.2 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002503/6.578, allocations: 1.241 MB / 2.924 GB, free: 232.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/6.578, allocations: 8.031 kB / 2.924 GB, free: 232.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/6.58, allocations: 310.4 kB / 2.924 GB, free: 232.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/6.582, allocations: 0.5724 MB / 2.924 GB, free: 232 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.61e-05/6.582, allocations: 58 kB / 2.924 GB, free: 231.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/6.582, allocations: 79.95 kB / 2.924 GB, free: 231.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/6.584, allocations: 0.9128 MB / 2.925 GB, free: 230.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/6.584, allocations: 0 / 2.925 GB, free: 230.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/6.584, allocations: 40 kB / 2.925 GB, free: 230.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/6.584, allocations: 20 kB / 2.925 GB, free: 230.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/6.588, allocations: 1.214 MB / 2.927 GB, free: 229.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005649/6.594, allocations: 2.527 MB / 2.929 GB, free: 227 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/6.596, allocations: 0.9133 MB / 2.93 GB, free: 226.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009379/6.597, allocations: 0.6566 MB / 2.931 GB, free: 225.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/6.599, allocations: 0.5117 MB / 2.931 GB, free: 224.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 4.27e-06/6.599, allocations: 0 / 2.931 GB, free: 224.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=73): time 0.004574/6.603, allocations: 1.313 MB / 2.932 GB, free: 223.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/6.603, allocations: 218.2 kB / 2.933 GB, free: 223.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009379/6.604, allocations: 0.5619 MB / 2.933 GB, free: 222.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/6.605, allocations: 45.7 kB / 2.933 GB, free: 222.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/6.605, allocations: 360.5 kB / 2.934 GB, free: 222.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/6.605, allocations: 236.5 kB / 2.934 GB, free: 222 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/6.605, allocations: 16 kB / 2.934 GB, free: 221.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001156/6.605, allocations: 386.7 kB / 2.934 GB, free: 221.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009269/6.606, allocations: 293.1 kB / 2.934 GB, free: 221.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009538/6.607, allocations: 406.7 kB / 2.935 GB, free: 220.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009762/6.608, allocations: 390.5 kB / 2.935 GB, free: 220.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.973e-06/6.608, allocations: 0 / 2.935 GB, free: 220.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002942/6.611, allocations: 1 MB / 2.936 GB, free: 219.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/6.611, allocations: 59.39 kB / 2.936 GB, free: 219.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/6.611, allocations: 4 kB / 2.936 GB, free: 219.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/6.612, allocations: 80.84 kB / 2.936 GB, free: 219.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/6.613, allocations: 167.8 kB / 2.936 GB, free: 219.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/6.615, allocations: 1.543 MB / 2.938 GB, free: 217.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009953/6.616, allocations: 95.44 kB / 2.938 GB, free: 217.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/6.616, allocations: 27.98 kB / 2.938 GB, free: 217.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005748/6.617, allocations: 253.7 kB / 2.938 GB, free: 217 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/6.617, allocations: 79.06 kB / 2.938 GB, free: 217 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003526/6.621, allocations: 1.134 MB / 2.94 GB, free: 215.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/6.621, allocations: 8 kB / 2.94 GB, free: 215.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.283e-06/6.621, allocations: 0 / 2.94 GB, free: 215.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/6.621, allocations: 3.984 kB / 2.94 GB, free: 215.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/6.622, allocations: 0.9073 MB / 2.94 GB, free: 214.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/6.622, allocations: 0 / 2.94 GB, free: 214.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000986/6.623, allocations: 155.8 kB / 2.941 GB, free: 214.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005832/6.624, allocations: 80.77 kB / 2.941 GB, free: 214.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/6.624, allocations: 35.98 kB / 2.941 GB, free: 214.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/6.626, allocations: 1.56 MB / 2.942 GB, free: 212.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.275e-06/6.626, allocations: 0 / 2.942 GB, free: 212.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/6.629, allocations: 0.9702 MB / 2.943 GB, free: 211.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006029/6.629, allocations: 299.8 kB / 2.943 GB, free: 211.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/6.63, allocations: 16 kB / 2.943 GB, free: 211.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009205/6.631, allocations: 83.92 kB / 2.944 GB, free: 211.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/6.631, allocations: 64.81 kB / 2.944 GB, free: 211.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-05/6.631, allocations: 31.97 kB / 2.944 GB, free: 211.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0007157/6.632, allocations: 475 kB / 2.944 GB, free: 210.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.66e-07/6.632, allocations: 0 / 2.944 GB, free: 210.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001308/6.633, allocations: 371.1 kB / 2.944 GB, free: 210.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002504/6.635, allocations: 1.126 MB / 2.946 GB, free: 209.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00254/6.638, allocations: 0.9805 MB / 2.946 GB, free: 208.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/6.638, allocations: 4 kB / 2.946 GB, free: 208.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/6.639, allocations: 0.5354 MB / 2.947 GB, free: 208 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/6.641, allocations: 197.3 kB / 2.947 GB, free: 207.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004762/6.645, allocations: 2.167 MB / 2.949 GB, free: 205.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/6.646, allocations: 1.011 MB / 2.95 GB, free: 204.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001424/6.647, allocations: 260.9 kB / 2.951 GB, free: 204.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/6.648, allocations: 91.38 kB / 2.951 GB, free: 204.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.629e-06/6.648, allocations: 0 / 2.951 GB, free: 204.3 MB / 0.823 GB Notification: Performance of Templates: time 0.04235/6.69, allocations: 20.47 MB / 2.971 GB, free: 183.9 MB / 0.823 GB