Running command: translateModel(BuildingSystems.Technologies.SolarThermal.Examples.SingleCollectorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.SolarThermal.Examples.SingleCollectorTest") Notification: Performance of loadModel(BuildingSystems): time 3.123/3.123, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.276e-05, allocations: 4 kB / 436.6 MB, free: 2.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1395, allocations: 77.73 MB / 0.5022 GB, free: 4.598 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.349/1.489, allocations: 427.9 MB / 0.9201 GB, free: 103 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003675/1.489, allocations: 85.7 kB / 0.9202 GB, free: 103 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/BuildingSystems 2.0.0-beta/Interfaces/RadiationPort.mo:2:1-11:18:writable] Warning: Connector .BuildingSystems.Interfaces.RadiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 4.718/6.207, allocations: 1.041 GB / 1.961 GB, free: 72.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.87e-06/6.207, allocations: 0 / 1.961 GB, free: 72.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0005752/6.208, allocations: 108.3 kB / 1.961 GB, free: 72.4 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01123/6.219, allocations: 4.046 MB / 1.965 GB, free: 68.33 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/6.219, allocations: 12.03 kB / 1.965 GB, free: 68.32 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005743/6.225, allocations: 0.9118 MB / 1.966 GB, free: 67.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/6.238, allocations: 5.395 MB / 1.971 GB, free: 62.05 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003205/6.238, allocations: 323.8 kB / 1.971 GB, free: 61.72 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/6.239, allocations: 319.9 kB / 1.972 GB, free: 61.41 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/6.25, allocations: 4.466 MB / 1.976 GB, free: 56.78 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001286/6.25, allocations: 19.84 kB / 1.976 GB, free: 56.76 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005097/6.25, allocations: 139.5 kB / 1.976 GB, free: 56.63 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/6.25, allocations: 138 kB / 1.976 GB, free: 56.49 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009212/6.26, allocations: 3.939 MB / 1.98 GB, free: 52.55 MB / 0.6667 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.0308/6.291, allocations: 20.34 MB / 2 GB, free: 31.16 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007946/6.299, allocations: 3.61 MB / 2.004 GB, free: 27.57 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/6.301, allocations: 1.59 MB / 2.005 GB, free: 25.98 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002269/6.304, allocations: 2.768 MB / 2.008 GB, free: 22.62 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003048/6.307, allocations: 1.577 MB / 2.009 GB, free: 21.03 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=227): time 6.961e-06/6.307, allocations: 0 / 2.009 GB, free: 21.03 MB / 0.6667 GB Notification: Performance of matching and sorting (n=255): time 0.02081/6.328, allocations: 8.643 MB / 2.018 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/6.328, allocations: 132.8 kB / 2.018 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005279/6.333, allocations: 3.001 MB / 2.021 GB, free: 9.062 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0005215/6.333, allocations: 69.7 kB / 2.021 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001679/6.335, allocations: 1.717 MB / 2.023 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001051/6.336, allocations: 0.8779 MB / 2.024 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/6.337, allocations: 56 kB / 2.024 GB, free: 6.332 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001723/6.337, allocations: 415.5 kB / 2.024 GB, free: 5.922 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002639/6.339, allocations: 1.422 MB / 2.025 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002966/6.342, allocations: 1.989 MB / 2.027 GB, free: 2.281 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003252/6.346, allocations: 1.835 MB / 2.029 GB, free: 416 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/6.346, allocations: 8 kB / 2.029 GB, free: 408 kB / 0.6667 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.4114/6.757, allocations: 4.382 MB / 2.033 GB, free: 101.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001223/6.758, allocations: 6.371 MB / 2.04 GB, free: 94.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.868e-05/6.758, allocations: 15.75 kB / 2.04 GB, free: 94.83 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/6.76, allocations: 0.5541 MB / 2.04 GB, free: 94.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005059/6.765, allocations: 0.7403 MB / 2.041 GB, free: 94.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/6.782, allocations: 17.12 MB / 2.058 GB, free: 81.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005174/6.787, allocations: 378 kB / 2.058 GB, free: 81.54 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007126/6.788, allocations: 119 kB / 2.058 GB, free: 81.54 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/6.788, allocations: 2.875 kB / 2.058 GB, free: 81.54 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009552/6.797, allocations: 4.091 MB / 2.062 GB, free: 81.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.564e-05/6.797, allocations: 14.91 kB / 2.062 GB, free: 81.36 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/6.799, allocations: 0.5464 MB / 2.063 GB, free: 81.28 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00564/6.805, allocations: 0.7349 MB / 2.063 GB, free: 81.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01638/6.821, allocations: 17.11 MB / 2.08 GB, free: 68.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004995/6.826, allocations: 351.4 kB / 2.08 GB, free: 68.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007048/6.827, allocations: 125.6 kB / 2.081 GB, free: 68.05 MB / 0.6667 GB Warning: Assuming fixed start value for the following 10 variables: collector.cp_solid[10].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[9].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[8].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[7].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[6].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[5].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[4].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[3].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[2].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[1].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001288/6.828, allocations: 459 kB / 2.081 GB, free: 67.93 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/6.829, allocations: 328 kB / 2.081 GB, free: 67.88 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/6.84, allocations: 4.265 MB / 2.085 GB, free: 67.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.902e-05/6.84, allocations: 29.11 kB / 2.085 GB, free: 67.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-05/6.84, allocations: 7.156 kB / 2.085 GB, free: 67.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007999/6.848, allocations: 3.511 MB / 2.089 GB, free: 67.35 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02116/6.869, allocations: 9.33 MB / 2.098 GB, free: 66.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/6.869, allocations: 7.375 kB / 2.098 GB, free: 66.36 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004811/6.874, allocations: 0.6275 MB / 2.099 GB, free: 66.36 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/6.876, allocations: 0.5355 MB / 2.099 GB, free: 66.28 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004947/6.876, allocations: 76.62 kB / 2.099 GB, free: 66.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/6.891, allocations: 17.06 MB / 2.116 GB, free: 52.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/6.891, allocations: 13.62 kB / 2.116 GB, free: 52.95 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/6.904, allocations: 7.035 MB / 2.123 GB, free: 50.99 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002935/6.907, allocations: 0.9015 MB / 2.124 GB, free: 50.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001017/6.908, allocations: 67.75 kB / 2.124 GB, free: 50.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003953/6.912, allocations: 315.1 kB / 2.124 GB, free: 50.71 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005163/6.912, allocations: 212 kB / 2.124 GB, free: 50.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003234/6.913, allocations: 92.86 kB / 2.124 GB, free: 50.7 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.005199/6.918, allocations: 2.456 MB / 2.127 GB, free: 50.54 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.55e-07/6.918, allocations: 0 / 2.127 GB, free: 50.54 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.01123/6.929, allocations: 1.953 MB / 2.129 GB, free: 50.54 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 10 (collector.cp_solid[1].T,collector.cp_solid[2].T,collector.cp_solid[3].T,collector.cp_solid[4].T,collector.cp_solid[5].T,collector.cp_solid[6].T,collector.cp_solid[7].T,collector.cp_solid[8].T,collector.cp_solid[9].T,collector.cp_solid[10].T) * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (229): * Single equations (assignments): 216 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002966/6.932, allocations: 0.9304 MB / 2.13 GB, free: 50.36 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01515/6.947, allocations: 8.028 MB / 2.137 GB, free: 48.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/6.947, allocations: 8.312 kB / 2.137 GB, free: 48.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005521/6.953, allocations: 2.998 MB / 2.14 GB, free: 47.15 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01133/6.964, allocations: 1.859 MB / 2.142 GB, free: 47.11 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/6.982, allocations: 7.826 MB / 2.15 GB, free: 45.54 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004128/6.987, allocations: 3.189 MB / 2.153 GB, free: 44.75 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.01221/6.999, allocations: 2.726 MB / 2.156 GB, free: 44.71 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/7, allocations: 228.8 kB / 2.156 GB, free: 44.7 MB / 0.6667 GB Notification: Performance of SimCode: time 2.057e-06/7, allocations: 0 / 2.156 GB, free: 44.7 MB / 0.6667 GB Notification: Performance of Templates: time 0.1734/7.174, allocations: 82.8 MB / 2.237 GB, free: 23.71 MB / 0.6667 GB