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.FlatPlateShaCoeTrue.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadModel(Buildings): time 3.855/3.855, allocations: 432.7 MB / 445.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/3.012e-05, allocations: 7.25 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1835, allocations: 98.72 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.758/6.941, allocations: 2.468 GB / 3.103 GB, free: 153.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/6.941, allocations: 95.38 kB / 3.103 GB, free: 153.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.179/11.12, allocations: 0.8976 GB / 4.001 GB, free: 156.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.177e-06/11.12, allocations: 7.688 kB / 4.001 GB, free: 156.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0007329/11.12, allocations: 125.3 kB / 4.001 GB, free: 156.3 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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.0137/11.13, allocations: 4.285 MB / 4.005 GB, free: 154.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/11.13, allocations: 11.28 kB / 4.005 GB, free: 154.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/11.15, allocations: 1.368 MB / 4.007 GB, free: 154.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01651/11.16, allocations: 5.27 MB / 4.012 GB, free: 153.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000361/11.16, allocations: 279.6 kB / 4.012 GB, free: 153.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001662/11.17, allocations: 376 kB / 4.012 GB, free: 153.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01497/11.18, allocations: 4.962 MB / 4.017 GB, free: 153.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001662/11.18, allocations: 12.97 kB / 4.017 GB, free: 153.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00112/11.18, allocations: 159.5 kB / 4.017 GB, free: 153.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/11.18, allocations: 178.4 kB / 4.017 GB, free: 153.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/11.2, allocations: 4.716 MB / 4.022 GB, free: 152.7 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.04245/11.24, allocations: 19.31 MB / 4.041 GB, free: 141.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00749/11.25, allocations: 3.272 MB / 4.044 GB, free: 140.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003809/11.25, allocations: 1.685 MB / 4.046 GB, free: 139.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002315/11.25, allocations: 1.867 MB / 4.048 GB, free: 137.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004466/11.26, allocations: 1.818 MB / 4.049 GB, free: 136.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=262): time 8.321e-06/11.26, allocations: 0 / 4.049 GB, free: 136.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=262): time 0.009265/11.27, allocations: 3.175 MB / 4.052 GB, free: 135.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/11.27, allocations: 259.7 kB / 4.053 GB, free: 135.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007604/11.27, allocations: 3.403 MB / 4.056 GB, free: 134.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007081/11.27, allocations: 76.14 kB / 4.056 GB, free: 134.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002367/11.28, allocations: 1.933 MB / 4.058 GB, free: 132.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001427/11.28, allocations: 0.8951 MB / 4.059 GB, free: 131.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003381/11.28, allocations: 61.62 kB / 4.059 GB, free: 131.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002176/11.28, allocations: 422.9 kB / 4.059 GB, free: 131.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003406/11.28, allocations: 1.388 MB / 4.061 GB, free: 131 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004298/11.29, allocations: 2.065 MB / 4.063 GB, free: 129.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/11.29, allocations: 1.777 MB / 4.064 GB, free: 128.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.553e-05/11.29, allocations: 3.781 kB / 4.064 GB, free: 128.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01119/11.3, allocations: 4.144 MB / 4.068 GB, free: 125.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00147/11.3, allocations: 7.419 MB / 4.076 GB, free: 117.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-05/11.3, allocations: 20 kB / 4.076 GB, free: 117.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007529/11.3, allocations: 111.3 kB / 4.076 GB, free: 117.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005673/11.31, allocations: 0.8224 MB / 4.077 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/11.31, allocations: 1.567 MB / 4.078 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006085/11.32, allocations: 0.5403 MB / 4.079 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009172/11.32, allocations: 149.7 kB / 4.079 GB, free: 114.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/11.32, allocations: 4 kB / 4.079 GB, free: 114.3 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009623/11.33, allocations: 3.814 MB / 4.083 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.764e-05/11.33, allocations: 16 kB / 4.083 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006506/11.33, allocations: 116 kB / 4.083 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005564/11.33, allocations: 0.825 MB / 4.084 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/11.34, allocations: 1.559 MB / 4.085 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005701/11.34, allocations: 0.4946 MB / 4.086 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008964/11.34, allocations: 150.5 kB / 4.086 GB, free: 108 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 (373): * Single equations (assignments): 370 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.0009244/11.34, allocations: 287.2 kB / 4.086 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/11.35, allocations: 377.6 kB / 4.086 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/11.36, allocations: 4.122 MB / 4.09 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.388e-05/11.36, allocations: 31.95 kB / 4.09 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.622e-06/11.36, allocations: 3.938 kB / 4.09 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007482/11.36, allocations: 3.051 MB / 4.093 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02314/11.39, allocations: 8.706 MB / 4.102 GB, free: 92.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/11.39, allocations: 4 kB / 4.102 GB, free: 92.06 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004919/11.39, allocations: 0.6399 MB / 4.102 GB, free: 91.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006496/11.39, allocations: 93.12 kB / 4.103 GB, free: 91.34 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007028/11.39, allocations: 91.91 kB / 4.103 GB, free: 91.25 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/11.4, allocations: 1.556 MB / 4.104 GB, free: 89.57 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/11.4, allocations: 7.953 kB / 4.104 GB, free: 89.56 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/11.41, allocations: 5.751 MB / 4.11 GB, free: 83.61 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003524/11.41, allocations: 1.061 MB / 4.111 GB, free: 82.52 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001663/11.41, allocations: 56 kB / 4.111 GB, free: 82.47 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005271/11.42, allocations: 319.6 kB / 4.111 GB, free: 82.18 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007149/11.42, allocations: 185.7 kB / 4.111 GB, free: 82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005217/11.42, allocations: 107.9 kB / 4.111 GB, free: 81.89 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.006058/11.43, allocations: 2.693 MB / 4.114 GB, free: 79.21 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-06/11.43, allocations: 0 / 4.114 GB, free: 79.21 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01072/11.44, allocations: 2.458 MB / 4.116 GB, free: 76.75 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (273): * Single equations (assignments): 266 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.004156/11.44, allocations: 1.666 MB / 4.118 GB, free: 75.48 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01327/11.46, allocations: 5.895 MB / 4.124 GB, free: 69.48 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/11.46, allocations: 4.781 kB / 4.124 GB, free: 69.47 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004123/11.46, allocations: 1.723 MB / 4.126 GB, free: 67.73 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01069/11.47, allocations: 1.946 MB / 4.127 GB, free: 65.87 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/11.49, allocations: 7.857 MB / 4.135 GB, free: 57.99 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004729/11.5, allocations: 3.1 MB / 4.138 GB, free: 54.87 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01605/11.51, allocations: 3.02 MB / 4.141 GB, free: 51.93 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002007/11.51, allocations: 315.2 kB / 4.141 GB, free: 51.62 MB / 0.823 GB Notification: Performance of SimCode: time 2.789e-06/11.51, allocations: 0 / 4.141 GB, free: 51.62 MB / 0.823 GB Notification: Performance of Templates: time 0.7337/12.25, allocations: 95.69 MB / 4.235 GB, free: 159.3 MB / 0.8386 GB