Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window") translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.287/1.287, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008572/0.0008572, allocations: 173.1 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205 MB / 0.5767 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007114/0.0007114, allocations: 82.36 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002769, allocations: 14.16 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.15, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Window): time 0.009409/0.1594, allocations: 12.43 MB / 0.9089 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.4761/0.6356, allocations: 161 MB / 1.066 GB, free: 1.637 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/0.6377, allocations: 58.97 kB / 1.066 GB, free: 1.637 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005002/0.6427, allocations: 2.229 MB / 1.068 GB, free: 1.578 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.003736/0.6464, allocations: 1.503 MB / 1.07 GB, free: 1.539 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004595/0.651, allocations: 2.074 MB / 1.072 GB, free: 1.48 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008059/0.6591, allocations: 7.877 MB / 1.079 GB, free: 1.461 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002555/0.6617, allocations: 2.07 MB / 1.082 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003265/0.665, allocations: 2.006 MB / 1.083 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.6672, allocations: 2.082 MB / 1.086 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004034/0.6676, allocations: 163.6 kB / 1.086 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/0.6714, allocations: 2.24 MB / 1.088 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001823/0.6732, allocations: 2.923 MB / 1.091 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001761/0.675, allocations: 1.939 MB / 1.093 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006544/0.6815, allocations: 7.525 MB / 1.1 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6815, allocations: 0 / 1.1 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6815, allocations: 0 / 1.1 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.04e-05/0.6816, allocations: 0 / 1.1 GB, free: 15.41 MB / 0.7136 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.006949/0.6886, allocations: 4.608 MB / 1.104 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6886, allocations: 9.438 kB / 1.104 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02681/0.7154, allocations: 4.416 MB / 1.109 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03282/0.7483, allocations: 11.69 MB / 1.12 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.7485, allocations: 220.8 kB / 1.12 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007124/0.7492, allocations: 287.9 kB / 1.121 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009367/0.7586, allocations: 4.527 MB / 1.125 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/0.7586, allocations: 2.906 kB / 1.125 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002722/0.7589, allocations: 103.4 kB / 1.125 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-05/0.759, allocations: 61.16 kB / 1.125 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008662/0.7676, allocations: 4.131 MB / 1.129 GB, free: 7.859 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.02312/0.7908, allocations: 19.44 MB / 1.148 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008737/0.7995, allocations: 3.881 MB / 1.152 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006696/0.8062, allocations: 2.861 MB / 1.155 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004625/0.8067, allocations: 441.8 kB / 1.155 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007263/0.814, allocations: 3.029 MB / 1.158 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=201): time 3.747e-06/0.814, allocations: 0 / 1.158 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=201): time 0.04538/0.8594, allocations: 13.78 MB / 1.172 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002093/0.8596, allocations: 373.2 kB / 1.172 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01503/0.8747, allocations: 12.83 MB / 1.185 GB, free: 2.41 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0007799/0.8755, allocations: 81.7 kB / 1.185 GB, free: 2.324 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.8769, allocations: 1.628 MB / 1.186 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007357/0.8777, allocations: 0.6792 MB / 1.187 GB, free: 24 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001876/0.8796, allocations: 2.413 MB / 1.189 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.8797, allocations: 302.2 kB / 1.19 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02625/0.9059, allocations: 22.7 MB / 1.212 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02833/0.9343, allocations: 23.43 MB / 1.235 GB, free: 15.08 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03572/0.97, allocations: 27.27 MB / 1.261 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-05/0.9701, allocations: 7.938 kB / 1.261 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1083) (initialization): time 0.06841/1.039, allocations: 51.16 MB / 1.311 GB, free: 0.6094 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003265/1.039, allocations: 399.7 kB / 1.312 GB, free: 152 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05002/1.089, allocations: 36.89 MB / 1.348 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08694/1.176, allocations: 10.94 MB / 1.358 GB, free: 288 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005483/1.181, allocations: 0.8052 MB / 1.359 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/1.193, allocations: 7.897 MB / 1.367 GB, free: 7.199 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006966/1.2, allocations: 0.6546 MB / 1.367 GB, free: 6.547 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007254/1.201, allocations: 190.5 kB / 1.368 GB, free: 6.363 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/1.201, allocations: 4.109 kB / 1.368 GB, free: 6.359 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.419/1.62, allocations: 49.89 MB / 1.416 GB, free: 281.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04387/1.664, allocations: 36.56 MB / 1.452 GB, free: 279.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003343/1.667, allocations: 1.18 MB / 1.453 GB, free: 279.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005905/1.673, allocations: 0.901 MB / 1.454 GB, free: 279.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/1.685, allocations: 11.7 MB / 1.465 GB, free: 272 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006663/1.692, allocations: 0.6103 MB / 1.466 GB, free: 272 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006058/1.692, allocations: 186.7 kB / 1.466 GB, free: 272 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (307): * Single equations (assignments): 266 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(12,49), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002468/1.695, allocations: 1.984 MB / 1.468 GB, free: 271.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006935/1.695, allocations: 346 kB / 1.469 GB, free: 271.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02099/1.716, allocations: 8.315 MB / 1.477 GB, free: 265.2 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.652e-05/1.717, allocations: 13.8 kB / 1.477 GB, free: 265.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01483/1.731, allocations: 6.329 MB / 1.483 GB, free: 259.9 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/1.733, allocations: 0.9716 MB / 1.484 GB, free: 259.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006875/1.734, allocations: 45.91 kB / 1.484 GB, free: 259.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003908/1.738, allocations: 351.6 kB / 1.484 GB, free: 259 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003008/1.738, allocations: 133.8 kB / 1.484 GB, free: 258.9 MB / 0.9792 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02535/1.764, allocations: 8.294 MB / 1.492 GB, free: 251.3 MB / 0.9792 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01908/1.783, allocations: 9.154 MB / 1.501 GB, free: 242.1 MB / 0.9792 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005848/1.789, allocations: 3.143 MB / 1.504 GB, free: 239 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.005445/1.794, allocations: 8.128 MB / 1.512 GB, free: 230.9 MB / 0.9792 GB Notification: Performance of Backend: time 1.623e-06/1.794, allocations: 0 / 1.512 GB, free: 230.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.05241/1.846, allocations: 58.56 MB / 1.57 GB, free: 172.7 MB / 0.9792 GB Notification: Performance of SimCode: time 0.01664/1.863, allocations: 16.73 MB / 1.586 GB, free: 155.9 MB / 0.9792 GB Notification: Performance of Templates: time 0.1739/2.037, allocations: 151.5 MB / 1.734 GB, free: 4.348 MB / 0.9792 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.pipe 2>&1)