Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState") translateModel(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.176/2.176, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001397/0.001397, allocations: 185.1 kB / 325.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.426/2.426, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009522/0.0009515, allocations: 90.73 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004528/0.0004529, allocations: 14.84 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2493, allocations: 106.3 MB / 0.899 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState): time 0.01631/0.2657, allocations: 11.53 MB / 0.9103 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2408/0.5065, allocations: 144.9 MB / 1.052 GB, free: 4.539 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003176/0.5098, allocations: 63.62 kB / 1.052 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.008527/0.5183, allocations: 2.011 MB / 1.054 GB, free: 2.457 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.006389/0.5248, allocations: 1.388 MB / 1.055 GB, free: 1.066 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.6421/1.167, allocations: 1.675 MB / 1.057 GB, free: 4.453 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01188/1.179, allocations: 7.162 MB / 1.064 GB, free: 4.445 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004897/1.184, allocations: 1.855 MB / 1.066 GB, free: 4.133 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006729/1.191, allocations: 2.061 MB / 1.068 GB, free: 4.129 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00654/1.197, allocations: 2.03 MB / 1.07 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002069/1.199, allocations: 155.9 kB / 1.07 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009062/1.208, allocations: 2.38 MB / 1.072 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.005637/1.214, allocations: 2.991 MB / 1.075 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002809/1.217, allocations: 0.7789 MB / 1.076 GB, free: 4.09 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01272/1.23, allocations: 6.157 MB / 1.082 GB, free: 3.719 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/1.23, allocations: 6.375 kB / 1.082 GB, free: 3.715 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.196e-06/1.23, allocations: 0 / 1.082 GB, free: 3.715 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003186/1.23, allocations: 0 / 1.082 GB, free: 3.715 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.01659/1.247, allocations: 4.625 MB / 1.086 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.247, allocations: 12.09 kB / 1.086 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05513/1.302, allocations: 4.377 MB / 1.091 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06603/1.368, allocations: 11.54 MB / 1.102 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002693/1.368, allocations: 216.5 kB / 1.102 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001607/1.37, allocations: 283.5 kB / 1.102 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01893/1.389, allocations: 4.456 MB / 1.107 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.419e-05/1.389, allocations: 3.5 kB / 1.107 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005874/1.39, allocations: 105.2 kB / 1.107 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-05/1.39, allocations: 60.03 kB / 1.107 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01884/1.409, allocations: 4.046 MB / 1.111 GB, free: 14.07 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.05115/1.46, allocations: 22.45 MB / 1.133 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01454/1.474, allocations: 3.197 MB / 1.136 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0124/1.487, allocations: 2.449 MB / 1.138 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007712/1.488, allocations: 427.6 kB / 1.139 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01306/1.501, allocations: 2.584 MB / 1.141 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=175): time 5.731e-06/1.501, allocations: 6.906 kB / 1.141 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=175): time 0.08761/1.588, allocations: 12.34 MB / 1.153 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003961/1.589, allocations: 480.4 kB / 1.154 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02627/1.615, allocations: 13.11 MB / 1.167 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001164/1.616, allocations: 77.58 kB / 1.167 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002977/1.619, allocations: 1.653 MB / 1.168 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001431/1.621, allocations: 0.5948 MB / 1.169 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/1.622, allocations: 58.19 kB / 1.169 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004451/1.622, allocations: 430 kB / 1.169 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0292/1.652, allocations: 9.155 MB / 1.178 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03604/1.688, allocations: 10.09 MB / 1.188 GB, free: 8.539 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03855/1.726, allocations: 9.199 MB / 1.197 GB, free: 1.816 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.354e-05/1.726, allocations: 8 kB / 1.197 GB, free: 1.809 MB / 0.7605 GB Notification: Performance of matching and sorting (n=384) (initialization): time 0.08101/1.807, allocations: 21.28 MB / 1.218 GB, free: 2.121 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0012/1.809, allocations: 0.9668 MB / 1.219 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08191/1.891, allocations: 11.83 MB / 1.23 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.191/2.082, allocations: 10.92 MB / 1.241 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01162/2.093, allocations: 0.8848 MB / 1.242 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02144/2.115, allocations: 7.946 MB / 1.25 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01397/2.129, allocations: 0.7441 MB / 1.25 GB, free: 5.301 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001643/2.131, allocations: 198.1 kB / 1.251 GB, free: 5.133 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/2.131, allocations: 5.562 kB / 1.251 GB, free: 5.129 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06879/2.199, allocations: 20.32 MB / 1.27 GB, free: 2.996 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04839/2.248, allocations: 10.84 MB / 1.281 GB, free: 8.172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007065/2.255, allocations: 1.191 MB / 1.282 GB, free: 6.973 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01352/2.269, allocations: 0.992 MB / 1.283 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02596/2.295, allocations: 11.74 MB / 1.295 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01336/2.308, allocations: 0.6698 MB / 1.295 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001627/2.31, allocations: 203.6 kB / 1.295 GB, free: 8.949 MB / 0.8542 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.006145/2.316, allocations: 1.988 MB / 1.297 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001581/2.317, allocations: 367.2 kB / 1.298 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04322/2.361, allocations: 7.221 MB / 1.305 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.603e-05/2.361, allocations: 20 kB / 1.305 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/2.361, allocations: 0 / 1.305 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.828e-05/2.361, allocations: 7.969 kB / 1.305 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05687/2.418, allocations: 12.03 MB / 1.317 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.07968/2.497, allocations: 7.139 MB / 1.323 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005022/2.503, allocations: 332.4 kB / 1.324 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2463/2.749, allocations: 15.7 MB / 1.339 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006962/2.75, allocations: 71.94 kB / 1.339 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02131/2.771, allocations: 7.994 MB / 1.347 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/2.771, allocations: 0 / 1.347 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08254/2.853, allocations: 7.985 MB / 1.355 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003723/2.857, allocations: 1.007 MB / 1.356 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001517/2.859, allocations: 36 kB / 1.356 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008528/2.867, allocations: 331.5 kB / 1.356 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006663/2.868, allocations: 124.7 kB / 1.356 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004682/2.869, allocations: 83.94 kB / 1.356 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01493/2.884, allocations: 8.314 MB / 1.364 GB, free: 1.73 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.264e-06/2.884, allocations: 0 / 1.364 GB, free: 1.73 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01448/2.898, allocations: 2.422 MB / 1.367 GB, free: 15.32 MB / 0.9323 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.004987/2.903, allocations: 0.9494 MB / 1.368 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.115/3.018, allocations: 23.87 MB / 1.391 GB, free: 6.832 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/3.018, allocations: 0 / 1.391 GB, free: 6.832 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.02244/3.041, allocations: 3.341 MB / 1.394 GB, free: 3.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007707/3.048, allocations: 0.7277 MB / 1.395 GB, free: 2.754 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04669/3.095, allocations: 16.79 MB / 1.411 GB, free: 1.93 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]