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/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.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.988/3.988, allocations: 433.4 MB / 440.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.101e-05/2.121e-05, allocations: 4 kB / 0.5325 GB, free: 1.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5079/0.5079, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.925/7.433, allocations: 2.468 GB / 3.097 GB, free: 211.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/7.434, allocations: 91.72 kB / 3.097 GB, free: 211.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.018/11.45, allocations: 0.8918 GB / 3.989 GB, free: 121.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.959e-06/11.45, allocations: 0 / 3.989 GB, free: 121.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0006779/11.45, allocations: 123.3 kB / 3.989 GB, free: 121.7 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.01304/11.47, allocations: 4.299 MB / 3.993 GB, free: 120.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/11.47, allocations: 7.438 kB / 3.993 GB, free: 120.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/11.48, allocations: 1.362 MB / 3.994 GB, free: 120 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01562/11.49, allocations: 5.265 MB / 3.999 GB, free: 119.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/11.49, allocations: 120 kB / 4 GB, free: 119.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/11.49, allocations: 228.2 kB / 4 GB, free: 119.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01182/11.5, allocations: 4.43 MB / 4.004 GB, free: 119.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01405/11.52, allocations: 4.447 MB / 4.008 GB, free: 118.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001864/11.52, allocations: 11.59 kB / 4.008 GB, free: 118.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001128/11.52, allocations: 3.5 kB / 4.008 GB, free: 118.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002114/11.52, allocations: 182.8 kB / 4.009 GB, free: 118.8 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.03936/11.56, allocations: 18.93 MB / 4.027 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006862/11.57, allocations: 3.124 MB / 4.03 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003477/11.57, allocations: 1.596 MB / 4.032 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00192/11.57, allocations: 1.7 MB / 4.033 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004135/11.58, allocations: 1.725 MB / 4.035 GB, free: 110.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=260): time 7.55e-06/11.58, allocations: 0 / 4.035 GB, free: 110.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=260): time 0.07368/11.65, allocations: 7.721 MB / 4.043 GB, free: 109.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/11.65, allocations: 263.4 kB / 4.043 GB, free: 109.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006419/11.66, allocations: 2.962 MB / 4.046 GB, free: 109.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006441/11.66, allocations: 33.17 kB / 4.046 GB, free: 109.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002271/11.66, allocations: 1.943 MB / 4.048 GB, free: 108.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001342/11.66, allocations: 0.8552 MB / 4.048 GB, free: 108 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/11.66, allocations: 3.406 kB / 4.048 GB, free: 108 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002303/11.66, allocations: 424.9 kB / 4.049 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002917/11.66, allocations: 1.328 MB / 4.05 GB, free: 107.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003663/11.67, allocations: 1.996 MB / 4.052 GB, free: 107 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1832/11.85, allocations: 13.58 MB / 4.065 GB, free: 106.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.443e-05/11.85, allocations: 7.656 kB / 4.065 GB, free: 106.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.2369/12.09, allocations: 15.75 MB / 4.081 GB, free: 105.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001443/12.09, allocations: 7.299 MB / 4.088 GB, free: 98.14 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.828e-05/12.09, allocations: 18.69 kB / 4.088 GB, free: 98.14 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000788/12.09, allocations: 114.9 kB / 4.088 GB, free: 98.12 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005349/12.1, allocations: 0.823 MB / 4.089 GB, free: 98.12 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/12.1, allocations: 1.496 MB / 4.09 GB, free: 96.88 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005951/12.1, allocations: 461.9 kB / 4.091 GB, free: 96.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/12.11, allocations: 154.6 kB / 4.091 GB, free: 96.71 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/12.11, allocations: 10.12 kB / 4.091 GB, free: 96.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1869/12.29, allocations: 15.38 MB / 4.106 GB, free: 95.76 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.187e-05/12.29, allocations: 15 kB / 4.106 GB, free: 95.76 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006559/12.29, allocations: 116 kB / 4.106 GB, free: 95.75 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005438/12.3, allocations: 0.8182 MB / 4.107 GB, free: 95.74 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/12.3, allocations: 1.502 MB / 4.108 GB, free: 94.51 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005618/12.31, allocations: 411.9 kB / 4.109 GB, free: 94.37 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009671/12.31, allocations: 150.1 kB / 4.109 GB, free: 94.37 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.001106/12.31, allocations: 189.4 kB / 4.109 GB, free: 94.25 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/12.31, allocations: 344.8 kB / 4.109 GB, free: 94.07 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07542/12.39, allocations: 8.386 MB / 4.118 GB, free: 93.49 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.964e-05/12.39, allocations: 29.41 kB / 4.118 GB, free: 93.49 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.234e-06/12.39, allocations: 3.797 kB / 4.118 GB, free: 93.49 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07311/12.46, allocations: 7.632 MB / 4.125 GB, free: 92.83 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08465/12.54, allocations: 12.78 MB / 4.138 GB, free: 91.66 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/12.54, allocations: 3.312 kB / 4.138 GB, free: 91.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004668/12.55, allocations: 0.6327 MB / 4.138 GB, free: 91.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006272/12.55, allocations: 95.36 kB / 4.138 GB, free: 91.64 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006637/12.55, allocations: 62.36 kB / 4.138 GB, free: 91.64 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/12.55, allocations: 1.507 MB / 4.14 GB, free: 90.41 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/12.55, allocations: 3.812 kB / 4.14 GB, free: 90.41 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07628/12.63, allocations: 10.22 MB / 4.15 GB, free: 89.06 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003303/12.63, allocations: 1.031 MB / 4.151 GB, free: 88.73 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001474/12.63, allocations: 17.27 kB / 4.151 GB, free: 88.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00487/12.64, allocations: 266.1 kB / 4.151 GB, free: 88.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006878/12.64, allocations: 180 kB / 4.151 GB, free: 88.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004751/12.64, allocations: 109.6 kB / 4.151 GB, free: 88.69 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00501/12.64, allocations: 2.278 MB / 4.154 GB, free: 88.55 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.352e-06/12.64, allocations: 0 / 4.154 GB, free: 88.55 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01035/12.65, allocations: 2.338 MB / 4.156 GB, free: 88.12 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.003966/12.66, allocations: 1.656 MB / 4.157 GB, free: 87.64 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01193/12.67, allocations: 5.627 MB / 4.163 GB, free: 84.89 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/12.67, allocations: 4.781 kB / 4.163 GB, free: 84.89 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003718/12.67, allocations: 1.659 MB / 4.165 GB, free: 83.93 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009164/12.68, allocations: 1.675 MB / 4.166 GB, free: 82.99 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/12.7, allocations: 7.625 MB / 4.174 GB, free: 77.37 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004167/12.71, allocations: 3.088 MB / 4.177 GB, free: 75.36 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01407/12.72, allocations: 2.674 MB / 4.179 GB, free: 73.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001788/12.72, allocations: 313.2 kB / 4.18 GB, free: 73.46 MB / 0.823 GB Notification: Performance of SimCode: time 1.64e-06/12.72, allocations: 0 / 4.18 GB, free: 73.46 MB / 0.823 GB Notification: Performance of Templates: time 0.1554/12.88, allocations: 76.38 MB / 4.254 GB, free: 6.75 MB / 0.823 GB