Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01035/0.01035, allocations: 222.8 kB / 15.17 MB, free: 5.926 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.003/0.003, allocations: 180.1 kB / 16.06 MB, free: 5.828 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 3.532/3.532, allocations: 389.1 MB / 405.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.817/3.817, allocations: 472.3 MB / 0.9017 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004918, allocations: 12 kB / 1.008 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5891/0.5896, allocations: 98.72 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.04543/0.635, allocations: 38.87 MB / 1.142 GB, free: 185.7 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1601/0.7952, allocations: 147.3 MB / 1.286 GB, free: 52.14 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00264/0.7979, allocations: 47.69 kB / 1.286 GB, free: 52.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.7995, allocations: 448.8 kB / 1.286 GB, free: 51.66 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.009981/0.8095, allocations: 3.323 MB / 1.29 GB, free: 48.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.007614/0.8171, allocations: 2.41 MB / 1.292 GB, free: 45.97 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01235/0.8295, allocations: 13.83 MB / 1.305 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006015/0.8355, allocations: 4.61 MB / 1.31 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009928/0.8455, allocations: 5.678 MB / 1.315 GB, free: 21.97 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00485/0.8504, allocations: 3.195 MB / 1.319 GB, free: 18.77 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0007544/0.8512, allocations: 180 kB / 1.319 GB, free: 18.59 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008048/0.8593, allocations: 3.451 MB / 1.322 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.8607, allocations: 0.9686 MB / 1.323 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.8623, allocations: 1.054 MB / 1.324 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.008766/0.8711, allocations: 7.423 MB / 1.331 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.922e-06/0.8712, allocations: 3.938 kB / 1.331 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8712, allocations: 0 / 1.331 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001326/0.8713, allocations: 0 / 1.331 GB, free: 5.66 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1043 * Number of variables: 1043 Notification: Performance of Generate backend data structure: time 0.01035/0.8817, allocations: 5.119 MB / 1.336 GB, free: 464 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.8817, allocations: 12.03 kB / 1.336 GB, free: 452 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01527/0.897, allocations: 1.85 MB / 1.338 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/0.913, allocations: 5.783 MB / 1.344 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003467/0.9133, allocations: 308 kB / 1.344 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/0.9144, allocations: 388 kB / 1.344 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/0.9311, allocations: 5.972 MB / 1.35 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-05/0.9312, allocations: 10.47 kB / 1.35 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007034/0.9319, allocations: 172 kB / 1.35 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002035/0.9322, allocations: 167.7 kB / 1.351 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01845/0.9506, allocations: 5.8 MB / 1.356 GB, free: 11.76 MB / 0.7605 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4791/1.43, allocations: 20.33 MB / 1.376 GB, free: 218 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/1.442, allocations: 3.95 MB / 1.38 GB, free: 216.6 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005173/1.447, allocations: 1.963 MB / 1.382 GB, free: 215.9 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003282/1.45, allocations: 2.997 MB / 1.385 GB, free: 212.7 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00692/1.457, allocations: 2.203 MB / 1.387 GB, free: 212 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=282): time 7.56e-06/1.457, allocations: 0 / 1.387 GB, free: 212 MB / 0.7605 GB Notification: Performance of matching and sorting (n=282): time 0.02345/1.481, allocations: 6.989 MB / 1.394 GB, free: 209.1 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/1.481, allocations: 212 kB / 1.394 GB, free: 208.9 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006691/1.488, allocations: 3.422 MB / 1.397 GB, free: 207.7 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0006122/1.488, allocations: 79.92 kB / 1.397 GB, free: 207.7 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001987/1.49, allocations: 1.992 MB / 1.399 GB, free: 206.3 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001309/1.492, allocations: 0.9593 MB / 1.4 GB, free: 205.6 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/1.492, allocations: 62.42 kB / 1.4 GB, free: 205.5 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002313/1.492, allocations: 431.6 kB / 1.401 GB, free: 205.2 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005152/1.497, allocations: 1.686 MB / 1.402 GB, free: 204.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005848/1.503, allocations: 2.312 MB / 1.405 GB, free: 203.4 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00578/1.509, allocations: 2.066 MB / 1.407 GB, free: 202.5 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.639e-05/1.509, allocations: 5.719 kB / 1.407 GB, free: 202.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=391) (initialization): time 0.0145/1.524, allocations: 4.764 MB / 1.411 GB, free: 200.7 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002929/1.524, allocations: 0.5998 MB / 1.412 GB, free: 200 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/1.524, allocations: 14.81 kB / 1.412 GB, free: 200 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000704/1.525, allocations: 115.1 kB / 1.412 GB, free: 199.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005329/1.53, allocations: 0.8219 MB / 1.413 GB, free: 199.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/1.532, allocations: 2.157 MB / 1.415 GB, free: 197.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005393/1.538, allocations: 0.5058 MB / 1.415 GB, free: 197.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004993/1.538, allocations: 164.5 kB / 1.416 GB, free: 197.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.538, allocations: 4.281 kB / 1.416 GB, free: 197.6 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01279/1.551, allocations: 4.44 MB / 1.42 GB, free: 196 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.373e-05/1.551, allocations: 20.58 kB / 1.42 GB, free: 196 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/1.552, allocations: 114.9 kB / 1.42 GB, free: 196 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00503/1.557, allocations: 0.81 MB / 1.421 GB, free: 195.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/1.559, allocations: 1.563 MB / 1.422 GB, free: 194.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005194/1.564, allocations: 483.5 kB / 1.423 GB, free: 194.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000518/1.565, allocations: 168.8 kB / 1.423 GB, free: 194.3 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (389): * Single equations (assignments): 385 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003472/1.568, allocations: 1.556 MB / 1.425 GB, free: 193.5 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/1.57, allocations: 392.4 kB / 1.425 GB, free: 193.3 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01655/1.586, allocations: 5.158 MB / 1.43 GB, free: 191.5 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.144e-05/1.586, allocations: 27.19 kB / 1.43 GB, free: 191.5 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.586, allocations: 3.188 kB / 1.43 GB, free: 191.5 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01342/1.6, allocations: 4.168 MB / 1.434 GB, free: 189.7 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02356/1.623, allocations: 9.366 MB / 1.443 GB, free: 181.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/1.623, allocations: 0 / 1.443 GB, free: 181.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004591/1.628, allocations: 0.6215 MB / 1.444 GB, free: 180.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004205/1.632, allocations: 0.6524 MB / 1.444 GB, free: 180 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004831/1.633, allocations: 95.91 kB / 1.445 GB, free: 179.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005407/1.638, allocations: 7.513 MB / 1.452 GB, free: 172.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.638e-06/1.638, allocations: 3.938 kB / 1.452 GB, free: 172.1 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02022/1.658, allocations: 6.901 MB / 1.459 GB, free: 165.1 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002835/1.661, allocations: 1.046 MB / 1.46 GB, free: 164 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007971/1.662, allocations: 52 kB / 1.46 GB, free: 164 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004577/1.667, allocations: 321.2 kB / 1.46 GB, free: 163.7 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/1.667, allocations: 182.1 kB / 1.46 GB, free: 163.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003935/1.667, allocations: 142.7 kB / 1.46 GB, free: 163.4 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.004019/1.671, allocations: 2.397 MB / 1.463 GB, free: 161 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.57e-07/1.671, allocations: 0 / 1.463 GB, free: 161 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.008055/1.68, allocations: 2.517 MB / 1.465 GB, free: 158.5 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * 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 (266): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003183/1.683, allocations: 1.108 MB / 1.466 GB, free: 157.8 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0165/1.699, allocations: 6.795 MB / 1.473 GB, free: 151 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.853e-06/1.699, allocations: 0.6562 kB / 1.473 GB, free: 151 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.005745/1.705, allocations: 2.191 MB / 1.475 GB, free: 148.8 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009561/1.715, allocations: 1.897 MB / 1.477 GB, free: 147 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/1.734, allocations: 11.53 MB / 1.488 GB, free: 135.5 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002931/1.737, allocations: 3.187 MB / 1.491 GB, free: 132.2 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.01055/1.748, allocations: 2.287 MB / 1.493 GB, free: 130.1 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001855/1.75, allocations: 421.8 kB / 1.494 GB, free: 129.7 MB / 0.7605 GB Notification: Performance of SimCode: time 1.508e-06/1.75, allocations: 0 / 1.494 GB, free: 129.7 MB / 0.7605 GB Notification: Performance of Templates: time 0.1559/1.906, allocations: 80.63 MB / 1.573 GB, free: 50.8 MB / 0.7605 GB