Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.79/1.79, allocations: 287.5 MB / 302.6 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 174.7 kB / 371.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 0.6298 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000793/0.0007929, allocations: 107.5 kB / 0.7432 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004217, allocations: 15.78 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2327, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.003763/0.2365, allocations: 3.526 MB / 0.9821 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6508/0.8874, allocations: 136.4 MB / 1.115 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009423/0.8884, allocations: 14.31 kB / 1.115 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006321/0.889, allocations: 123.5 kB / 1.115 GB, free: 1.609 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.00183/0.8909, allocations: 344.8 kB / 1.116 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002565/0.8934, allocations: 0.588 MB / 1.116 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001748/0.8952, allocations: 1.015 MB / 1.117 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.8963, allocations: 0.5569 MB / 1.118 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007222/0.897, allocations: 279.7 kB / 1.118 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005594/0.8976, allocations: 306.5 kB / 1.118 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.8977, allocations: 20.16 kB / 1.118 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009989/0.8988, allocations: 268.5 kB / 1.119 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.899, allocations: 156.2 kB / 1.119 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.8993, allocations: 184.1 kB / 1.119 GB, free: 16.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.9009, allocations: 1.004 MB / 1.12 GB, free: 16.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.901, allocations: 1.031 kB / 1.12 GB, free: 16.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.334e-06/0.901, allocations: 0.9688 kB / 1.12 GB, free: 16.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.118e-05/0.901, allocations: 1.859 kB / 1.12 GB, free: 16.82 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002456/0.9035, allocations: 1.088 MB / 1.121 GB, free: 16.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.9035, allocations: 10.91 kB / 1.121 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.9046, allocations: 180.9 kB / 1.121 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.9059, allocations: 0.6927 MB / 1.122 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.906, allocations: 63.28 kB / 1.122 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.9061, allocations: 73.77 kB / 1.122 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.908, allocations: 0.8384 MB / 1.123 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.9081, allocations: 0 / 1.123 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-05/0.9082, allocations: 35.16 kB / 1.123 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.9082, allocations: 18.81 kB / 1.123 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.9103, allocations: 1.047 MB / 1.124 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004584/0.9149, allocations: 2.354 MB / 1.126 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.9166, allocations: 0.7089 MB / 1.127 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.9172, allocations: 267.6 kB / 1.127 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.9173, allocations: 35.44 kB / 1.127 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009902/0.9183, allocations: 418.7 kB / 1.128 GB, free: 14.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=71): time 3.506e-06/0.9184, allocations: 3.938 kB / 1.128 GB, free: 14.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=71): time 0.003624/0.922, allocations: 1.065 MB / 1.129 GB, free: 14.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.9222, allocations: 194.2 kB / 1.129 GB, free: 14.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009749/0.9231, allocations: 0.5634 MB / 1.129 GB, free: 14.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.717e-05/0.9232, allocations: 36.92 kB / 1.13 GB, free: 14.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.9236, allocations: 363.3 kB / 1.13 GB, free: 13.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.9239, allocations: 239.5 kB / 1.13 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.9239, allocations: 15.62 kB / 1.13 GB, free: 13.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002191/0.9242, allocations: 385.6 kB / 1.13 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005984/0.9248, allocations: 232.1 kB / 1.131 GB, free: 13.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006953/0.9255, allocations: 324.3 kB / 1.131 GB, free: 13.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.9268, allocations: 0.5553 MB / 1.132 GB, free: 13.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.9268, allocations: 4 kB / 1.132 GB, free: 13.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002224/0.929, allocations: 0.759 MB / 1.132 GB, free: 13.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.9291, allocations: 8.406 kB / 1.132 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.9291, allocations: 0 / 1.132 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007545/0.9298, allocations: 87.88 kB / 1.132 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008913/0.9308, allocations: 151.6 kB / 1.133 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.9332, allocations: 1.513 MB / 1.134 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008589/0.9341, allocations: 84.17 kB / 1.134 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.469e-05/0.9342, allocations: 42.73 kB / 1.134 GB, free: 11.83 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (83): * Single equations (assignments): 82 * 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.0005756/0.9348, allocations: 256.5 kB / 1.134 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.935, allocations: 74.5 kB / 1.134 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002876/0.9379, allocations: 0.9643 MB / 1.135 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.9379, allocations: 8.875 kB / 1.135 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.9379, allocations: 0 / 1.135 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.9379, allocations: 6.562 kB / 1.135 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.9392, allocations: 0.8168 MB / 1.136 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.9392, allocations: 2.438 kB / 1.136 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/0.94, allocations: 141.7 kB / 1.136 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006438/0.9407, allocations: 80.83 kB / 1.136 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.9408, allocations: 26.31 kB / 1.136 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.9431, allocations: 1.547 MB / 1.138 GB, free: 9.969 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9431, allocations: 0 / 1.138 GB, free: 9.969 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.9455, allocations: 0.8231 MB / 1.139 GB, free: 9.824 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006322/0.9461, allocations: 262.5 kB / 1.139 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.9463, allocations: 20.75 kB / 1.139 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007207/0.947, allocations: 66.12 kB / 1.139 GB, free: 9.672 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.9472, allocations: 59.36 kB / 1.139 GB, free: 9.668 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.9474, allocations: 36.72 kB / 1.139 GB, free: 9.664 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000921/0.9483, allocations: 408.3 kB / 1.14 GB, free: 9.562 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9483, allocations: 1.859 kB / 1.14 GB, free: 9.562 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001463/0.9498, allocations: 270 kB / 1.14 GB, free: 9.512 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.001752/0.9515, allocations: 0.5551 MB / 1.14 GB, free: 9.297 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002126/0.9537, allocations: 0.7492 MB / 1.141 GB, free: 9.117 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.9537, allocations: 5.344 kB / 1.141 GB, free: 9.113 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.9548, allocations: 480.5 kB / 1.142 GB, free: 8.938 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.9564, allocations: 242.8 kB / 1.142 GB, free: 8.863 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/0.9616, allocations: 1.995 MB / 1.144 GB, free: 7.758 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008254/0.9625, allocations: 0.9919 MB / 1.145 GB, free: 6.938 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001369/0.9639, allocations: 247 kB / 1.145 GB, free: 6.816 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.9642, allocations: 93.52 kB / 1.145 GB, free: 6.797 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/0.9642, allocations: 0 / 1.145 GB, free: 6.797 MB / 0.698 GB Notification: Performance of Templates: time 0.02275/0.987, allocations: 12.27 MB / 1.157 GB, free: 0.6562 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)