Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState.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.Validation.WindowSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState") translateModel(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007394/0.0007393, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.0007683/0.0007683, allocations: 172.7 kB / 15.95 MB, free: 208 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.325/1.325, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.659/1.659, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005068/0.0005068, allocations: 15.28 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2053, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState): time 0.01151/0.2169, allocations: 11.54 MB / 0.7985 GB, free: 396 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6035/0.8204, allocations: 144.9 MB / 0.9401 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/0.8227, allocations: 58.67 kB / 0.9401 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005819/0.8285, allocations: 2.017 MB / 0.9421 GB, free: 1.914 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.004369/0.8329, allocations: 1.393 MB / 0.9435 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005289/0.8382, allocations: 1.683 MB / 0.9451 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009036/0.8472, allocations: 7.102 MB / 0.952 GB, free: 492 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002712/0.85, allocations: 1.581 MB / 0.9536 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004676/0.8546, allocations: 2.057 MB / 0.9556 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003707/0.8584, allocations: 2.03 MB / 0.9576 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005355/0.8589, allocations: 160.4 kB / 0.9577 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005067/0.864, allocations: 2.381 MB / 0.96 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002561/0.8666, allocations: 2.996 MB / 0.963 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.8678, allocations: 0.7726 MB / 0.9637 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006843/0.8746, allocations: 6.167 MB / 0.9698 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8746, allocations: 0 / 0.9698 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8747, allocations: 3.938 kB / 0.9698 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001047/0.8748, allocations: 0 / 0.9698 GB, free: 11.66 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: 634 * Number of variables: 634 Notification: Performance of Generate backend data structure: time 0.008445/0.8832, allocations: 4.629 MB / 0.9743 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.8833, allocations: 13.19 kB / 0.9743 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02383/0.9071, allocations: 4.377 MB / 0.9786 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03067/0.9378, allocations: 11.54 MB / 0.9898 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.938, allocations: 217.8 kB / 0.99 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009558/0.939, allocations: 282 kB / 0.9903 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009048/0.948, allocations: 4.289 MB / 0.9945 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/0.9481, allocations: 6.594 kB / 0.9945 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002706/0.9484, allocations: 105.5 kB / 0.9946 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.9484, allocations: 59.75 kB / 0.9947 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008199/0.9567, allocations: 3.882 MB / 0.9984 GB, free: 2.09 MB / 0.7325 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.03061/0.9873, allocations: 22.45 MB / 1.02 GB, free: 1.109 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00683/0.9942, allocations: 2.971 MB / 1.023 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005301/0.9995, allocations: 2.216 MB / 1.025 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004788/1, allocations: 425.7 kB / 1.026 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005917/1.006, allocations: 2.421 MB / 1.028 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=175): time 3.476e-06/1.006, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of matching and sorting (n=175): time 0.03836/1.044, allocations: 11.83 MB / 1.04 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003221/1.045, allocations: 482 kB / 1.04 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01699/1.062, allocations: 13.11 MB / 1.053 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0007934/1.062, allocations: 81.64 kB / 1.053 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001664/1.064, allocations: 1.656 MB / 1.055 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007906/1.065, allocations: 0.5872 MB / 1.055 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/1.065, allocations: 61.25 kB / 1.055 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002247/1.066, allocations: 434.5 kB / 1.056 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01476/1.08, allocations: 8.981 MB / 1.065 GB, free: 15.07 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01604/1.096, allocations: 9.919 MB / 1.074 GB, free: 5.391 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01506/1.112, allocations: 9.04 MB / 1.083 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.799e-05/1.112, allocations: 8 kB / 1.083 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=384) (initialization): time 0.03776/1.149, allocations: 20.94 MB / 1.104 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007222/1.15, allocations: 0.954 MB / 1.104 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03565/1.186, allocations: 11.48 MB / 1.116 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07937/1.265, allocations: 10.93 MB / 1.126 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005243/1.27, allocations: 0.8802 MB / 1.127 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/1.282, allocations: 7.953 MB / 1.135 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00678/1.288, allocations: 0.7385 MB / 1.136 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006232/1.289, allocations: 198.4 kB / 1.136 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.208e-06/1.289, allocations: 4 kB / 1.136 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03246/1.322, allocations: 19.98 MB / 1.155 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02176/1.343, allocations: 10.48 MB / 1.166 GB, free: 7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003326/1.347, allocations: 1.211 MB / 1.167 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005785/1.353, allocations: 0.9816 MB / 1.168 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/1.366, allocations: 11.74 MB / 1.179 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00642/1.373, allocations: 0.6603 MB / 1.18 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006259/1.374, allocations: 198.5 kB / 1.18 GB, free: 7.688 MB / 0.9044 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.002941/1.376, allocations: 1.998 MB / 1.182 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007442/1.377, allocations: 359.3 kB / 1.182 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01848/1.396, allocations: 6.88 MB / 1.189 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/1.396, allocations: 20 kB / 1.189 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.396, allocations: 0 / 1.189 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/1.396, allocations: 7.969 kB / 1.189 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02538/1.421, allocations: 11.67 MB / 1.2 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03277/1.454, allocations: 6.782 MB / 1.207 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/1.456, allocations: 333.4 kB / 1.207 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09459/1.551, allocations: 15.69 MB / 1.223 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006236/1.552, allocations: 71.94 kB / 1.223 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/1.563, allocations: 7.984 MB / 1.231 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.563, allocations: 0 / 1.231 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03601/1.599, allocations: 7.612 MB / 1.238 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002971/1.602, allocations: 1.011 MB / 1.239 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009427/1.603, allocations: 43.98 kB / 1.239 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003784/1.607, allocations: 331.5 kB / 1.239 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003089/1.607, allocations: 119.5 kB / 1.24 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/1.607, allocations: 87.88 kB / 1.24 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.01048/1.618, allocations: 8.322 MB / 1.248 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6.91e-07/1.618, allocations: 0 / 1.248 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.01041/1.628, allocations: 2.413 MB / 1.25 GB, free: 15.31 MB / 0.9825 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.002782/1.631, allocations: 0.9563 MB / 1.251 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.03988/1.671, allocations: 23.35 MB / 1.274 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/1.671, allocations: 7.938 kB / 1.274 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008002/1.679, allocations: 3.173 MB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004224/1.683, allocations: 0.7148 MB / 1.278 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4592/2.142, allocations: 16.61 MB / 1.294 GB, free: 383.8 MB / 0.9981 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]