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.Tubular.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.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01039/0.01039, allocations: 222.3 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.001076/0.001076, allocations: 176 kB / 16.06 MB, free: 5.832 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.569/3.569, allocations: 389.1 MB / 405.9 MB, free: 13.32 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.847/3.847, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004764, allocations: 12 kB / 1.008 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4745/0.475, allocations: 98.72 MB / 1.104 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.04043/0.5155, allocations: 33.24 MB / 1.136 GB, free: 9.418 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.1994/0.7149, allocations: 145.3 MB / 1.278 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002165/0.7172, allocations: 43.69 kB / 1.278 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.7189, allocations: 492.6 kB / 1.279 GB, free: 7.23 MB / 0.6823 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.006192/0.7251, allocations: 1.701 MB / 1.281 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005967/0.7311, allocations: 1.644 MB / 1.282 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.5074/1.239, allocations: 13.32 MB / 1.295 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007567/1.246, allocations: 4.489 MB / 1.3 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005713/1.252, allocations: 3.052 MB / 1.302 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00509/1.257, allocations: 3.128 MB / 1.306 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006955/1.258, allocations: 183.1 kB / 1.306 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/1.261, allocations: 0.9628 MB / 1.307 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009962/1.262, allocations: 0.9146 MB / 1.308 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/1.264, allocations: 1.039 MB / 1.309 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007059/1.271, allocations: 6.77 MB / 1.315 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.834e-06/1.271, allocations: 0 / 1.315 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.773e-06/1.271, allocations: 0 / 1.315 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.175e-05/1.271, allocations: 0 / 1.315 GB, free: 6.77 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.01039/1.281, allocations: 4.963 MB / 1.32 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/1.281, allocations: 12.61 kB / 1.32 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/1.293, allocations: 1.542 MB / 1.322 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/1.305, allocations: 5.055 MB / 1.326 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/1.305, allocations: 299.6 kB / 1.327 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008696/1.306, allocations: 398.8 kB / 1.327 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01375/1.32, allocations: 5.784 MB / 1.333 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/1.32, allocations: 8.031 kB / 1.333 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005717/1.32, allocations: 170.6 kB / 1.333 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/1.321, allocations: 188.2 kB / 1.333 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01671/1.337, allocations: 5.701 MB / 1.339 GB, free: 1.129 MB / 0.6823 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.03851/1.376, allocations: 20.31 MB / 1.359 GB, free: 6.672 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009457/1.385, allocations: 3.707 MB / 1.362 GB, free: 6.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004746/1.39, allocations: 1.955 MB / 1.364 GB, free: 5.684 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002853/1.393, allocations: 1.945 MB / 1.366 GB, free: 3.602 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005385/1.398, allocations: 2.094 MB / 1.368 GB, free: 2.293 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 6.38e-06/1.398, allocations: 3.75 kB / 1.368 GB, free: 2.293 MB / 0.698 GB Notification: Performance of matching and sorting (n=265): time 0.01711/1.416, allocations: 5.289 MB / 1.373 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/1.416, allocations: 208.4 kB / 1.373 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006519/1.422, allocations: 3.373 MB / 1.377 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006192/1.423, allocations: 77.7 kB / 1.377 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002262/1.425, allocations: 2.005 MB / 1.379 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001346/1.427, allocations: 0.8989 MB / 1.38 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/1.427, allocations: 61 kB / 1.38 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003084/1.427, allocations: 422.3 kB / 1.38 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00491/1.432, allocations: 1.646 MB / 1.382 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005632/1.438, allocations: 2.31 MB / 1.384 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005671/1.443, allocations: 2.016 MB / 1.386 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/1.443, allocations: 8 kB / 1.386 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01399/1.458, allocations: 4.672 MB / 1.39 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005688/1.458, allocations: 0.6595 MB / 1.391 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-05/1.458, allocations: 20 kB / 1.391 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007064/1.459, allocations: 106 kB / 1.391 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00527/1.464, allocations: 0.8123 MB / 1.392 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/1.467, allocations: 2.154 MB / 1.394 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005161/1.472, allocations: 494.4 kB / 1.395 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005025/1.473, allocations: 152.3 kB / 1.395 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/1.473, allocations: 4 kB / 1.395 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01259/1.486, allocations: 4.347 MB / 1.399 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.056e-05/1.486, allocations: 18.91 kB / 1.399 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006576/1.486, allocations: 114.1 kB / 1.399 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004914/1.491, allocations: 0.7937 MB / 1.4 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/1.494, allocations: 1.566 MB / 1.401 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004864/1.499, allocations: 455.9 kB / 1.402 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004915/1.499, allocations: 152.4 kB / 1.402 GB, free: 7.199 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (381): * Single equations (assignments): 377 * 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.003552/1.503, allocations: 1.53 MB / 1.403 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/1.504, allocations: 379.3 kB / 1.404 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/1.518, allocations: 4.486 MB / 1.408 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-05/1.518, allocations: 28 kB / 1.408 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.268e-06/1.518, allocations: 4 kB / 1.408 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01057/1.528, allocations: 3.603 MB / 1.412 GB, free: 32 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02261/1.551, allocations: 8.799 MB / 1.42 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/1.551, allocations: 7.984 kB / 1.42 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004472/1.555, allocations: 0.6541 MB / 1.421 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006198/1.556, allocations: 85.03 kB / 1.421 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003477/1.556, allocations: 93.16 kB / 1.421 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/1.559, allocations: 2.16 MB / 1.423 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.672e-06/1.559, allocations: 3.938 kB / 1.423 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01752/1.577, allocations: 6.179 MB / 1.429 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003001/1.58, allocations: 0.9615 MB / 1.43 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008097/1.581, allocations: 54.98 kB / 1.43 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004238/1.585, allocations: 345.2 kB / 1.431 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004645/1.585, allocations: 171.1 kB / 1.431 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004086/1.586, allocations: 121 kB / 1.431 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004735/1.591, allocations: 2.359 MB / 1.433 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.31e-07/1.591, allocations: 0 / 1.433 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007656/1.598, allocations: 2.265 MB / 1.435 GB, free: 13.8 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (280): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002883/1.601, allocations: 0.8974 MB / 1.436 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01836/1.62, allocations: 6.611 MB / 1.443 GB, free: 8.41 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/1.62, allocations: 4.656 kB / 1.443 GB, free: 8.406 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.005943/1.626, allocations: 2.004 MB / 1.445 GB, free: 6.988 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0102/1.636, allocations: 2.017 MB / 1.447 GB, free: 5.332 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02335/1.659, allocations: 11.4 MB / 1.458 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0041/1.663, allocations: 3.148 MB / 1.461 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.01027/1.674, allocations: 1.986 MB / 1.463 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/1.675, allocations: 376.2 kB / 1.463 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of SimCode: time 1.512e-06/1.675, allocations: 4 kB / 1.463 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of Templates: time 0.1753/1.851, allocations: 76.95 MB / 1.538 GB, free: 10.15 MB / 0.8542 GB