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.001454/0.001454, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001192/0.001193, allocations: 194.3 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.1 MB / 222 MB, free: 4.77 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.601/1.601, allocations: 251.6 MB / 0.5088 GB, free: 3.371 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.001743/0.001743, allocations: 63.91 kB / 0.6215 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5858/0.5876, allocations: 104.7 MB / 0.7238 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008459/0.5961, allocations: 6.045 MB / 0.7297 GB, free: 7.215 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1857/0.7818, allocations: 148.8 MB / 0.875 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.7832, allocations: 23.88 kB / 0.875 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007305/0.784, allocations: 178.5 kB / 0.8752 GB, free: 1.648 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.001838/0.7859, allocations: 489.5 kB / 0.8757 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002876/0.7888, allocations: 1.106 MB / 0.8768 GB, free: 72 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002363/0.7911, allocations: 2.193 MB / 0.8789 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.7929, allocations: 1.461 MB / 0.8803 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.7941, allocations: 0.8676 MB / 0.8812 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.7953, allocations: 1.062 MB / 0.8822 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000264/0.7956, allocations: 144 kB / 0.8823 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009888/0.7966, allocations: 431.7 kB / 0.8828 GB, free: 9.848 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004434/0.797, allocations: 498.1 kB / 0.8832 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0009246/0.798, allocations: 1.002 MB / 0.8842 GB, free: 8.352 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003025/0.801, allocations: 2.971 MB / 0.8871 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.801, allocations: 4 kB / 0.8871 GB, free: 5.367 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.062e-06/0.801, allocations: 0 / 0.8871 GB, free: 5.367 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.833e-05/0.8011, allocations: 0 / 0.8871 GB, free: 5.367 MB / 0.7012 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.005259/0.8064, allocations: 2.523 MB / 0.8896 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.8064, allocations: 12.03 kB / 0.8896 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01467/0.8211, allocations: 2.003 MB / 0.8915 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/0.8238, allocations: 1.181 MB / 0.8927 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.824, allocations: 156.2 kB / 0.8928 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003931/0.8244, allocations: 200 kB / 0.893 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008299/0.8327, allocations: 3.031 MB / 0.896 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.8327, allocations: 0 / 0.896 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002717/0.833, allocations: 88 kB / 0.8961 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.8331, allocations: 52 kB / 0.8961 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01162/0.8447, allocations: 3.95 MB / 0.9 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01535/0.8601, allocations: 6.555 MB / 0.9064 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5218/1.382, allocations: 2.724 MB / 0.9091 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004646/1.387, allocations: 1.373 MB / 0.9104 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007885/1.388, allocations: 0.5066 MB / 0.9109 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005349/1.393, allocations: 1.629 MB / 0.9125 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=192): time 4.449e-06/1.393, allocations: 0 / 0.9125 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=192): time 0.01372/1.407, allocations: 4.02 MB / 0.9164 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.407, allocations: 205.6 kB / 0.9166 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/1.408, allocations: 0.8317 MB / 0.9174 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002975/1.409, allocations: 62.58 kB / 0.9175 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/1.409, allocations: 0.6865 MB / 0.9181 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004631/1.41, allocations: 0.6239 MB / 0.9188 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006504/1.41, allocations: 363.5 kB / 0.9191 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.971e-05/1.41, allocations: 301.1 kB / 0.9194 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003384/1.414, allocations: 1.131 MB / 0.9205 GB, free: 174.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003801/1.418, allocations: 1.302 MB / 0.9218 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006599/1.424, allocations: 2.384 MB / 0.9241 GB, free: 172.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/1.424, allocations: 5.688 kB / 0.9241 GB, free: 172.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.007977/1.432, allocations: 2.829 MB / 0.9269 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/1.432, allocations: 11.36 kB / 0.9269 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.432, allocations: 3.438 kB / 0.9269 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005675/1.433, allocations: 86.44 kB / 0.927 GB, free: 171.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003116/1.436, allocations: 0.5482 MB / 0.9275 GB, free: 171.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/1.438, allocations: 1.526 MB / 0.929 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/1.44, allocations: 309.9 kB / 0.9293 GB, free: 169.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/1.44, allocations: 93.02 kB / 0.9294 GB, free: 169.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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008545/1.441, allocations: 403.8 kB / 0.9297 GB, free: 169.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/1.442, allocations: 134.3 kB / 0.9299 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008932/1.45, allocations: 3.353 MB / 0.9331 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/1.451, allocations: 23.75 kB / 0.9332 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.451, allocations: 0 / 0.9332 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/1.451, allocations: 11.91 kB / 0.9332 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/1.461, allocations: 5.561 MB / 0.9386 GB, free: 160.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.461, allocations: 0 / 0.9386 GB, free: 160.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002909/1.464, allocations: 0.5188 MB / 0.9391 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004855/1.464, allocations: 88.7 kB / 0.9392 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/1.465, allocations: 71.86 kB / 0.9393 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/1.466, allocations: 1.545 MB / 0.9408 GB, free: 158 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/1.466, allocations: 3.938 kB / 0.9408 GB, free: 158 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00737/1.473, allocations: 2.926 MB / 0.9436 GB, free: 155 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006267/1.474, allocations: 0.4946 MB / 0.9441 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002764/1.474, allocations: 47.84 kB / 0.9442 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002243/1.476, allocations: 231.3 kB / 0.9444 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/1.477, allocations: 121.9 kB / 0.9445 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/1.477, allocations: 83.92 kB / 0.9446 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006372/1.477, allocations: 0.6215 MB / 0.9452 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.478, allocations: 0 / 0.9452 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001297/1.479, allocations: 0.5685 MB / 0.9458 GB, free: 152.9 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/1.48, allocations: 0.6046 MB / 0.9463 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007337/1.487, allocations: 2.86 MB / 0.9491 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.487, allocations: 3.938 kB / 0.9491 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003711/1.491, allocations: 1.603 MB / 0.9507 GB, free: 148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/1.493, allocations: 313.4 kB / 0.951 GB, free: 147.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00799/1.501, allocations: 4.767 MB / 0.9557 GB, free: 142.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/1.501, allocations: 1.365 MB / 0.957 GB, free: 141.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002942/1.504, allocations: 0.5269 MB / 0.9575 GB, free: 141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008997/1.505, allocations: 215.2 kB / 0.9577 GB, free: 140.8 MB / 0.7169 GB Notification: Performance of SimCode: time 6.21e-07/1.505, allocations: 0 / 0.9577 GB, free: 140.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.0335/1.539, allocations: 25.96 MB / 0.9831 GB, free: 114.9 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (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)