Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.275/2.275, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00134/0.001339, allocations: 181.7 kB / 325.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.728/2.728, allocations: 205.4 MB / 0.5767 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009071/0.0009068, allocations: 92.72 kB / 0.6813 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004559, allocations: 8.938 kB / 0.7953 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2458, allocations: 106.3 MB / 0.899 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01179/0.2577, allocations: 5.225 MB / 0.9041 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2794/0.5371, allocations: 137.3 MB / 1.038 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.5391, allocations: 23.94 kB / 1.038 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.5407, allocations: 178.4 kB / 1.038 GB, free: 2.746 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.004267/0.545, allocations: 470.1 kB / 1.039 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006198/0.5513, allocations: 0.9064 MB / 1.04 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005814/0.5572, allocations: 2.048 MB / 1.042 GB, free: 15.33 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004586/0.5618, allocations: 1.286 MB / 1.043 GB, free: 14.01 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.5643, allocations: 0.661 MB / 1.044 GB, free: 13.35 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002649/0.567, allocations: 0.7715 MB / 1.044 GB, free: 12.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008888/0.5679, allocations: 56 kB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.5702, allocations: 323.7 kB / 1.045 GB, free: 12.2 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.5717, allocations: 342.4 kB / 1.045 GB, free: 11.87 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001411/0.5732, allocations: 356.6 kB / 1.045 GB, free: 11.51 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004288/0.5775, allocations: 2.299 MB / 1.048 GB, free: 9.207 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.5776, allocations: 0 / 1.048 GB, free: 9.207 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.755e-06/0.5776, allocations: 0 / 1.048 GB, free: 9.207 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.929e-05/0.5777, allocations: 4 kB / 1.048 GB, free: 9.203 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.00826/0.586, allocations: 2.067 MB / 1.05 GB, free: 7.074 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.586, allocations: 12.03 kB / 1.05 GB, free: 7.062 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04098/0.627, allocations: 2.191 MB / 1.052 GB, free: 4.867 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005032/0.6321, allocations: 1.142 MB / 1.053 GB, free: 3.676 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002989/0.6325, allocations: 156.2 kB / 1.053 GB, free: 3.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001407/0.6339, allocations: 204 kB / 1.053 GB, free: 3.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/0.6583, allocations: 3.089 MB / 1.056 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.6584, allocations: 7.984 kB / 1.056 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001078/0.6595, allocations: 84 kB / 1.056 GB, free: 40 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.5985/1.258, allocations: 54.16 kB / 1.057 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02251/1.281, allocations: 4.068 MB / 1.06 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02599/1.307, allocations: 6.598 MB / 1.067 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01811/1.325, allocations: 2.735 MB / 1.07 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008076/1.333, allocations: 1.378 MB / 1.071 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/1.334, allocations: 0.5029 MB / 1.071 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008562/1.343, allocations: 1.641 MB / 1.073 GB, free: 152 MB / 0.698 GB Notification: Performance of pre-optimization done (n=192): time 5.371e-06/1.343, allocations: 0 / 1.073 GB, free: 152 MB / 0.698 GB Notification: Performance of matching and sorting (n=192): time 0.02552/1.368, allocations: 4.045 MB / 1.077 GB, free: 150.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.991e-05/1.369, allocations: 205.4 kB / 1.077 GB, free: 149.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/1.37, allocations: 0.8293 MB / 1.078 GB, free: 149.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006951/1.371, allocations: 63.88 kB / 1.078 GB, free: 149.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006195/1.372, allocations: 0.683 MB / 1.079 GB, free: 148.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009735/1.373, allocations: 0.6195 MB / 1.079 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003002/1.373, allocations: 34.5 kB / 1.079 GB, free: 148.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.373, allocations: 372.6 kB / 1.08 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007117/1.38, allocations: 1.14 MB / 1.081 GB, free: 147.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007495/1.388, allocations: 1.307 MB / 1.082 GB, free: 146.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007799/1.395, allocations: 1.18 MB / 1.083 GB, free: 145.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/1.396, allocations: 0 / 1.083 GB, free: 145.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.01804/1.414, allocations: 2.852 MB / 1.086 GB, free: 144.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/1.414, allocations: 3.969 kB / 1.086 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/1.414, allocations: 0 / 1.086 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/1.415, allocations: 89.61 kB / 1.086 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00701/1.422, allocations: 0.5508 MB / 1.087 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/1.425, allocations: 1.535 MB / 1.088 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006548/1.431, allocations: 315.7 kB / 1.088 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007477/1.432, allocations: 95.11 kB / 1.089 GB, free: 142.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 211 * 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: 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.001958/1.434, allocations: 401.4 kB / 1.089 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007429/1.435, allocations: 142.3 kB / 1.089 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02665/1.461, allocations: 3.386 MB / 1.092 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-05/1.462, allocations: 27.92 kB / 1.092 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.462, allocations: 4 kB / 1.092 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.582e-05/1.462, allocations: 7.969 kB / 1.092 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03079/1.492, allocations: 5.57 MB / 1.098 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/1.493, allocations: 0 / 1.098 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008688/1.501, allocations: 0.5266 MB / 1.098 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/1.502, allocations: 91.39 kB / 1.098 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006088/1.503, allocations: 67.92 kB / 1.099 GB, free: 132.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003295/1.506, allocations: 1.549 MB / 1.1 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.506, allocations: 0 / 1.1 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/1.523, allocations: 2.949 MB / 1.103 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/1.525, allocations: 0.5257 MB / 1.103 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000702/1.526, allocations: 35.94 kB / 1.103 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005258/1.531, allocations: 251.2 kB / 1.104 GB, free: 126.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005713/1.532, allocations: 125.8 kB / 1.104 GB, free: 126.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00052/1.532, allocations: 75.92 kB / 1.104 GB, free: 126.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001349/1.534, allocations: 0.6145 MB / 1.104 GB, free: 126 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.71e-07/1.534, allocations: 0 / 1.104 GB, free: 126 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004571/1.538, allocations: 0.5659 MB / 1.105 GB, free: 125.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.00245/1.541, allocations: 0.6053 MB / 1.106 GB, free: 125.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0158/1.557, allocations: 2.878 MB / 1.108 GB, free: 122.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/1.557, allocations: 4 kB / 1.108 GB, free: 122.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.008326/1.565, allocations: 1.597 MB / 1.11 GB, free: 120.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003074/1.568, allocations: 318.2 kB / 1.11 GB, free: 120.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/1.584, allocations: 4.679 MB / 1.115 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009559/1.585, allocations: 1.357 MB / 1.116 GB, free: 114.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005544/1.59, allocations: 0.5502 MB / 1.117 GB, free: 113.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001866/1.592, allocations: 207.2 kB / 1.117 GB, free: 113.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.212e-06/1.592, allocations: 0 / 1.117 GB, free: 113.4 MB / 0.698 GB Notification: Performance of Templates: time 0.06154/1.654, allocations: 25.06 MB / 1.141 GB, free: 88.46 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)