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.FlatPlateShaCoeTrue.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.233/4.233, allocations: 433.2 MB / 440.8 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.249e-05, allocations: 2.562 kB / 0.5325 GB, free: 12.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2366, allocations: 98.74 MB / 0.6289 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.211/8.447, allocations: 2.468 GB / 3.097 GB, free: 170.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/8.448, allocations: 90.14 kB / 3.097 GB, free: 170.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.782/13.23, allocations: 0.8916 GB / 3.988 GB, free: 143.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.365e-06/13.23, allocations: 3.688 kB / 3.988 GB, free: 143.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0007981/13.23, allocations: 119 kB / 3.989 GB, free: 143.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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.01632/13.25, allocations: 4.292 MB / 3.993 GB, free: 141.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/13.25, allocations: 11 kB / 3.993 GB, free: 141.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01441/13.26, allocations: 1.365 MB / 3.994 GB, free: 141.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01992/13.28, allocations: 5.271 MB / 3.999 GB, free: 140.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002561/13.28, allocations: 118 kB / 3.999 GB, free: 140.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001649/13.28, allocations: 227.5 kB / 4 GB, free: 140.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01339/13.3, allocations: 4.429 MB / 4.004 GB, free: 140.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01466/13.31, allocations: 4.452 MB / 4.008 GB, free: 140.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/13.31, allocations: 10.38 kB / 4.008 GB, free: 140.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005885/13.31, allocations: 6.375 kB / 4.008 GB, free: 140.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002078/13.31, allocations: 174.1 kB / 4.008 GB, free: 140.3 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.0462/13.36, allocations: 18.92 MB / 4.027 GB, free: 133.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007414/13.37, allocations: 3.124 MB / 4.03 GB, free: 133.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003636/13.37, allocations: 1.599 MB / 4.031 GB, free: 133.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0027/13.37, allocations: 1.699 MB / 4.033 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004879/13.38, allocations: 1.73 MB / 4.035 GB, free: 131.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=260): time 8.305e-06/13.38, allocations: 0 / 4.035 GB, free: 131.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=260): time 0.1315/13.51, allocations: 7.724 MB / 4.042 GB, free: 131.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/13.51, allocations: 263.5 kB / 4.043 GB, free: 131.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006747/13.52, allocations: 2.958 MB / 4.045 GB, free: 130.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008955/13.52, allocations: 29.3 kB / 4.046 GB, free: 130.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002457/13.52, allocations: 1.954 MB / 4.047 GB, free: 130.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001651/13.52, allocations: 0.8477 MB / 4.048 GB, free: 129.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003822/13.52, allocations: 0 / 4.048 GB, free: 129.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002189/13.52, allocations: 427.2 kB / 4.049 GB, free: 129.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003163/13.52, allocations: 1.326 MB / 4.05 GB, free: 129.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003801/13.53, allocations: 1.995 MB / 4.052 GB, free: 128.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3425/13.87, allocations: 13.59 MB / 4.065 GB, free: 127.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.516e-05/13.87, allocations: 7.719 kB / 4.065 GB, free: 127.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.3504/14.22, allocations: 15.74 MB / 4.081 GB, free: 124.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001677/14.22, allocations: 7.29 MB / 4.088 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.835e-05/14.22, allocations: 21.81 kB / 4.088 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/14.22, allocations: 117.5 kB / 4.088 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008098/14.23, allocations: 0.8207 MB / 4.089 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/14.23, allocations: 1.505 MB / 4.09 GB, free: 115.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008102/14.24, allocations: 466.5 kB / 4.091 GB, free: 115.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/14.24, allocations: 149.8 kB / 4.091 GB, free: 115.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/14.24, allocations: 5.938 kB / 4.091 GB, free: 115.4 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3771/14.62, allocations: 15.38 MB / 4.106 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.712e-05/14.62, allocations: 20.19 kB / 4.106 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000935/14.62, allocations: 109.6 kB / 4.106 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008007/14.63, allocations: 0.8212 MB / 4.107 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/14.63, allocations: 1.503 MB / 4.108 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007715/14.64, allocations: 409.3 kB / 4.108 GB, free: 104.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009735/14.64, allocations: 147.9 kB / 4.109 GB, free: 104.6 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.001126/14.64, allocations: 174.9 kB / 4.109 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1322/14.77, allocations: 7.727 MB / 4.116 GB, free: 96.66 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00223/14.78, allocations: 353.9 kB / 4.117 GB, free: 96.31 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1342/14.91, allocations: 8.39 MB / 4.125 GB, free: 87.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.029e-05/14.91, allocations: 27.98 kB / 4.125 GB, free: 87.87 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.128e-06/14.91, allocations: 4 kB / 4.125 GB, free: 87.87 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1302/15.04, allocations: 7.628 MB / 4.132 GB, free: 80.14 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1641/15.21, allocations: 12.78 MB / 4.145 GB, free: 67.28 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/15.21, allocations: 4 kB / 4.145 GB, free: 67.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007142/15.21, allocations: 0.6365 MB / 4.145 GB, free: 66.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008898/15.21, allocations: 92.77 kB / 4.146 GB, free: 66.57 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008042/15.22, allocations: 63.88 kB / 4.146 GB, free: 66.51 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/15.22, allocations: 1.501 MB / 4.147 GB, free: 64.89 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/15.22, allocations: 7.875 kB / 4.147 GB, free: 64.89 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.171/15.39, allocations: 10.22 MB / 4.157 GB, free: 54.43 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004406/15.39, allocations: 1.027 MB / 4.158 GB, free: 53.38 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001808/15.39, allocations: 16 kB / 4.158 GB, free: 53.37 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007143/15.4, allocations: 267.1 kB / 4.158 GB, free: 53.11 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008787/15.4, allocations: 184.2 kB / 4.158 GB, free: 52.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004993/15.4, allocations: 107.9 kB / 4.159 GB, free: 52.82 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.005802/15.41, allocations: 2.272 MB / 4.161 GB, free: 50.56 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.71e-07/15.41, allocations: 0 / 4.161 GB, free: 50.56 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01514/15.42, allocations: 2.344 MB / 4.163 GB, free: 48.22 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.1415/15.57, allocations: 13.14 MB / 4.176 GB, free: 35.25 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01479/15.58, allocations: 5.63 MB / 4.181 GB, free: 29.66 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/15.58, allocations: 12.89 kB / 4.181 GB, free: 29.64 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004662/15.59, allocations: 1.652 MB / 4.183 GB, free: 27.98 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01409/15.6, allocations: 1.672 MB / 4.185 GB, free: 26.38 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02882/15.63, allocations: 8.766 MB / 4.193 GB, free: 17.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004477/15.63, allocations: 3.101 MB / 4.196 GB, free: 14.48 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01869/15.65, allocations: 2.686 MB / 4.199 GB, free: 11.88 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00514/15.66, allocations: 1.757 MB / 4.201 GB, free: 10.12 MB / 0.823 GB Notification: Performance of SimCode: time 1.392e-06/15.66, allocations: 0 / 4.201 GB, free: 10.12 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.007/16.66, allocations: 112.1 MB / 4.31 GB, free: 143 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/16.66, allocations: 188.8 kB / 4.31 GB, free: 142.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.635/25.3, allocations: 0 / 4.31 GB, free: 142.8 MB / 0.8386 GB