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.Tubular.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.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadModel(Buildings): time 3.923/3.923, allocations: 433.3 MB / 440.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.293e-05/2.342e-05, allocations: 4 kB / 0.5325 GB, free: 1.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5099/0.51, allocations: 98.7 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.414/6.924, allocations: 2.468 GB / 3.097 GB, free: 291.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/6.925, allocations: 100.1 kB / 3.097 GB, free: 291.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.608/10.53, allocations: 0.8906 GB / 3.987 GB, free: 26.43 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.92e-06/10.53, allocations: 0 / 3.987 GB, free: 26.43 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0006443/10.53, allocations: 127.4 kB / 3.988 GB, free: 26.31 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: 964 * Number of variables: 964 Notification: Performance of Generate backend data structure: time 0.01271/10.55, allocations: 4.29 MB / 3.992 GB, free: 21.98 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/10.55, allocations: 8.031 kB / 3.992 GB, free: 21.97 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/10.56, allocations: 1.363 MB / 3.993 GB, free: 20.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01513/10.57, allocations: 5.277 MB / 3.998 GB, free: 15.33 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/10.57, allocations: 116 kB / 3.998 GB, free: 15.21 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/10.57, allocations: 227.8 kB / 3.999 GB, free: 14.99 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01149/10.58, allocations: 4.43 MB / 4.003 GB, free: 10.56 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/10.6, allocations: 4.447 MB / 4.007 GB, free: 5.949 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/10.6, allocations: 7.938 kB / 4.007 GB, free: 5.941 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008366/10.6, allocations: 8 kB / 4.007 GB, free: 5.934 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001706/10.6, allocations: 179.1 kB / 4.007 GB, free: 5.758 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.5658/11.17, allocations: 18.85 MB / 4.026 GB, free: 120.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007623/11.17, allocations: 3.166 MB / 4.029 GB, free: 120.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003757/11.18, allocations: 1.617 MB / 4.03 GB, free: 120.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002109/11.18, allocations: 1.867 MB / 4.032 GB, free: 118.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004425/11.18, allocations: 1.758 MB / 4.034 GB, free: 118.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=265): time 8.029e-06/11.18, allocations: 0 / 4.034 GB, free: 118.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=265): time 0.07834/11.26, allocations: 7.765 MB / 4.042 GB, free: 118.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/11.26, allocations: 263.5 kB / 4.042 GB, free: 117.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006304/11.27, allocations: 2.932 MB / 4.045 GB, free: 117.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007335/11.27, allocations: 29.3 kB / 4.045 GB, free: 117.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002333/11.27, allocations: 1.932 MB / 4.047 GB, free: 117.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001566/11.27, allocations: 0.8701 MB / 4.047 GB, free: 116.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008464/11.27, allocations: 3.938 kB / 4.047 GB, free: 116.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002844/11.27, allocations: 426.5 kB / 4.048 GB, free: 116.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003174/11.28, allocations: 1.324 MB / 4.049 GB, free: 116.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003673/11.28, allocations: 1.993 MB / 4.051 GB, free: 115.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1908/11.47, allocations: 13.58 MB / 4.064 GB, free: 115.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-05/11.47, allocations: 3.812 kB / 4.064 GB, free: 115.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.1999/11.67, allocations: 15.74 MB / 4.08 GB, free: 114.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001406/11.67, allocations: 7.299 MB / 4.087 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.072e-05/11.67, allocations: 15.03 kB / 4.087 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007389/11.67, allocations: 123.2 kB / 4.087 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00604/11.68, allocations: 0.833 MB / 4.088 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/11.68, allocations: 2.094 MB / 4.09 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005668/11.69, allocations: 453 kB / 4.09 GB, free: 105.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008869/11.69, allocations: 147.2 kB / 4.09 GB, free: 105.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/11.69, allocations: 3.75 kB / 4.09 GB, free: 105.2 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1964/11.89, allocations: 15.38 MB / 4.105 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.737e-05/11.89, allocations: 15.91 kB / 4.105 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007638/11.89, allocations: 111.5 kB / 4.106 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005703/11.89, allocations: 0.8195 MB / 4.106 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/11.89, allocations: 1.51 MB / 4.108 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006003/11.9, allocations: 402.9 kB / 4.108 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009536/11.9, allocations: 150.3 kB / 4.108 GB, free: 102.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (372): * Single equations (assignments): 368 * 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.000959/11.9, allocations: 183.3 kB / 4.109 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/11.9, allocations: 349.6 kB / 4.109 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07791/11.98, allocations: 8.488 MB / 4.117 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-05/11.98, allocations: 35.39 kB / 4.117 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/11.98, allocations: 3.938 kB / 4.117 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07668/12.06, allocations: 7.687 MB / 4.125 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09304/12.15, allocations: 12.62 MB / 4.137 GB, free: 100.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/12.15, allocations: 3.828 kB / 4.137 GB, free: 100.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005364/12.16, allocations: 0.6412 MB / 4.138 GB, free: 100.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007281/12.16, allocations: 91.06 kB / 4.138 GB, free: 100.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006914/12.16, allocations: 57.83 kB / 4.138 GB, free: 100.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/12.16, allocations: 2.082 MB / 4.14 GB, free: 98.66 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.696e-06/12.16, allocations: 6.469 kB / 4.14 GB, free: 98.66 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08319/12.24, allocations: 9.955 MB / 4.15 GB, free: 97.84 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003773/12.25, allocations: 1.029 MB / 4.151 GB, free: 97.55 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00186/12.25, allocations: 11.56 kB / 4.151 GB, free: 97.55 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00524/12.26, allocations: 294.1 kB / 4.151 GB, free: 97.53 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007421/12.26, allocations: 174.3 kB / 4.151 GB, free: 97.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005635/12.26, allocations: 112.4 kB / 4.151 GB, free: 97.52 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.005479/12.26, allocations: 2.25 MB / 4.153 GB, free: 97.38 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.195e-06/12.26, allocations: 0 / 4.153 GB, free: 97.38 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01135/12.27, allocations: 2.328 MB / 4.156 GB, free: 97.19 MB / 0.823 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) * 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.004361/12.28, allocations: 1.656 MB / 4.157 GB, free: 96.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01323/12.29, allocations: 5.666 MB / 4.163 GB, free: 96.25 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/12.29, allocations: 7.094 kB / 4.163 GB, free: 96.25 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004376/12.3, allocations: 1.689 MB / 4.164 GB, free: 96.14 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/12.31, allocations: 1.698 MB / 4.166 GB, free: 96.05 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/12.33, allocations: 7.565 MB / 4.173 GB, free: 94.25 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005186/12.33, allocations: 3.099 MB / 4.176 GB, free: 93.43 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01573/12.35, allocations: 2.676 MB / 4.179 GB, free: 93.14 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002052/12.35, allocations: 308.8 kB / 4.179 GB, free: 93.13 MB / 0.823 GB Notification: Performance of SimCode: time 1.912e-06/12.35, allocations: 0 / 4.179 GB, free: 93.13 MB / 0.823 GB Notification: Performance of Templates: time 0.1596/12.51, allocations: 76.85 MB / 4.254 GB, free: 40.71 MB / 0.823 GB