Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.586/2.586, allocations: 287.5 MB / 302.4 MB, free: 8.219 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.001335/0.001335, allocations: 174.6 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009647/0.0009647, allocations: 92.88 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007026/0.0007029, allocations: 16.69 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2168, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008543/0.2254, allocations: 5.857 MB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8616/1.087, allocations: 141.2 MB / 1.122 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/1.089, allocations: 33 kB / 1.122 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006243/1.095, allocations: 1.611 MB / 1.124 GB, free: 1.074 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.003784/1.099, allocations: 0.911 MB / 1.124 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004383/1.103, allocations: 1.008 MB / 1.125 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0064/1.11, allocations: 4.594 MB / 1.13 GB, free: 452 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/1.112, allocations: 0.8776 MB / 1.131 GB, free: 16.27 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003285/1.115, allocations: 1.318 MB / 1.132 GB, free: 16 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002635/1.118, allocations: 1.152 MB / 1.133 GB, free: 15.78 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005624/1.118, allocations: 62.69 kB / 1.133 GB, free: 15.78 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005405/1.124, allocations: 1.799 MB / 1.135 GB, free: 15.7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003902/1.127, allocations: 2.645 MB / 1.138 GB, free: 15.6 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00115/1.129, allocations: 437.9 kB / 1.138 GB, free: 15.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008008/1.137, allocations: 3.624 MB / 1.142 GB, free: 13.72 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/1.137, allocations: 5.125 kB / 1.142 GB, free: 13.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.287e-06/1.137, allocations: 0 / 1.142 GB, free: 13.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001303/1.137, allocations: 0 / 1.142 GB, free: 13.71 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: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.01104/1.148, allocations: 2.701 MB / 1.144 GB, free: 11.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.58e-05/1.148, allocations: 8.594 kB / 1.144 GB, free: 11.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00428/1.152, allocations: 355.1 kB / 1.145 GB, free: 11.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/1.168, allocations: 7.289 MB / 1.152 GB, free: 10.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/1.168, allocations: 129.8 kB / 1.152 GB, free: 10.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003922/1.168, allocations: 175.1 kB / 1.152 GB, free: 10.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004029/1.172, allocations: 1.678 MB / 1.154 GB, free: 10.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.281e-05/1.172, allocations: 3.938 kB / 1.154 GB, free: 10.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/1.173, allocations: 62.97 kB / 1.154 GB, free: 10.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.701e-05/1.173, allocations: 36.17 kB / 1.154 GB, free: 10.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004193/1.177, allocations: 1.722 MB / 1.155 GB, free: 9.645 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01903/1.196, allocations: 9.852 MB / 1.165 GB, free: 6.492 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003719/1.2, allocations: 1.436 MB / 1.166 GB, free: 6.289 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/1.201, allocations: 0.8206 MB / 1.167 GB, free: 6.184 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/1.202, allocations: 41.88 kB / 1.167 GB, free: 6.172 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002089/1.204, allocations: 0.9289 MB / 1.168 GB, free: 5.777 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 3.367e-06/1.204, allocations: 0 / 1.168 GB, free: 5.777 MB / 0.698 GB Notification: Performance of matching and sorting (n=105): time 0.009081/1.213, allocations: 2.77 MB / 1.171 GB, free: 3.492 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003344/1.213, allocations: 354.4 kB / 1.171 GB, free: 3.098 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02197/1.235, allocations: 11.5 MB / 1.182 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006222/1.236, allocations: 61.7 kB / 1.182 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001501/1.237, allocations: 0.9328 MB / 1.183 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006314/1.238, allocations: 359.1 kB / 1.184 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/1.238, allocations: 48 kB / 1.184 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002607/1.238, allocations: 402.3 kB / 1.184 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01013/1.249, allocations: 6.841 MB / 1.191 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01138/1.26, allocations: 7.159 MB / 1.198 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/1.271, allocations: 7.156 MB / 1.205 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/1.271, allocations: 0 / 1.205 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.02511/1.297, allocations: 14.74 MB / 1.219 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000362/1.297, allocations: 169.6 kB / 1.219 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.33e-05/1.297, allocations: 11.95 kB / 1.219 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/1.298, allocations: 89.12 kB / 1.219 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00385/1.302, allocations: 466.2 kB / 1.22 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/1.305, allocations: 1.537 MB / 1.221 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/1.308, allocations: 223.7 kB / 1.222 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007166/1.309, allocations: 110.6 kB / 1.222 GB, free: 15.02 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (263): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 1 * 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.003561/1.313, allocations: 1.527 MB / 1.223 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007207/1.313, allocations: 201.5 kB / 1.223 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008071/1.321, allocations: 2.464 MB / 1.226 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/1.321, allocations: 12 kB / 1.226 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.321, allocations: 0 / 1.226 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/1.322, allocations: 7.969 kB / 1.226 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/1.334, allocations: 4.272 MB / 1.23 GB, free: 6.477 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/1.334, allocations: 4 kB / 1.23 GB, free: 6.473 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/1.336, allocations: 175.8 kB / 1.23 GB, free: 6.301 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008934/1.337, allocations: 84.77 kB / 1.23 GB, free: 6.215 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003051/1.337, allocations: 35.94 kB / 1.23 GB, free: 6.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/1.34, allocations: 1.544 MB / 1.232 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.34, allocations: 0 / 1.232 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007426/1.347, allocations: 2.358 MB / 1.234 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001782/1.349, allocations: 0.5291 MB / 1.235 GB, free: 1.559 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006496/1.35, allocations: 20 kB / 1.235 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/1.352, allocations: 79.94 kB / 1.235 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/1.352, allocations: 76.89 kB / 1.235 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001945/1.352, allocations: 55.97 kB / 1.235 GB, free: 1.328 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.011/1.363, allocations: 7.207 MB / 1.242 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.82e-07/1.363, allocations: 0 / 1.242 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004726/1.368, allocations: 1.078 MB / 1.243 GB, free: 9.035 MB / 0.7761 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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * 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.003764/1.372, allocations: 0.9082 MB / 1.244 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01625/1.388, allocations: 9.457 MB / 1.253 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/1.388, allocations: 0 / 1.253 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.006443/1.395, allocations: 1.68 MB / 1.255 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005553/1.4, allocations: 389.8 kB / 1.255 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02668/1.427, allocations: 12.42 MB / 1.267 GB, free: 340 kB / 0.7917 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:754:5-754:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]