Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007936/0.0007936, allocations: 84.38 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.000861/0.0008611, 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.361/1.361, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.568/1.568, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004762/0.0004763, allocations: 17.53 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2243, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005629/0.2299, allocations: 4.75 MB / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5494/0.7794, allocations: 140.2 MB / 0.9288 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005345/0.78, allocations: 22.38 kB / 0.9289 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003712/0.7837, allocations: 1.485 MB / 0.9303 GB, free: 3.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.001441/0.7851, allocations: 0.583 MB / 0.9309 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.7869, allocations: 0.6924 MB / 0.9316 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001539/0.7885, allocations: 2.048 MB / 0.9336 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007696/0.7892, allocations: 0.7113 MB / 0.9343 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007008/0.7899, allocations: 0.6038 MB / 0.9348 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006948/0.7907, allocations: 0.6192 MB / 0.9355 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.472e-05/0.7908, allocations: 34.75 kB / 0.9355 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002851/0.7936, allocations: 1.777 MB / 0.9372 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009122/0.7945, allocations: 0.9725 MB / 0.9382 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003387/0.7949, allocations: 289.7 kB / 0.9384 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002669/0.7976, allocations: 2.467 MB / 0.9409 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7976, allocations: 0.5 kB / 0.9409 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.173e-06/0.7976, allocations: 0 / 0.9409 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.36e-05/0.7976, allocations: 0.5312 kB / 0.9409 GB, free: 17.95 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.003013/0.8006, allocations: 1.878 MB / 0.9427 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.8007, allocations: 8.844 kB / 0.9427 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008784/0.8016, allocations: 265.2 kB / 0.943 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003096/0.8047, allocations: 2.809 MB / 0.9457 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.522e-05/0.8048, allocations: 94.27 kB / 0.9458 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.8049, allocations: 125.9 kB / 0.9459 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.8069, allocations: 1.248 MB / 0.9471 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.807, allocations: 4.781 kB / 0.9471 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.25e-05/0.8071, allocations: 46.31 kB / 0.9472 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.8071, allocations: 29.62 kB / 0.9472 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.8091, allocations: 1.409 MB / 0.9486 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00581/0.8149, allocations: 4.821 MB / 0.9533 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.8165, allocations: 0.9914 MB / 0.9543 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005785/0.8171, allocations: 407 kB / 0.9546 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.111e-05/0.8172, allocations: 37.58 kB / 0.9547 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008399/0.8181, allocations: 0.5559 MB / 0.9552 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=88): time 3.797e-06/0.8181, allocations: 96 / 0.9552 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88): time 0.002899/0.821, allocations: 1.488 MB / 0.9567 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.8211, allocations: 196.1 kB / 0.9569 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004055/0.8251, allocations: 4.02 MB / 0.9608 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.094e-05/0.8252, allocations: 44.77 kB / 0.9608 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004476/0.8257, allocations: 0.6256 MB / 0.9614 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.8259, allocations: 290.5 kB / 0.9617 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.826, allocations: 21.09 kB / 0.9617 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.8262, allocations: 358.8 kB / 0.9621 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.8279, allocations: 2.168 MB / 0.9642 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.8297, allocations: 2.291 MB / 0.9664 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/0.8316, allocations: 2.235 MB / 0.9686 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.8317, allocations: 0 / 0.9686 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004482/0.8362, allocations: 4.811 MB / 0.9733 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.8362, allocations: 6.188 kB / 0.9733 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.8362, allocations: 0 / 0.9733 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005208/0.8367, allocations: 90.3 kB / 0.9734 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008668/0.8376, allocations: 256.7 kB / 0.9737 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.8393, allocations: 1.528 MB / 0.9751 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008228/0.8402, allocations: 120.7 kB / 0.9753 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.8403, allocations: 58.22 kB / 0.9753 GB, free: 10.62 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 (143): * Single equations (assignments): 142 * 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.0007603/0.8411, allocations: 0.6082 MB / 0.9759 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.8412, allocations: 127.2 kB / 0.976 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/0.8437, allocations: 1.348 MB / 0.9773 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.8437, allocations: 12.69 kB / 0.9774 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.8437, allocations: 0 / 0.9774 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.8437, allocations: 7.938 kB / 0.9774 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003404/0.8471, allocations: 2.524 MB / 0.9798 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.8472, allocations: 3.984 kB / 0.9798 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006044/0.8478, allocations: 173.6 kB / 0.98 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000427/0.8482, allocations: 89.91 kB / 0.9801 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.768e-05/0.8483, allocations: 28.23 kB / 0.9801 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.8498, allocations: 1.548 MB / 0.9816 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8498, allocations: 0 / 0.9816 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.8516, allocations: 1.204 MB / 0.9828 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/0.8521, allocations: 362 kB / 0.9831 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.8522, allocations: 20.97 kB / 0.9832 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005788/0.8528, allocations: 69.94 kB / 0.9832 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.853, allocations: 70.83 kB / 0.9833 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-05/0.853, allocations: 42.22 kB / 0.9833 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002072/0.8551, allocations: 2.579 MB / 0.9859 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8551, allocations: 3.938 kB / 0.9859 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002469/0.8576, allocations: 0.857 MB / 0.9867 GB, free: 6.527 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 (102): * Single equations (assignments): 99 * 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.001957/0.8596, allocations: 0.8882 MB / 0.9876 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002932/0.8625, allocations: 2.892 MB / 0.9904 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8625, allocations: 320 / 0.9904 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008924/0.8634, allocations: 0.61 MB / 0.991 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.8647, allocations: 296.5 kB / 0.9913 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007101/0.8718, allocations: 5.584 MB / 0.9967 GB, free: 15.28 MB / 0.7481 GB [/var/lib/jenkins/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]