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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.221/4.221, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.644e-05/4.674e-05, allocations: 4.5 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.265, allocations: 98.72 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.362/8.627, allocations: 2.468 GB / 3.103 GB, free: 221 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/8.627, allocations: 95.16 kB / 3.103 GB, free: 221 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.374/13, allocations: 0.8966 GB / 4 GB, free: 34.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.274e-06/13, allocations: 4 kB / 4 GB, free: 34.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0009413/13, allocations: 123.9 kB / 4 GB, free: 34.64 MB / 0.8386 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.01885/13.02, allocations: 4.295 MB / 4.004 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/13.02, allocations: 12.03 kB / 4.004 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002781/13.02, allocations: 0.5105 MB / 4.005 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/13.04, allocations: 1.36 MB / 4.006 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02214/13.06, allocations: 5.276 MB / 4.011 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004714/13.06, allocations: 283.4 kB / 4.011 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002225/13.06, allocations: 375.9 kB / 4.012 GB, free: 22.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02084/13.09, allocations: 4.972 MB / 4.017 GB, free: 17.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003546/13.09, allocations: 7.938 kB / 4.017 GB, free: 17.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002329/13.09, allocations: 152 kB / 4.017 GB, free: 17.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002707/13.09, allocations: 183.1 kB / 4.017 GB, free: 16.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01717/13.11, allocations: 4.705 MB / 4.022 GB, free: 12.2 MB / 0.8386 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.7556/13.86, allocations: 19.31 MB / 4.04 GB, free: 122 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/13.87, allocations: 3.275 MB / 4.044 GB, free: 122 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006371/13.88, allocations: 1.679 MB / 4.045 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003577/13.88, allocations: 1.866 MB / 4.047 GB, free: 120 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007721/13.89, allocations: 1.817 MB / 4.049 GB, free: 119.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=262): time 1.317e-05/13.89, allocations: 5.219 kB / 4.049 GB, free: 119.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=262): time 0.01564/13.91, allocations: 3.164 MB / 4.052 GB, free: 119.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/13.91, allocations: 263.3 kB / 4.052 GB, free: 119.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01302/13.92, allocations: 3.397 MB / 4.055 GB, free: 119.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001109/13.92, allocations: 81.55 kB / 4.056 GB, free: 119.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.004013/13.93, allocations: 1.934 MB / 4.057 GB, free: 118.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002385/13.93, allocations: 0.8932 MB / 4.058 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007408/13.93, allocations: 60.72 kB / 4.058 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000442/13.93, allocations: 423.3 kB / 4.059 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005167/13.93, allocations: 1.383 MB / 4.06 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00693/13.94, allocations: 2.077 MB / 4.062 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006491/13.95, allocations: 1.774 MB / 4.064 GB, free: 117 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.825e-05/13.95, allocations: 7.844 kB / 4.064 GB, free: 117 MB / 0.8386 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01705/13.97, allocations: 4.144 MB / 4.068 GB, free: 116.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001926/13.97, allocations: 7.422 MB / 4.075 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.593e-05/13.97, allocations: 15.62 kB / 4.075 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/13.97, allocations: 116.7 kB / 4.075 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008357/13.98, allocations: 0.8209 MB / 4.076 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002865/13.98, allocations: 1.562 MB / 4.078 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00892/13.99, allocations: 0.5436 MB / 4.078 GB, free: 107.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/13.99, allocations: 149.9 kB / 4.078 GB, free: 107.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/13.99, allocations: 3.875 kB / 4.078 GB, free: 107.4 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0128/14, allocations: 3.82 MB / 4.082 GB, free: 107.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.293e-05/14, allocations: 23.92 kB / 4.082 GB, free: 107.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009841/14, allocations: 111.4 kB / 4.082 GB, free: 107.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008234/14.01, allocations: 0.8185 MB / 4.083 GB, free: 107.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/14.02, allocations: 1.561 MB / 4.085 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008433/14.02, allocations: 0.4925 MB / 4.085 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001194/14.03, allocations: 150.7 kB / 4.085 GB, free: 105.9 MB / 0.8386 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.001336/14.03, allocations: 283.7 kB / 4.085 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00173/14.03, allocations: 386.8 kB / 4.086 GB, free: 105.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/14.04, allocations: 4.105 MB / 4.09 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-05/14.04, allocations: 27.41 kB / 4.09 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/14.04, allocations: 3.75 kB / 4.09 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009843/14.05, allocations: 3.048 MB / 4.093 GB, free: 105 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03274/14.09, allocations: 8.725 MB / 4.101 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/14.09, allocations: 5 kB / 4.101 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007184/14.09, allocations: 0.6335 MB / 4.102 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009107/14.09, allocations: 98.48 kB / 4.102 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007631/14.1, allocations: 88.48 kB / 4.102 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/14.1, allocations: 1.558 MB / 4.104 GB, free: 102.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/14.1, allocations: 3.844 kB / 4.104 GB, free: 102.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/14.11, allocations: 5.732 MB / 4.109 GB, free: 101.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004442/14.12, allocations: 1.065 MB / 4.11 GB, free: 101.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001848/14.12, allocations: 61.77 kB / 4.11 GB, free: 101.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007799/14.13, allocations: 321.4 kB / 4.111 GB, free: 101.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009515/14.13, allocations: 171.5 kB / 4.111 GB, free: 101.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005127/14.13, allocations: 111.7 kB / 4.111 GB, free: 101.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.007086/14.14, allocations: 2.7 MB / 4.114 GB, free: 101.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.212e-06/14.14, allocations: 0 / 4.114 GB, free: 101.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01255/14.15, allocations: 2.461 MB / 4.116 GB, free: 101.2 MB / 0.8386 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.02131/14.17, allocations: 8.627 MB / 4.124 GB, free: 98.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01697/14.19, allocations: 5.9 MB / 4.13 GB, free: 98.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.698e-05/14.19, allocations: 8.328 kB / 4.13 GB, free: 98.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004951/14.19, allocations: 1.722 MB / 4.132 GB, free: 97.95 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0163/14.21, allocations: 1.948 MB / 4.134 GB, free: 97.92 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02984/14.24, allocations: 9.095 MB / 4.143 GB, free: 96.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004725/14.24, allocations: 3.099 MB / 4.146 GB, free: 95.53 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.01938/14.26, allocations: 3.028 MB / 4.149 GB, free: 95.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005287/14.27, allocations: 1.768 MB / 4.15 GB, free: 95.48 MB / 0.8386 GB Notification: Performance of SimCode: time 2.154e-06/14.27, allocations: 0 / 4.15 GB, free: 95.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3347/14.6, allocations: 134.5 MB / 4.282 GB, free: 42.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/14.6, allocations: 244.2 kB / 4.282 GB, free: 42.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.51/24.11, allocations: 0 / 4.282 GB, free: 42.27 MB / 0.8386 GB