Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.Window.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.Window") translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.Window") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.634/1.634, allocations: 288.4 MB / 303.4 MB, free: 8.086 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.001041/0.001041, allocations: 185.4 kB / 372 MB, free: 10.29 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.359/1.359, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0007804/0.0007802, allocations: 86.36 kB / 0.7441 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 11.59 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2213, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Window): time 0.009899/0.2312, allocations: 11.37 MB / 0.9907 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6828/0.9141, allocations: 144.9 MB / 1.132 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00323/0.9174, allocations: 58.91 kB / 1.132 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006998/0.9244, allocations: 2.018 MB / 1.134 GB, free: 0.8672 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.005334/0.9298, allocations: 1.399 MB / 1.136 GB, free: 492 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00582/0.9356, allocations: 1.702 MB / 1.137 GB, free: 256 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00948/0.9451, allocations: 7.115 MB / 1.144 GB, free: 14.8 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003217/0.9483, allocations: 1.659 MB / 1.146 GB, free: 14.21 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006184/0.9545, allocations: 2.063 MB / 1.148 GB, free: 13.42 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005193/0.9598, allocations: 2.036 MB / 1.15 GB, free: 12.51 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007794/0.9606, allocations: 156.4 kB / 1.15 GB, free: 12.51 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006484/0.9671, allocations: 2.092 MB / 1.152 GB, free: 11.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003617/0.9707, allocations: 2.995 MB / 1.155 GB, free: 11.09 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001937/0.9727, allocations: 0.7887 MB / 1.156 GB, free: 10.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.9829, allocations: 6.111 MB / 1.162 GB, free: 7.234 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.983, allocations: 4 kB / 1.162 GB, free: 7.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.675e-06/0.983, allocations: 0 / 1.162 GB, free: 7.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002948/0.9833, allocations: 0 / 1.162 GB, free: 7.23 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.01363/0.9969, allocations: 4.655 MB / 1.166 GB, free: 3.992 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.997, allocations: 14.89 kB / 1.166 GB, free: 3.988 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02936/1.026, allocations: 4.424 MB / 1.171 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03921/1.066, allocations: 11.55 MB / 1.182 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002361/1.066, allocations: 221 kB / 1.182 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/1.067, allocations: 292 kB / 1.182 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/1.078, allocations: 4.33 MB / 1.187 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/1.078, allocations: 3.984 kB / 1.187 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003314/1.079, allocations: 108 kB / 1.187 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.428e-05/1.079, allocations: 63.95 kB / 1.187 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009607/1.088, allocations: 3.941 MB / 1.191 GB, free: 1.602 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02881/1.117, allocations: 19.43 MB / 1.21 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008756/1.126, allocations: 3.651 MB / 1.213 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006561/1.132, allocations: 2.636 MB / 1.216 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005012/1.133, allocations: 430.4 kB / 1.216 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00728/1.14, allocations: 2.858 MB / 1.219 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=201): time 7.293e-06/1.14, allocations: 0 / 1.219 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=201): time 0.04775/1.188, allocations: 13.37 MB / 1.232 GB, free: 6.047 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002691/1.188, allocations: 381.2 kB / 1.232 GB, free: 5.617 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01989/1.208, allocations: 12.82 MB / 1.245 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/1.209, allocations: 81.7 kB / 1.245 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002617/1.212, allocations: 1.619 MB / 1.247 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001365/1.213, allocations: 0.6817 MB / 1.247 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/1.215, allocations: 56 kB / 1.247 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003935/1.215, allocations: 440.3 kB / 1.248 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0171/1.232, allocations: 9.408 MB / 1.257 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01706/1.249, allocations: 9.878 MB / 1.266 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01751/1.267, allocations: 9.449 MB / 1.276 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-05/1.267, allocations: 4 kB / 1.276 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of matching and sorting (n=390) (initialization): time 0.04585/1.313, allocations: 21.76 MB / 1.297 GB, free: 3.176 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000462/1.313, allocations: 476.1 kB / 1.297 GB, free: 2.602 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04646/1.36, allocations: 13.68 MB / 1.311 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09059/1.45, allocations: 10.88 MB / 1.321 GB, free: 9.953 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006609/1.457, allocations: 0.8699 MB / 1.322 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/1.472, allocations: 7.897 MB / 1.33 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008515/1.48, allocations: 0.6536 MB / 1.331 GB, free: 104 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001446/1.482, allocations: 191.9 kB / 1.331 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/1.482, allocations: 4 kB / 1.331 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04106/1.523, allocations: 20.68 MB / 1.351 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03052/1.554, allocations: 12.45 MB / 1.363 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003746/1.557, allocations: 1.184 MB / 1.364 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006824/1.564, allocations: 0.9712 MB / 1.365 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01583/1.58, allocations: 11.7 MB / 1.377 GB, free: 244 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007858/1.588, allocations: 0.6072 MB / 1.377 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/1.589, allocations: 191.8 kB / 1.377 GB, free: 15.44 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (307): * Single equations (assignments): 302 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 49,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004874/1.594, allocations: 2 MB / 1.379 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001553/1.596, allocations: 343.5 kB / 1.38 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.025/1.621, allocations: 7.965 MB / 1.387 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/1.621, allocations: 20 kB / 1.388 GB, free: 5.07 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.621, allocations: 0 / 1.388 GB, free: 5.07 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.634e-05/1.621, allocations: 11.97 kB / 1.388 GB, free: 5.059 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03127/1.652, allocations: 12.73 MB / 1.4 GB, free: 8.094 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03725/1.69, allocations: 7.769 MB / 1.408 GB, free: 308 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002952/1.693, allocations: 411.5 kB / 1.408 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09841/1.791, allocations: 15.69 MB / 1.423 GB, free: 184 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008238/1.792, allocations: 83.92 kB / 1.423 GB, free: 100 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/1.804, allocations: 7.913 MB / 1.431 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.804, allocations: 160 / 1.431 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5548/2.359, allocations: 8.286 MB / 1.439 GB, free: 357.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003911/2.363, allocations: 1.048 MB / 1.44 GB, free: 357.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008475/2.364, allocations: 39.09 kB / 1.44 GB, free: 357.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003967/2.368, allocations: 350.9 kB / 1.441 GB, free: 357.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003664/2.368, allocations: 138.1 kB / 1.441 GB, free: 357.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002803/2.369, allocations: 108.4 kB / 1.441 GB, free: 357.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01163/2.38, allocations: 8.117 MB / 1.449 GB, free: 356.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.01e-07/2.38, allocations: 0 / 1.449 GB, free: 356.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01031/2.391, allocations: 2.531 MB / 1.451 GB, free: 356.3 MB / 0.9636 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 (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 57,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00336/2.394, allocations: 0.9821 MB / 1.452 GB, free: 356.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.04886/2.443, allocations: 25.71 MB / 1.477 GB, free: 347.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/2.443, allocations: 0 / 1.477 GB, free: 347.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.009019/2.452, allocations: 3.737 MB / 1.481 GB, free: 346.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00605/2.458, allocations: 0.7307 MB / 1.482 GB, free: 345.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0282/2.486, allocations: 17.39 MB / 1.499 GB, free: 334.6 MB / 0.9636 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]