Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadModel(Buildings): time 3.899/3.899, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.954e-05, allocations: 4 kB / 0.5325 GB, free: 1.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4967/0.4967, allocations: 98.7 MB / 0.6289 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.223/6.72, allocations: 2.468 GB / 3.097 GB, free: 290.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/6.72, allocations: 95.86 kB / 3.097 GB, free: 290.2 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$datRea.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$datRea.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$datRea.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 9.042/15.76, allocations: 2.021 GB / 5.117 GB, free: 118.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.55e-06/15.76, allocations: 0 / 5.117 GB, free: 118.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001882/15.76, allocations: 294 kB / 5.118 GB, free: 118.4 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: 2327 * Number of variables: 2327 Notification: Performance of Generate backend data structure: time 0.03121/15.8, allocations: 9.641 MB / 5.127 GB, free: 112.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/15.8, allocations: 14.27 kB / 5.127 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0162/15.81, allocations: 2.142 MB / 5.129 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04287/15.85, allocations: 14.49 MB / 5.143 GB, free: 99.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005022/15.86, allocations: 280 kB / 5.144 GB, free: 98.93 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003328/15.86, allocations: 0.5116 MB / 5.144 GB, free: 98.41 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02595/15.88, allocations: 10.34 MB / 5.154 GB, free: 88.07 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03364/15.92, allocations: 11.24 MB / 5.165 GB, free: 76.38 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004778/15.92, allocations: 35.7 kB / 5.165 GB, free: 76.35 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002797/15.92, allocations: 16 kB / 5.165 GB, free: 76.33 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004271/15.92, allocations: 461 kB / 5.166 GB, free: 75.88 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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.09131/16.01, allocations: 48.77 MB / 5.213 GB, free: 25.91 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0139/16.03, allocations: 7.464 MB / 5.22 GB, free: 18.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00745/16.03, allocations: 3.914 MB / 5.224 GB, free: 14.57 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001972/16.04, allocations: 1.504 MB / 5.226 GB, free: 12.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008253/16.05, allocations: 3.559 MB / 5.229 GB, free: 9.188 MB / 0.823 GB Notification: Performance of pre-optimization done (n=551): time 1.207e-05/16.05, allocations: 0 / 5.229 GB, free: 9.188 MB / 0.823 GB Notification: Performance of matching and sorting (n=551): time 0.08897/16.13, allocations: 11.82 MB / 5.241 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002293/16.13, allocations: 325.3 kB / 5.241 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02048/16.16, allocations: 7.634 MB / 5.249 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001231/16.16, allocations: 41.7 kB / 5.249 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00887/16.17, allocations: 4.902 MB / 5.253 GB, free: 264 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.5327/16.7, allocations: 1.84 MB / 5.255 GB, free: 139.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007354/16.7, allocations: 1 kB / 5.255 GB, free: 139.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000628/16.7, allocations: 0.5802 MB / 5.256 GB, free: 139.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007903/16.71, allocations: 3.183 MB / 5.259 GB, free: 139.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00929/16.72, allocations: 5.004 MB / 5.264 GB, free: 137.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1982/16.91, allocations: 16.54 MB / 5.28 GB, free: 137.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/16.91, allocations: 15.75 kB / 5.28 GB, free: 137.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.2158/17.13, allocations: 21.32 MB / 5.301 GB, free: 136.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.005221/17.14, allocations: 27.4 MB / 5.327 GB, free: 107.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00023/17.14, allocations: 60.28 kB / 5.328 GB, free: 107.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/17.14, allocations: 100.3 kB / 5.328 GB, free: 107.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01241/17.15, allocations: 1.855 MB / 5.329 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001529/17.15, allocations: 123.4 kB / 5.33 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01889/17.17, allocations: 1.028 MB / 5.331 GB, free: 107.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001964/17.17, allocations: 339 kB / 5.331 GB, free: 107.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/17.17, allocations: 2.375 kB / 5.331 GB, free: 107.1 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2843/17.45, allocations: 20.53 MB / 5.351 GB, free: 106 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/17.45, allocations: 52.03 kB / 5.351 GB, free: 106 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001105/17.45, allocations: 95.03 kB / 5.351 GB, free: 106 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01292/17.47, allocations: 1.851 MB / 5.353 GB, free: 106 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001496/17.47, allocations: 125.2 kB / 5.353 GB, free: 106 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01253/17.48, allocations: 0.9075 MB / 5.354 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001924/17.48, allocations: 334.5 kB / 5.354 GB, free: 105.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (869): * Single equations (assignments): 866 * Array equations: 0 * Algorithm blocks: 3 * 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.002378/17.48, allocations: 296.8 kB / 5.354 GB, free: 105.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00322/17.49, allocations: 0.7912 MB / 5.355 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09382/17.58, allocations: 12.86 MB / 5.368 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.609e-05/17.58, allocations: 55.22 kB / 5.368 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/17.58, allocations: 2.625 kB / 5.368 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08769/17.67, allocations: 11.15 MB / 5.379 GB, free: 104 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1266/17.8, allocations: 22.91 MB / 5.401 GB, free: 102.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-05/17.8, allocations: 0 / 5.401 GB, free: 102.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01778/17.81, allocations: 1.33 MB / 5.402 GB, free: 102.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/17.81, allocations: 18.03 kB / 5.402 GB, free: 102.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001879/17.82, allocations: 117.4 kB / 5.403 GB, free: 102.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-05/17.82, allocations: 16.66 kB / 5.403 GB, free: 102.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.657e-06/17.82, allocations: 3.953 kB / 5.403 GB, free: 102.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1768/17.99, allocations: 16.61 MB / 5.419 GB, free: 101.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01383/18.01, allocations: 2.247 MB / 5.421 GB, free: 100.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005859/18.01, allocations: 27.91 kB / 5.421 GB, free: 100.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01973/18.03, allocations: 0.623 MB / 5.422 GB, free: 100.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001411/18.03, allocations: 320.5 kB / 5.422 GB, free: 100.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008602/18.04, allocations: 213.1 kB / 5.422 GB, free: 100.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.014/18.05, allocations: 5.847 MB / 5.428 GB, free: 100.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.224e-06/18.05, allocations: 2.656 kB / 5.428 GB, free: 100.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.02502/18.07, allocations: 5.398 MB / 5.433 GB, free: 99.88 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 30 (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,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (567): * Single equations (assignments): 561 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * 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.004812/18.08, allocations: 1.274 MB / 5.434 GB, free: 99.56 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.02634/18.11, allocations: 12.49 MB / 5.447 GB, free: 93.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/18.11, allocations: 6.781 kB / 5.447 GB, free: 93.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.007791/18.11, allocations: 3.401 MB / 5.45 GB, free: 91.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02668/18.14, allocations: 4.685 MB / 5.454 GB, free: 88.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0492/18.19, allocations: 19.31 MB / 5.473 GB, free: 72.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01473/18.2, allocations: 7.092 MB / 5.48 GB, free: 66.83 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.03896/18.24, allocations: 8.522 MB / 5.489 GB, free: 61.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004175/18.25, allocations: 0.6449 MB / 5.489 GB, free: 60.55 MB / 0.8386 GB Notification: Performance of SimCode: time 1.75e-06/18.25, allocations: 0 / 5.489 GB, free: 60.55 MB / 0.8386 GB Notification: Performance of Templates: time 0.9863/19.23, allocations: 162.3 MB / 5.648 GB, free: 141.7 MB / 0.8542 GB