Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState.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.Validation.WindowSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState") translateModel(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.862/1.862, allocations: 288.4 MB / 303.4 MB, free: 8.199 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.000946/0.0009462, allocations: 178.4 kB / 372 MB, free: 10.27 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.518/1.518, allocations: 205.4 MB / 0.6307 GB, free: 9.961 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.0008324/0.0008325, allocations: 90.34 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003995, allocations: 10.69 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2302, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState): time 0.01115/0.2415, allocations: 11.53 MB / 0.9908 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7208/0.9623, allocations: 144.9 MB / 1.132 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003217/0.9656, allocations: 61.25 kB / 1.132 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006018/0.9716, allocations: 2.012 MB / 1.134 GB, free: 0.8438 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.005414/0.9771, allocations: 1.392 MB / 1.136 GB, free: 468 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005782/0.9829, allocations: 1.691 MB / 1.137 GB, free: 172 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009557/0.9924, allocations: 7.102 MB / 1.144 GB, free: 14.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003093/0.9956, allocations: 1.575 MB / 1.146 GB, free: 14.17 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005555/1.001, allocations: 2.058 MB / 1.148 GB, free: 13.39 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005247/1.006, allocations: 2.029 MB / 1.15 GB, free: 12.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001663/1.008, allocations: 160.4 kB / 1.15 GB, free: 12.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009125/1.017, allocations: 2.387 MB / 1.152 GB, free: 11.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.004913/1.022, allocations: 2.985 MB / 1.155 GB, free: 10.95 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002823/1.025, allocations: 0.785 MB / 1.156 GB, free: 10.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01235/1.037, allocations: 6.154 MB / 1.162 GB, free: 7.012 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/1.037, allocations: 0 / 1.162 GB, free: 7.012 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/1.037, allocations: 0 / 1.162 GB, free: 7.012 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003794/1.038, allocations: 0 / 1.162 GB, free: 7.012 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: 634 * Number of variables: 634 Notification: Performance of Generate backend data structure: time 0.01348/1.051, allocations: 4.63 MB / 1.167 GB, free: 3.781 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.051, allocations: 10.88 kB / 1.167 GB, free: 3.781 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03014/1.082, allocations: 4.379 MB / 1.171 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03744/1.119, allocations: 11.53 MB / 1.182 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/1.119, allocations: 212.8 kB / 1.182 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001336/1.121, allocations: 284 kB / 1.183 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/1.134, allocations: 4.292 MB / 1.187 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.069e-05/1.134, allocations: 7.938 kB / 1.187 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006125/1.134, allocations: 104 kB / 1.187 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.276e-05/1.134, allocations: 63.95 kB / 1.187 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/1.145, allocations: 3.881 MB / 1.191 GB, free: 1.398 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.03327/1.178, allocations: 22.44 MB / 1.213 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007945/1.186, allocations: 2.973 MB / 1.216 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006245/1.192, allocations: 2.224 MB / 1.218 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000483/1.193, allocations: 421.6 kB / 1.218 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006679/1.199, allocations: 2.414 MB / 1.22 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=175): time 3.727e-06/1.199, allocations: 0 / 1.22 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=175): time 0.04409/1.244, allocations: 11.85 MB / 1.232 GB, free: 5.723 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003206/1.244, allocations: 473.1 kB / 1.232 GB, free: 5.172 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02072/1.265, allocations: 13.11 MB / 1.245 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001158/1.266, allocations: 77.7 kB / 1.245 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.00269/1.269, allocations: 1.654 MB / 1.247 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001363/1.27, allocations: 0.5892 MB / 1.248 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/1.271, allocations: 64 kB / 1.248 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004618/1.272, allocations: 428.2 kB / 1.248 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01739/1.289, allocations: 8.99 MB / 1.257 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01823/1.307, allocations: 9.917 MB / 1.266 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01748/1.325, allocations: 9.042 MB / 1.275 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.386e-05/1.325, allocations: 8 kB / 1.275 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of matching and sorting (n=384) (initialization): time 0.04439/1.369, allocations: 20.94 MB / 1.296 GB, free: 3.859 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008972/1.37, allocations: 0.9501 MB / 1.297 GB, free: 2.555 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04095/1.411, allocations: 11.49 MB / 1.308 GB, free: 7.043 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09323/1.504, allocations: 10.92 MB / 1.319 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006391/1.511, allocations: 0.8893 MB / 1.319 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/1.525, allocations: 7.94 MB / 1.327 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008691/1.534, allocations: 0.7383 MB / 1.328 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/1.535, allocations: 199.9 kB / 1.328 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/1.535, allocations: 9.875 kB / 1.328 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04313/1.578, allocations: 19.96 MB / 1.348 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02713/1.605, allocations: 10.48 MB / 1.358 GB, free: 3.398 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00399/1.609, allocations: 1.212 MB / 1.359 GB, free: 2.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007121/1.616, allocations: 0.979 MB / 1.36 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/1.634, allocations: 11.74 MB / 1.371 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00836/1.642, allocations: 0.6696 MB / 1.372 GB, free: 4.242 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001416/1.644, allocations: 199.9 kB / 1.372 GB, free: 4.047 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (301): * Single equations (assignments): 296 * 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 {1 2,12 49} Notification: Performance of prepare postOptimizeDAE: time 0.005019/1.649, allocations: 1.996 MB / 1.374 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001462/1.65, allocations: 355.4 kB / 1.375 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02292/1.673, allocations: 6.88 MB / 1.381 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/1.673, allocations: 16 kB / 1.381 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/1.673, allocations: 4 kB / 1.381 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/1.673, allocations: 7.969 kB / 1.381 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0307/1.704, allocations: 11.69 MB / 1.393 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03887/1.743, allocations: 6.777 MB / 1.399 GB, free: 8.004 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002782/1.746, allocations: 331.6 kB / 1.4 GB, free: 7.68 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1116/1.857, allocations: 15.7 MB / 1.415 GB, free: 7.957 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005914/1.858, allocations: 71.94 kB / 1.415 GB, free: 7.887 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.013/1.871, allocations: 7.979 MB / 1.423 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.871, allocations: 4.031 kB / 1.423 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03999/1.911, allocations: 7.614 MB / 1.43 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003127/1.914, allocations: 1.003 MB / 1.431 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001494/1.916, allocations: 40 kB / 1.431 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004646/1.92, allocations: 332 kB / 1.432 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004668/1.921, allocations: 125.7 kB / 1.432 GB, free: 6.273 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003419/1.921, allocations: 83.94 kB / 1.432 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.3989/2.32, allocations: 8.31 MB / 1.44 GB, free: 355.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.72e-07/2.32, allocations: 2.344 kB / 1.44 GB, free: 355.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01224/2.332, allocations: 2.412 MB / 1.442 GB, free: 355.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (99): * Single equations (assignments): 92 * 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.004591/2.337, allocations: 0.9491 MB / 1.443 GB, free: 355.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.04618/2.383, allocations: 23.35 MB / 1.466 GB, free: 348.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/2.383, allocations: 5.156 kB / 1.466 GB, free: 348.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.008935/2.392, allocations: 3.166 MB / 1.469 GB, free: 347.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00536/2.398, allocations: 0.7297 MB / 1.47 GB, free: 347.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02844/2.426, allocations: 16.62 MB / 1.486 GB, free: 340.5 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]