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.Examples.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.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadModel(Buildings): time 4.063/4.063, allocations: 433.3 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.143e-05/2.157e-05, allocations: 4 kB / 0.5325 GB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5064/0.5065, allocations: 98.71 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.864/6.371, allocations: 2.222 GB / 2.851 GB, free: 165.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/6.371, allocations: 92.12 kB / 2.851 GB, free: 165.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.425/12.8, allocations: 1.392 GB / 4.244 GB, free: 35.13 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.164e-06/12.8, allocations: 0 / 4.244 GB, free: 35.13 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0007326/12.8, allocations: 131.8 kB / 4.244 GB, free: 35 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: 973 * Number of variables: 973 Notification: Performance of Generate backend data structure: time 0.01679/12.81, allocations: 5.452 MB / 4.249 GB, free: 29.47 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/12.81, allocations: 16.02 kB / 4.249 GB, free: 29.45 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01477/12.83, allocations: 1.695 MB / 4.251 GB, free: 27.75 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0155/12.84, allocations: 5.148 MB / 4.256 GB, free: 22.54 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/12.84, allocations: 120 kB / 4.256 GB, free: 22.42 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/12.85, allocations: 223.8 kB / 4.256 GB, free: 22.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01179/12.86, allocations: 4.509 MB / 4.26 GB, free: 17.69 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/12.87, allocations: 4.628 MB / 4.265 GB, free: 12.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/12.87, allocations: 7.938 kB / 4.265 GB, free: 12.89 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009255/12.87, allocations: 11.95 kB / 4.265 GB, free: 12.88 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/12.87, allocations: 159.2 kB / 4.265 GB, free: 12.73 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.605/13.48, allocations: 19.12 MB / 4.284 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007675/13.49, allocations: 3.316 MB / 4.287 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004027/13.49, allocations: 1.621 MB / 4.289 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002427/13.49, allocations: 2.066 MB / 4.291 GB, free: 108.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005225/13.5, allocations: 1.857 MB / 4.293 GB, free: 108.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=279): time 8.89e-06/13.5, allocations: 1.031 kB / 4.293 GB, free: 108.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=279): time 0.08136/13.58, allocations: 8.449 MB / 4.301 GB, free: 108.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/13.58, allocations: 268.3 kB / 4.301 GB, free: 108.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00659/13.59, allocations: 2.831 MB / 4.304 GB, free: 107.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008109/13.59, allocations: 31.48 kB / 4.304 GB, free: 107.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002396/13.59, allocations: 1.928 MB / 4.306 GB, free: 107.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001593/13.59, allocations: 0.9181 MB / 4.307 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003399/13.59, allocations: 0 / 4.307 GB, free: 106.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002503/13.59, allocations: 430.6 kB / 4.307 GB, free: 106.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003252/13.59, allocations: 1.376 MB / 4.308 GB, free: 106.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004085/13.6, allocations: 1.995 MB / 4.31 GB, free: 106 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2012/13.8, allocations: 13.77 MB / 4.324 GB, free: 105.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.555e-05/13.8, allocations: 5.75 kB / 4.324 GB, free: 105.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.2046/14, allocations: 15.98 MB / 4.339 GB, free: 105.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001319/14.01, allocations: 6.462 MB / 4.346 GB, free: 98.96 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.424e-05/14.01, allocations: 17.66 kB / 4.346 GB, free: 98.96 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008119/14.01, allocations: 108.4 kB / 4.346 GB, free: 98.95 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006338/14.01, allocations: 0.81 MB / 4.347 GB, free: 98.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/14.02, allocations: 2.095 MB / 4.349 GB, free: 97.14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007037/14.02, allocations: 466.3 kB / 4.349 GB, free: 97.06 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/14.02, allocations: 157.2 kB / 4.349 GB, free: 97.06 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/14.02, allocations: 3.75 kB / 4.349 GB, free: 97.06 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2069/14.23, allocations: 15.62 MB / 4.364 GB, free: 96.42 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.7e-05/14.23, allocations: 16.16 kB / 4.364 GB, free: 96.42 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007581/14.23, allocations: 115.1 kB / 4.365 GB, free: 96.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005988/14.24, allocations: 0.7962 MB / 4.365 GB, free: 96.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/14.24, allocations: 1.497 MB / 4.367 GB, free: 95.17 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006756/14.25, allocations: 424.9 kB / 4.367 GB, free: 95.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/14.25, allocations: 163.9 kB / 4.367 GB, free: 95.09 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (380): * Single equations (assignments): 376 * 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.001113/14.25, allocations: 176.5 kB / 4.368 GB, free: 94.98 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/14.25, allocations: 354.8 kB / 4.368 GB, free: 94.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08665/14.34, allocations: 9.22 MB / 4.377 GB, free: 94.08 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-05/14.34, allocations: 27.5 kB / 4.377 GB, free: 94.08 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/14.34, allocations: 3.812 kB / 4.377 GB, free: 94.08 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08438/14.42, allocations: 8.339 MB / 4.385 GB, free: 93.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09581/14.52, allocations: 13.37 MB / 4.398 GB, free: 92.38 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/14.52, allocations: 0 / 4.398 GB, free: 92.38 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005208/14.52, allocations: 0.6116 MB / 4.399 GB, free: 92.37 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/14.52, allocations: 454.2 kB / 4.399 GB, free: 92.28 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007529/14.53, allocations: 70.3 kB / 4.399 GB, free: 92.28 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006891/14.53, allocations: 7.501 MB / 4.407 GB, free: 85.79 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.08e-06/14.53, allocations: 0 / 4.407 GB, free: 85.79 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08522/14.62, allocations: 10.72 MB / 4.417 GB, free: 84.87 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003727/14.62, allocations: 1.1 MB / 4.418 GB, free: 84.59 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001642/14.62, allocations: 14.12 kB / 4.418 GB, free: 84.59 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005614/14.63, allocations: 279.2 kB / 4.418 GB, free: 84.56 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008131/14.63, allocations: 186.2 kB / 4.419 GB, free: 84.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007041/14.63, allocations: 136.7 kB / 4.419 GB, free: 84.55 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00524/14.64, allocations: 2.169 MB / 4.421 GB, free: 84.41 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.246e-06/14.64, allocations: 4 kB / 4.421 GB, free: 84.41 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01343/14.65, allocations: 2.752 MB / 4.424 GB, free: 84.22 MB / 0.823 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.00549/14.65, allocations: 1.822 MB / 4.425 GB, free: 83.79 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01445/14.67, allocations: 5.806 MB / 4.431 GB, free: 83.25 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/14.67, allocations: 5.844 kB / 4.431 GB, free: 83.25 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005131/14.67, allocations: 1.873 MB / 4.433 GB, free: 83.14 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009552/14.68, allocations: 1.624 MB / 4.434 GB, free: 83.03 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/14.7, allocations: 7.727 MB / 4.442 GB, free: 81.22 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005458/14.71, allocations: 3.122 MB / 4.445 GB, free: 80.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01741/14.73, allocations: 3.361 MB / 4.448 GB, free: 80 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002161/14.73, allocations: 329.4 kB / 4.449 GB, free: 79.98 MB / 0.823 GB Notification: Performance of SimCode: time 1.997e-06/14.73, allocations: 0 / 4.449 GB, free: 79.98 MB / 0.823 GB Notification: Performance of Templates: time 0.1766/14.91, allocations: 82.35 MB / 4.529 GB, free: 24.91 MB / 0.823 GB