Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState.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.Validation.WindowSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState") translateModel(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.725/1.725, allocations: 287.5 MB / 302.6 MB, free: 8.27 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.001446/0.001446, allocations: 191.9 kB / 371.2 MB, free: 10.82 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.458/1.458, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008074/0.0008074, allocations: 102.8 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004496, allocations: 15.39 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2274, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState): time 0.01122/0.2387, allocations: 11.52 MB / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6709/0.9096, allocations: 144.9 MB / 1.131 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002943/0.9126, allocations: 61.5 kB / 1.132 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005935/0.9186, allocations: 2.01 MB / 1.133 GB, free: 352 kB / 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.004725/0.9233, allocations: 1.393 MB / 1.135 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005566/0.9289, allocations: 1.696 MB / 1.136 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008525/0.9374, allocations: 7.279 MB / 1.144 GB, free: 14.86 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003472/0.9409, allocations: 1.976 MB / 1.146 GB, free: 14.38 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00511/0.9461, allocations: 2.064 MB / 1.148 GB, free: 13.74 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004921/0.951, allocations: 2.031 MB / 1.15 GB, free: 12.83 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001904/0.953, allocations: 157 kB / 1.15 GB, free: 12.83 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008685/0.9617, allocations: 2.384 MB / 1.152 GB, free: 12.11 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.004788/0.9665, allocations: 2.988 MB / 1.155 GB, free: 11.3 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002836/0.9694, allocations: 0.7767 MB / 1.156 GB, free: 11.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.9818, allocations: 6.149 MB / 1.162 GB, free: 7.422 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.9818, allocations: 0 / 1.162 GB, free: 7.422 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.895e-06/0.9818, allocations: 0 / 1.162 GB, free: 7.422 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003511/0.9822, allocations: 4 kB / 1.162 GB, free: 7.418 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.01311/0.9953, allocations: 4.587 MB / 1.166 GB, free: 4.184 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.9954, allocations: 10.81 kB / 1.166 GB, free: 4.184 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02842/1.024, allocations: 4.383 MB / 1.17 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03923/1.063, allocations: 11.66 MB / 1.182 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/1.063, allocations: 212.8 kB / 1.182 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001574/1.065, allocations: 284 kB / 1.182 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0133/1.078, allocations: 4.46 MB / 1.187 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.283e-05/1.078, allocations: 15.92 kB / 1.187 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006757/1.079, allocations: 100 kB / 1.187 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.289e-05/1.079, allocations: 60 kB / 1.187 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/1.091, allocations: 4.048 MB / 1.191 GB, free: 1.387 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.04466/1.135, allocations: 22.45 MB / 1.213 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008875/1.144, allocations: 3.195 MB / 1.216 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006861/1.151, allocations: 2.438 MB / 1.218 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006815/1.152, allocations: 433.6 kB / 1.219 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007517/1.159, allocations: 2.586 MB / 1.221 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=175): time 7.765e-06/1.159, allocations: 0 / 1.221 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of matching and sorting (n=175): time 0.04628/1.206, allocations: 12.23 MB / 1.233 GB, free: 4.691 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003683/1.206, allocations: 477 kB / 1.234 GB, free: 4.137 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02125/1.227, allocations: 13.13 MB / 1.246 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001056/1.229, allocations: 77.7 kB / 1.246 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002874/1.231, allocations: 1.643 MB / 1.248 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/1.233, allocations: 0.5931 MB / 1.249 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/1.234, allocations: 56 kB / 1.249 GB, free: 4.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004468/1.234, allocations: 432.2 kB / 1.249 GB, free: 4.16 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01687/1.251, allocations: 9.158 MB / 1.258 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0181/1.269, allocations: 10.08 MB / 1.268 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0239/1.293, allocations: 11.99 MB / 1.28 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.765e-05/1.293, allocations: 8 kB / 1.28 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of matching and sorting (n=384) (initialization): time 0.04703/1.34, allocations: 21.28 MB / 1.3 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009563/1.341, allocations: 0.9537 MB / 1.301 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04296/1.384, allocations: 11.84 MB / 1.313 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0883/1.473, allocations: 10.92 MB / 1.324 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006284/1.479, allocations: 0.8853 MB / 1.324 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01368/1.493, allocations: 7.961 MB / 1.332 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00883/1.502, allocations: 0.7383 MB / 1.333 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001321/1.503, allocations: 199.9 kB / 1.333 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.503, allocations: 5.406 kB / 1.333 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03968/1.543, allocations: 20.32 MB / 1.353 GB, free: 8.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02669/1.569, allocations: 10.84 MB / 1.364 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00405/1.574, allocations: 1.2 MB / 1.365 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00716/1.581, allocations: 0.979 MB / 1.366 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/1.598, allocations: 11.74 MB / 1.377 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008311/1.606, allocations: 0.6663 MB / 1.378 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/1.608, allocations: 195.9 kB / 1.378 GB, free: 13.98 MB / 0.9167 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.005235/1.613, allocations: 1.991 MB / 1.38 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001654/1.615, allocations: 371.2 kB / 1.38 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02295/1.637, allocations: 7.216 MB / 1.387 GB, free: 4.352 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.361e-05/1.638, allocations: 24.03 kB / 1.387 GB, free: 4.328 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.638, allocations: 0 / 1.387 GB, free: 4.328 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.58e-05/1.638, allocations: 12.19 kB / 1.387 GB, free: 4.316 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03287/1.671, allocations: 12.03 MB / 1.399 GB, free: 8.039 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03971/1.71, allocations: 7.14 MB / 1.406 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003233/1.714, allocations: 335.5 kB / 1.406 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1072/1.821, allocations: 15.71 MB / 1.422 GB, free: 0.8086 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007588/1.822, allocations: 71.94 kB / 1.422 GB, free: 0.7383 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/1.834, allocations: 7.987 MB / 1.43 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.834, allocations: 4.156 kB / 1.43 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0415/1.876, allocations: 7.981 MB / 1.437 GB, free: 276 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4902/2.366, allocations: 0.9941 MB / 1.438 GB, free: 355.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/2.368, allocations: 35.23 kB / 1.438 GB, free: 355.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004761/2.372, allocations: 331.5 kB / 1.439 GB, free: 355.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003822/2.373, allocations: 118.5 kB / 1.439 GB, free: 355.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002713/2.373, allocations: 83.92 kB / 1.439 GB, free: 355.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01762/2.391, allocations: 8.317 MB / 1.447 GB, free: 354.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.423e-06/2.391, allocations: 0 / 1.447 GB, free: 354.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01718/2.408, allocations: 2.408 MB / 1.449 GB, free: 354.7 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.005031/2.413, allocations: 0.9644 MB / 1.45 GB, free: 354.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0659/2.479, allocations: 23.87 MB / 1.474 GB, free: 347.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/2.479, allocations: 1.188 kB / 1.474 GB, free: 347.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01391/2.493, allocations: 3.338 MB / 1.477 GB, free: 345.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006905/2.5, allocations: 0.7095 MB / 1.478 GB, free: 345.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.034/2.534, allocations: 16.79 MB / 1.494 GB, free: 336.7 MB / 0.9636 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:762:5-762:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]