Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0007577/0.0007577, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008324/0.0008326, allocations: 168.7 kB / 15.95 MB, free: 200 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.383/1.383, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.601/1.601, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.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.0005152/0.0005153, allocations: 13.59 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2189, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005466/0.2244, allocations: 5.214 MB / 0.7924 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5888/0.8132, allocations: 137.3 MB / 0.9265 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.8143, allocations: 20.44 kB / 0.9265 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005437/0.8148, allocations: 178.5 kB / 0.9267 GB, free: 4.262 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.001491/0.8163, allocations: 469 kB / 0.9271 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.8186, allocations: 0.901 MB / 0.928 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00237/0.821, allocations: 2.013 MB / 0.93 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.8225, allocations: 1.119 MB / 0.9311 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.8238, allocations: 0.6602 MB / 0.9317 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009538/0.8248, allocations: 0.7745 MB / 0.9325 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.825, allocations: 55.69 kB / 0.9325 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007865/0.8258, allocations: 321.9 kB / 0.9328 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002893/0.8261, allocations: 343.4 kB / 0.9331 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.8264, allocations: 352.6 kB / 0.9335 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.8283, allocations: 2.294 MB / 0.9357 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8283, allocations: 6.328 kB / 0.9357 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8283, allocations: 0 / 0.9357 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.138e-05/0.8284, allocations: 0 / 0.9357 GB, free: 2.84 MB / 0.7169 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.004159/0.8326, allocations: 2.073 MB / 0.9378 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.8326, allocations: 15.34 kB / 0.9378 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/0.8456, allocations: 2.189 MB / 0.9399 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/0.8482, allocations: 1.142 MB / 0.941 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.8484, allocations: 153.2 kB / 0.9412 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004926/0.8489, allocations: 203.1 kB / 0.9414 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00777/0.8567, allocations: 3.091 MB / 0.9444 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.8567, allocations: 4.875 kB / 0.9444 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002267/0.857, allocations: 84.91 kB / 0.9445 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.401e-05/0.857, allocations: 51.06 kB / 0.9445 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.8676, allocations: 4.081 MB / 0.9485 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.88, allocations: 6.592 MB / 0.9549 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007144/0.8872, allocations: 2.739 MB / 0.9576 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003298/0.8906, allocations: 1.372 MB / 0.959 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000707/0.8913, allocations: 0.5018 MB / 0.9594 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003879/0.8952, allocations: 1.635 MB / 0.961 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=192): time 4.97e-06/0.8952, allocations: 0 / 0.961 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=192): time 0.0122/0.9074, allocations: 4.045 MB / 0.965 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.9076, allocations: 203.8 kB / 0.9652 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.9092, allocations: 0.8304 MB / 0.966 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002374/0.9094, allocations: 59.8 kB / 0.9661 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006423/0.9101, allocations: 0.6893 MB / 0.9667 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006141/0.9107, allocations: 0.6183 MB / 0.9673 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.9109, allocations: 33.47 kB / 0.9674 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.911, allocations: 369.8 kB / 0.9677 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003142/0.9142, allocations: 1.14 MB / 0.9688 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003379/0.9176, allocations: 1.315 MB / 0.9701 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003206/0.9208, allocations: 1.178 MB / 0.9713 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.9208, allocations: 0 / 0.9713 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.007503/0.9283, allocations: 2.857 MB / 0.9741 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.9284, allocations: 12.08 kB / 0.9741 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.9284, allocations: 0 / 0.9741 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005409/0.9289, allocations: 88.7 kB / 0.9741 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002931/0.9319, allocations: 0.5464 MB / 0.9747 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/0.9337, allocations: 1.531 MB / 0.9762 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/0.9361, allocations: 319.1 kB / 0.9765 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/0.9364, allocations: 89.06 kB / 0.9766 GB, free: 6.77 MB / 0.7325 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.001024/0.9374, allocations: 413.2 kB / 0.977 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003864/0.9378, allocations: 140.4 kB / 0.9771 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009042/0.9469, allocations: 3.377 MB / 0.9804 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.9469, allocations: 20.09 kB / 0.9804 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.9469, allocations: 0 / 0.9804 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.302e-05/0.947, allocations: 15.91 kB / 0.9804 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.9592, allocations: 5.576 MB / 0.9859 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.9593, allocations: 0 / 0.9859 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003028/0.9623, allocations: 0.5251 MB / 0.9864 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000515/0.9628, allocations: 88.55 kB / 0.9865 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002637/0.9631, allocations: 70.28 kB / 0.9865 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.9649, allocations: 1.549 MB / 0.988 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.965, allocations: 6.828 kB / 0.9881 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007938/0.9729, allocations: 2.943 MB / 0.9909 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.974, allocations: 0.5229 MB / 0.9914 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004242/0.9745, allocations: 34.94 kB / 0.9915 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002354/0.9769, allocations: 247.8 kB / 0.9917 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/0.9771, allocations: 120.8 kB / 0.9918 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/0.9773, allocations: 81.58 kB / 0.9919 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009048/0.9782, allocations: 0.6111 MB / 0.9925 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9782, allocations: 0 / 0.9925 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001801/0.98, allocations: 0.5723 MB / 0.9931 GB, free: 0.793 MB / 0.7325 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.00135/0.9814, allocations: 0.5879 MB / 0.9936 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007709/0.9891, allocations: 2.881 MB / 0.9964 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.9891, allocations: 2.625 kB / 0.9964 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004067/0.9932, allocations: 1.602 MB / 0.998 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.9951, allocations: 319.8 kB / 0.9983 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009136/1.004, allocations: 4.68 MB / 1.003 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.005, allocations: 1.362 MB / 1.004 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004012/1.009, allocations: 0.5424 MB / 1.005 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.011, allocations: 212.2 kB / 1.005 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of SimCode: time 8.42e-07/1.011, allocations: 0 / 1.005 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of Templates: time 0.04221/1.053, allocations: 25.06 MB / 1.029 GB, free: 1.078 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) Environment - environmentSimulation: