Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.Window.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.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.Window") translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.Window") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.723/2.723, allocations: 287.5 MB / 302.4 MB, free: 8.293 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.001321/0.001321, allocations: 178.4 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009507/0.0009503, allocations: 106.7 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004804, allocations: 11.97 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Window): time 0.01553/0.2262, allocations: 11.36 MB / 0.9894 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8688/1.095, allocations: 144.9 MB / 1.131 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003437/1.099, allocations: 60.62 kB / 1.131 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.008341/1.107, allocations: 2.022 MB / 1.133 GB, free: 292 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.006517/1.113, allocations: 1.397 MB / 1.134 GB, free: 15.9 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007778/1.121, allocations: 1.698 MB / 1.136 GB, free: 15.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01126/1.133, allocations: 7.127 MB / 1.143 GB, free: 14.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004059/1.137, allocations: 1.657 MB / 1.145 GB, free: 14.49 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00606/1.143, allocations: 2.061 MB / 1.147 GB, free: 13.82 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00581/1.149, allocations: 2.038 MB / 1.149 GB, free: 12.96 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001793/1.15, allocations: 158.9 kB / 1.149 GB, free: 12.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00839/1.159, allocations: 2.09 MB / 1.151 GB, free: 12.38 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.005464/1.164, allocations: 2.992 MB / 1.154 GB, free: 11.56 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002469/1.167, allocations: 0.7886 MB / 1.154 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01256/1.18, allocations: 6.115 MB / 1.16 GB, free: 7.895 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/1.18, allocations: 0 / 1.16 GB, free: 7.895 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.647e-06/1.18, allocations: 0 / 1.16 GB, free: 7.895 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002797/1.18, allocations: 0 / 1.16 GB, free: 7.895 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.01609/1.196, allocations: 4.656 MB / 1.165 GB, free: 4.898 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/1.196, allocations: 12.86 kB / 1.165 GB, free: 4.895 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05496/1.251, allocations: 4.412 MB / 1.169 GB, free: 3.066 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06638/1.317, allocations: 11.57 MB / 1.181 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003414/1.318, allocations: 224.9 kB / 1.181 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001684/1.32, allocations: 296 kB / 1.181 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01937/1.339, allocations: 4.323 MB / 1.185 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.471e-05/1.339, allocations: 7.938 kB / 1.185 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005631/1.34, allocations: 104 kB / 1.185 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-05/1.34, allocations: 60 kB / 1.186 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/1.358, allocations: 3.941 MB / 1.189 GB, free: 2.746 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.04547/1.404, allocations: 19.44 MB / 1.208 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01685/1.421, allocations: 3.651 MB / 1.212 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01299/1.434, allocations: 2.63 MB / 1.214 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008244/1.435, allocations: 438.4 kB / 1.215 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01388/1.449, allocations: 2.85 MB / 1.218 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=201): time 5.731e-06/1.449, allocations: 0 / 1.218 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of matching and sorting (n=201): time 0.09734/1.546, allocations: 13.37 MB / 1.231 GB, free: 7.188 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004193/1.547, allocations: 385.2 kB / 1.231 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02608/1.573, allocations: 12.82 MB / 1.244 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001272/1.574, allocations: 81.69 kB / 1.244 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.003259/1.577, allocations: 1.627 MB / 1.245 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001665/1.579, allocations: 0.6699 MB / 1.246 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009015/1.58, allocations: 64 kB / 1.246 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004915/1.58, allocations: 432.3 kB / 1.246 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03527/1.616, allocations: 9.408 MB / 1.256 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03074/1.647, allocations: 9.882 MB / 1.265 GB, free: 3.613 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02994/1.677, allocations: 9.447 MB / 1.274 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-05/1.677, allocations: 8 kB / 1.274 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=390) (initialization): time 0.07827/1.755, allocations: 21.77 MB / 1.296 GB, free: 4.305 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006047/1.756, allocations: 478.4 kB / 1.296 GB, free: 3.727 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09032/1.846, allocations: 13.68 MB / 1.31 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.184/2.03, allocations: 10.88 MB / 1.32 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01157/2.042, allocations: 0.8777 MB / 1.321 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02089/2.063, allocations: 7.882 MB / 1.329 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0126/2.075, allocations: 0.6617 MB / 1.329 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001355/2.077, allocations: 195.8 kB / 1.33 GB, free: 1.023 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/2.077, allocations: 4 kB / 1.33 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0681/2.145, allocations: 20.67 MB / 1.35 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05241/2.197, allocations: 12.45 MB / 1.362 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006692/2.204, allocations: 1.188 MB / 1.363 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01342/2.217, allocations: 0.9752 MB / 1.364 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02567/2.243, allocations: 11.69 MB / 1.375 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01243/2.256, allocations: 0.6146 MB / 1.376 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00148/2.257, allocations: 187.9 kB / 1.376 GB, free: 0.5547 MB / 0.9011 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.005467/2.263, allocations: 2.001 MB / 1.378 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/2.264, allocations: 343.5 kB / 1.379 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0444/2.308, allocations: 7.965 MB / 1.386 GB, free: 6.199 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-05/2.309, allocations: 23.98 kB / 1.386 GB, free: 6.176 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/2.309, allocations: 0 / 1.386 GB, free: 6.176 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-05/2.309, allocations: 7.969 kB / 1.386 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07705/2.386, allocations: 12.72 MB / 1.399 GB, free: 9.215 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1133/2.499, allocations: 7.773 MB / 1.406 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005864/2.505, allocations: 415.5 kB / 1.407 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2247/2.73, allocations: 15.71 MB / 1.422 GB, free: 1.273 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007901/2.73, allocations: 79.94 kB / 1.422 GB, free: 1.195 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02167/2.752, allocations: 7.917 MB / 1.43 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/2.752, allocations: 0 / 1.43 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08282/2.835, allocations: 8.301 MB / 1.438 GB, free: 0.5039 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.65/3.485, allocations: 1.043 MB / 1.439 GB, free: 358.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001853/3.487, allocations: 40.89 kB / 1.439 GB, free: 358.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008942/3.496, allocations: 348.2 kB / 1.439 GB, free: 358.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009461/3.497, allocations: 137.4 kB / 1.439 GB, free: 358.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006995/3.498, allocations: 108.3 kB / 1.44 GB, free: 358.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01611/3.514, allocations: 8.107 MB / 1.448 GB, free: 357.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.62e-07/3.514, allocations: 0 / 1.448 GB, free: 357.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01368/3.528, allocations: 2.545 MB / 1.45 GB, free: 357.4 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.004921/3.533, allocations: 0.9801 MB / 1.451 GB, free: 357.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0767/3.609, allocations: 25.71 MB / 1.476 GB, free: 348.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/3.609, allocations: 0 / 1.476 GB, free: 348.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01612/3.626, allocations: 3.748 MB / 1.48 GB, free: 347.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007089/3.633, allocations: 0.7183 MB / 1.48 GB, free: 347.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04108/3.674, allocations: 17.39 MB / 1.497 GB, free: 335.7 MB / 0.9636 GB [/var/lib/jenkins1/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]