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.009984/0.00999, allocations: 108.2 kB / 15.06 MB, free: 5.562 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.001115/0.001115, allocations: 184.4 kB / 15.95 MB, free: 5.523 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.854/1.854, allocations: 194.6 MB / 211.3 MB, free: 11.29 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.22/2.22, allocations: 236.2 MB / 492.6 MB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004832, allocations: 12 kB / 0.5869 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.586/0.5865, allocations: 98.71 MB / 0.6833 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004811/0.5914, allocations: 3.616 MB / 0.6869 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.19/0.7815, allocations: 127.6 MB / 0.8115 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007419/0.7823, allocations: 11.94 kB / 0.8115 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004404/0.7827, allocations: 103.3 kB / 0.8116 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.7845, allocations: 474.6 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.7866, allocations: 0.5844 MB / 0.8126 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.7881, allocations: 0.7479 MB / 0.8133 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.7892, allocations: 447.1 kB / 0.8138 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006792/0.7899, allocations: 330.6 kB / 0.8141 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005212/0.7905, allocations: 310.4 kB / 0.8144 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.739e-05/0.7906, allocations: 24 kB / 0.8144 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.7919, allocations: 283.6 kB / 0.8147 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003476/0.7923, allocations: 159.3 kB / 0.8148 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003683/0.7926, allocations: 189.1 kB / 0.815 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.7948, allocations: 1.083 MB / 0.8161 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.509e-06/0.7949, allocations: 0 / 0.8161 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.158e-06/0.7949, allocations: 0 / 0.8161 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.711e-05/0.7949, allocations: 0 / 0.8161 GB, free: 6.191 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002434/0.7973, allocations: 1.197 MB / 0.8172 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.7974, allocations: 8.031 kB / 0.8172 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.7998, allocations: 318.4 kB / 0.8175 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.8011, allocations: 0.6602 MB / 0.8182 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.951e-05/0.8012, allocations: 58 kB / 0.8182 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.8014, allocations: 76 kB / 0.8183 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.8037, allocations: 0.9167 MB / 0.8192 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.8038, allocations: 3.938 kB / 0.8192 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.8039, allocations: 43.83 kB / 0.8193 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.8039, allocations: 20 kB / 0.8193 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/0.8071, allocations: 1.21 MB / 0.8205 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00549/0.8126, allocations: 2.496 MB / 0.8229 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/0.8154, allocations: 0.8899 MB / 0.8238 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/0.8167, allocations: 0.6722 MB / 0.8244 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001433/0.8181, allocations: 0.5078 MB / 0.8249 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=73): time 4.121e-06/0.8181, allocations: 0 / 0.8249 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73): time 0.004802/0.8229, allocations: 1.276 MB / 0.8262 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.8231, allocations: 168.1 kB / 0.8263 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.8241, allocations: 0.5628 MB / 0.8269 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.8242, allocations: 41.7 kB / 0.8269 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.8246, allocations: 368.3 kB / 0.8273 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.8249, allocations: 244.4 kB / 0.8275 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.825, allocations: 16 kB / 0.8275 GB, free: 10 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002406/0.8253, allocations: 378.7 kB / 0.8279 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.8263, allocations: 297.1 kB / 0.8282 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.8275, allocations: 389.8 kB / 0.8285 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.8286, allocations: 374.5 kB / 0.8289 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.8286, allocations: 4 kB / 0.8289 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003324/0.832, allocations: 0.9809 MB / 0.8298 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.027e-05/0.8321, allocations: 63.41 kB / 0.8299 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.436e-06/0.8321, allocations: 0 / 0.8299 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006841/0.8328, allocations: 84.86 kB / 0.83 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.8338, allocations: 159.8 kB / 0.8301 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.8367, allocations: 1.548 MB / 0.8317 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009578/0.8377, allocations: 91.48 kB / 0.8317 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.8378, allocations: 35.97 kB / 0.8318 GB, free: 5.414 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (78): * Single equations (assignments): 75 * 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.0005834/0.8384, allocations: 247.7 kB / 0.832 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.8386, allocations: 79.06 kB / 0.8321 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/0.8425, allocations: 1.118 MB / 0.8332 GB, free: 3.949 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.8426, allocations: 12 kB / 0.8332 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.223e-06/0.8426, allocations: 0 / 0.8332 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.8426, allocations: 3.984 kB / 0.8332 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.8442, allocations: 0.8684 MB / 0.834 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.058e-06/0.8442, allocations: 4 kB / 0.834 GB, free: 3.008 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.8453, allocations: 163.7 kB / 0.8342 GB, free: 2.848 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006349/0.8459, allocations: 88.75 kB / 0.8343 GB, free: 2.758 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.174e-05/0.846, allocations: 23.98 kB / 0.8343 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/0.8486, allocations: 1.567 MB / 0.8358 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.571e-06/0.8486, allocations: 32 / 0.8358 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/0.8518, allocations: 0.9507 MB / 0.8368 GB, free: 56 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/0.8524, allocations: 303.7 kB / 0.8371 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.8526, allocations: 16 kB / 0.8371 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008238/0.8534, allocations: 85.52 kB / 0.8372 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.8536, allocations: 56.91 kB / 0.8372 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.8537, allocations: 39.94 kB / 0.8372 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007221/0.8544, allocations: 415 kB / 0.8376 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.73e-07/0.8544, allocations: 0 / 0.8376 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00104/0.8555, allocations: 287.3 kB / 0.8379 GB, free: 14.87 MB / 0.6667 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.002131/0.8576, allocations: 0.6178 MB / 0.8385 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002949/0.8606, allocations: 0.9766 MB / 0.8395 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.677e-06/0.8607, allocations: 3.938 kB / 0.8395 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.8622, allocations: 0.5354 MB / 0.84 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.8633, allocations: 190.2 kB / 0.8402 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005349/0.8686, allocations: 2.12 MB / 0.8423 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008352/0.8695, allocations: 1.014 MB / 0.8432 GB, free: 9.492 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001476/0.871, allocations: 253.3 kB / 0.8435 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003897/0.8714, allocations: 95.38 kB / 0.8436 GB, free: 9.148 MB / 0.6667 GB Notification: Performance of SimCode: time 1.608e-06/0.8714, allocations: 4 kB / 0.8436 GB, free: 9.145 MB / 0.6667 GB Notification: Performance of Templates: time 0.03825/0.9097, allocations: 12.8 MB / 0.8561 GB, free: 12.5 MB / 0.6824 GB