Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window.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.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window") translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007592/0.0007595, allocations: 92.16 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.001036/0.001036, 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.321/1.321, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.626/1.626, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005484/0.0005486, allocations: 16.03 kB / 0.6737 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2611, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Window): time 0.01387/0.275, allocations: 11.39 MB / 0.7984 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6431/0.9182, allocations: 144.9 MB / 0.9399 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00318/0.9214, allocations: 57.91 kB / 0.94 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005805/0.9273, allocations: 2.017 MB / 0.9419 GB, free: 1.902 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.005296/0.9326, allocations: 1.408 MB / 0.9433 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007278/0.9399, allocations: 1.693 MB / 0.945 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01016/0.95, allocations: 7.123 MB / 0.9519 GB, free: 456 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003364/0.9535, allocations: 1.661 MB / 0.9536 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005189/0.9587, allocations: 2.063 MB / 0.9556 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004941/0.9636, allocations: 2.039 MB / 0.9576 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001275/0.9649, allocations: 155.9 kB / 0.9577 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006085/0.971, allocations: 2.093 MB / 0.9597 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00409/0.9751, allocations: 2.989 MB / 0.9627 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002761/0.9779, allocations: 0.7896 MB / 0.9634 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.988, allocations: 6.12 MB / 0.9694 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.988, allocations: 0 / 0.9694 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.865e-06/0.988, allocations: 0 / 0.9694 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003258/0.9884, allocations: 4 kB / 0.9694 GB, free: 11.68 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.01549/1.004, allocations: 4.652 MB / 0.974 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.004, allocations: 6.156 kB / 0.974 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02558/1.03, allocations: 4.423 MB / 0.9783 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03408/1.064, allocations: 11.57 MB / 0.9896 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/1.064, allocations: 220.4 kB / 0.9898 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001243/1.065, allocations: 292.1 kB / 0.9901 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/1.078, allocations: 4.334 MB / 0.9943 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.931e-05/1.078, allocations: 2.844 kB / 0.9943 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007002/1.078, allocations: 104.7 kB / 0.9944 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.253e-05/1.078, allocations: 64.53 kB / 0.9945 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/1.088, allocations: 3.94 MB / 0.9983 GB, free: 2.121 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.03097/1.119, allocations: 19.43 MB / 1.017 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009407/1.129, allocations: 3.652 MB / 1.021 GB, free: 1.074 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006331/1.135, allocations: 2.63 MB / 1.023 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006064/1.136, allocations: 441 kB / 1.024 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007025/1.143, allocations: 2.848 MB / 1.027 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=201): time 6.372e-06/1.143, allocations: 4.094 kB / 1.027 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of matching and sorting (n=201): time 0.04462/1.188, allocations: 13.37 MB / 1.04 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003058/1.188, allocations: 379.9 kB / 1.04 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01935/1.207, allocations: 12.82 MB / 1.053 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001112/1.209, allocations: 80.95 kB / 1.053 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00245/1.211, allocations: 1.622 MB / 1.054 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001237/1.212, allocations: 0.6723 MB / 1.055 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008843/1.213, allocations: 65.5 kB / 1.055 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0003727/1.214, allocations: 435.8 kB / 1.055 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01583/1.229, allocations: 9.408 MB / 1.065 GB, free: 15.04 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01625/1.246, allocations: 9.887 MB / 1.074 GB, free: 5.836 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01633/1.262, allocations: 9.447 MB / 1.083 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.427e-05/1.262, allocations: 0 / 1.083 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=390) (initialization): time 0.04292/1.305, allocations: 21.77 MB / 1.105 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004884/1.306, allocations: 480.9 kB / 1.105 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04354/1.349, allocations: 13.67 MB / 1.118 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08047/1.43, allocations: 10.88 MB / 1.129 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005478/1.435, allocations: 0.8807 MB / 1.13 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/1.447, allocations: 7.895 MB / 1.138 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006467/1.453, allocations: 0.6642 MB / 1.138 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/1.454, allocations: 194.9 kB / 1.139 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/1.454, allocations: 11.94 kB / 1.139 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0373/1.492, allocations: 20.67 MB / 1.159 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0279/1.52, allocations: 12.45 MB / 1.171 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003579/1.523, allocations: 1.181 MB / 1.172 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006587/1.53, allocations: 0.9702 MB / 1.173 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/1.546, allocations: 11.69 MB / 1.184 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007612/1.553, allocations: 0.6085 MB / 1.185 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001954/1.555, allocations: 190.9 kB / 1.185 GB, free: 2.941 MB / 0.9044 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.005841/1.561, allocations: 1.994 MB / 1.187 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/1.563, allocations: 351.5 kB / 1.187 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0254/1.588, allocations: 7.96 MB / 1.195 GB, free: 8.605 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.711e-05/1.588, allocations: 24 kB / 1.195 GB, free: 8.582 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.588, allocations: 0 / 1.195 GB, free: 8.582 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-05/1.588, allocations: 11.95 kB / 1.195 GB, free: 8.57 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0327/1.621, allocations: 12.72 MB / 1.208 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03662/1.658, allocations: 7.766 MB / 1.215 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00274/1.661, allocations: 415.5 kB / 1.216 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09473/1.755, allocations: 15.69 MB / 1.231 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001064/1.756, allocations: 83.94 kB / 1.231 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/1.768, allocations: 7.924 MB / 1.239 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/1.768, allocations: 0 / 1.239 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03786/1.806, allocations: 8.28 MB / 1.247 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003588/1.81, allocations: 1.046 MB / 1.248 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002068/1.812, allocations: 47.98 kB / 1.248 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005291/1.817, allocations: 346.2 kB / 1.248 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009143/1.818, allocations: 148.4 kB / 1.248 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008368/1.819, allocations: 107.9 kB / 1.249 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.01136/1.831, allocations: 8.112 MB / 1.256 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.185e-06/1.831, allocations: 0 / 1.256 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01125/1.842, allocations: 2.531 MB / 1.259 GB, free: 6.84 MB / 0.9825 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.003786/1.846, allocations: 0.977 MB / 1.26 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.4238/2.27, allocations: 25.71 MB / 1.285 GB, free: 391.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/2.27, allocations: 2.594 kB / 1.285 GB, free: 391.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007683/2.277, allocations: 3.731 MB / 1.289 GB, free: 391.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/2.28, allocations: 0.7127 MB / 1.289 GB, free: 391.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/2.306, allocations: 17.4 MB / 1.306 GB, free: 384.9 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]