Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.533/1.533, allocations: 252 MB / 0.5102 GB, free: 4.793 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00053/0.0005301, allocations: 15.98 kB / 0.6243 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5635/0.564, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006718/0.5708, allocations: 5.221 MB / 0.7332 GB, free: 6.215 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1653/0.7361, allocations: 137.3 MB / 0.8673 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.7374, allocations: 19.94 kB / 0.8674 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006308/0.7381, allocations: 178.4 kB / 0.8675 GB, free: 12.28 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.001535/0.7396, allocations: 463.7 kB / 0.868 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.742, allocations: 0.9103 MB / 0.8689 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002268/0.7443, allocations: 2.005 MB / 0.8708 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.7457, allocations: 1.123 MB / 0.8719 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.7467, allocations: 0.661 MB / 0.8726 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009372/0.7477, allocations: 0.7734 MB / 0.8733 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.7478, allocations: 52 kB / 0.8734 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007958/0.7486, allocations: 323.7 kB / 0.8737 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003589/0.749, allocations: 346.4 kB / 0.874 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.7493, allocations: 356.6 kB / 0.8743 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.7514, allocations: 2.287 MB / 0.8766 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.7514, allocations: 0 / 0.8766 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7514, allocations: 4 kB / 0.8766 GB, free: 2.961 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.7515, allocations: 0 / 0.8766 GB, free: 2.961 MB / 0.6856 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.003988/0.7555, allocations: 2.07 MB / 0.8786 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.7555, allocations: 8.031 kB / 0.8786 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.7684, allocations: 2.197 MB / 0.8808 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.771, allocations: 1.142 MB / 0.8819 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.7712, allocations: 156.1 kB / 0.882 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/0.7715, allocations: 208 kB / 0.8822 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00726/0.7788, allocations: 3.097 MB / 0.8852 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.7789, allocations: 3.938 kB / 0.8853 GB, free: 9.863 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.7791, allocations: 88 kB / 0.8853 GB, free: 9.777 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/0.7791, allocations: 52 kB / 0.8854 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/0.7897, allocations: 4.071 MB / 0.8894 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/0.8018, allocations: 6.588 MB / 0.8958 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007317/0.8092, allocations: 2.733 MB / 0.8985 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003452/0.8127, allocations: 1.376 MB / 0.8998 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007415/0.8134, allocations: 0.5112 MB / 0.9003 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00394/0.8174, allocations: 1.636 MB / 0.9019 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=192): time 3.115e-06/0.8174, allocations: 0 / 0.9019 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=192): time 0.01175/0.8291, allocations: 4.048 MB / 0.9059 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.8293, allocations: 201.9 kB / 0.9061 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.8304, allocations: 0.8322 MB / 0.9069 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.8306, allocations: 57.7 kB / 0.9069 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005432/0.8312, allocations: 0.6839 MB / 0.9076 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005675/0.8317, allocations: 0.6197 MB / 0.9082 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.8319, allocations: 36 kB / 0.9082 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.8321, allocations: 373.9 kB / 0.9086 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00336/0.8354, allocations: 1.14 MB / 0.9097 GB, free: 476 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4885/1.324, allocations: 1.303 MB / 0.911 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004304/1.328, allocations: 1.181 MB / 0.9121 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/1.328, allocations: 0 / 0.9121 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.0101/1.338, allocations: 2.847 MB / 0.9149 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/1.339, allocations: 9.969 kB / 0.9149 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/1.339, allocations: 6.781 kB / 0.9149 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/1.339, allocations: 87.59 kB / 0.915 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003685/1.343, allocations: 0.5489 MB / 0.9155 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/1.345, allocations: 1.522 MB / 0.917 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002945/1.348, allocations: 330.1 kB / 0.9173 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/1.348, allocations: 92.95 kB / 0.9174 GB, free: 174.7 MB / 0.7169 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.001068/1.349, allocations: 404 kB / 0.9178 GB, free: 174.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/1.35, allocations: 135.2 kB / 0.9179 GB, free: 174.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/1.36, allocations: 3.384 MB / 0.9212 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/1.36, allocations: 24.56 kB / 0.9213 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.36, allocations: 0 / 0.9213 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/1.36, allocations: 16.62 kB / 0.9213 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/1.372, allocations: 5.566 MB / 0.9267 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.372, allocations: 0 / 0.9267 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002909/1.375, allocations: 0.5242 MB / 0.9272 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/1.376, allocations: 86.58 kB / 0.9273 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/1.376, allocations: 75.55 kB / 0.9274 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/1.377, allocations: 1.544 MB / 0.9289 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.377, allocations: 3.422 kB / 0.9289 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007726/1.385, allocations: 2.947 MB / 0.9318 GB, free: 167.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009631/1.386, allocations: 0.5209 MB / 0.9323 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/1.386, allocations: 35.48 kB / 0.9323 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002163/1.388, allocations: 248.7 kB / 0.9326 GB, free: 167.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/1.389, allocations: 125.8 kB / 0.9327 GB, free: 167.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/1.389, allocations: 79.33 kB / 0.9328 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007884/1.39, allocations: 0.6082 MB / 0.9333 GB, free: 166.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/1.39, allocations: 4 kB / 0.9333 GB, free: 166.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001706/1.391, allocations: 0.5724 MB / 0.9339 GB, free: 166 MB / 0.7169 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.001268/1.393, allocations: 0.6029 MB / 0.9345 GB, free: 165.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007424/1.4, allocations: 2.88 MB / 0.9373 GB, free: 162.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/1.4, allocations: 0 / 0.9373 GB, free: 162.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00379/1.404, allocations: 1.599 MB / 0.9389 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/1.406, allocations: 316.9 kB / 0.9392 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008102/1.414, allocations: 4.673 MB / 0.9437 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/1.414, allocations: 1.361 MB / 0.9451 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003312/1.418, allocations: 0.5463 MB / 0.9456 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008427/1.418, allocations: 207.2 kB / 0.9458 GB, free: 154 MB / 0.7169 GB Notification: Performance of SimCode: time 1.272e-06/1.419, allocations: 4 kB / 0.9458 GB, free: 154 MB / 0.7169 GB Notification: Performance of Templates: time 0.0361/1.455, allocations: 25.07 MB / 0.9703 GB, free: 129.1 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) Environment - environmentSimulation: