Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") translateModel(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.794/1.794, allocations: 288.4 MB / 303.4 MB, free: 8.082 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.001699/0.001698, allocations: 176.5 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 0.6307 GB, free: 10.04 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.0007878/0.0007879, allocations: 95.27 kB / 0.7441 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003666, allocations: 11.44 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2182, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.006548/0.2248, allocations: 7.049 MB / 0.9865 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6201/0.845, allocations: 140 MB / 1.123 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.8467, allocations: 35.59 kB / 1.123 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.8493, allocations: 0.907 MB / 1.124 GB, free: 1.461 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.002512/0.8518, allocations: 0.7728 MB / 1.125 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00379/0.8556, allocations: 1.126 MB / 1.126 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004867/0.8605, allocations: 4.057 MB / 1.13 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.8622, allocations: 1.422 MB / 1.131 GB, free: 304 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002045/0.8642, allocations: 1.368 MB / 1.133 GB, free: 32 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.8662, allocations: 1.243 MB / 1.134 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002737/0.8665, allocations: 96.03 kB / 1.134 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.8681, allocations: 0.7478 MB / 1.135 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005222/0.8687, allocations: 0.596 MB / 1.135 GB, free: 15.76 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004847/0.8692, allocations: 0.5478 MB / 1.136 GB, free: 15.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003933/0.8731, allocations: 3.999 MB / 1.14 GB, free: 13.65 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.8731, allocations: 1.062 kB / 1.14 GB, free: 13.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8731, allocations: 0 / 1.14 GB, free: 13.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.179e-05/0.8732, allocations: 0 / 1.14 GB, free: 13.65 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: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.008813/0.882, allocations: 3.34 MB / 1.143 GB, free: 11.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.8821, allocations: 8.875 kB / 1.143 GB, free: 11.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008172/0.8903, allocations: 1.539 MB / 1.145 GB, free: 10.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005103/0.8954, allocations: 2.442 MB / 1.147 GB, free: 9.973 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/0.8957, allocations: 189 kB / 1.147 GB, free: 9.926 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000483/0.8962, allocations: 198.6 kB / 1.147 GB, free: 9.922 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006265/0.9024, allocations: 3.097 MB / 1.15 GB, free: 8.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/0.9025, allocations: 1.031 kB / 1.15 GB, free: 8.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/0.9027, allocations: 76.06 kB / 1.15 GB, free: 8.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/0.9027, allocations: 45.12 kB / 1.15 GB, free: 8.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007731/0.9105, allocations: 3.745 MB / 1.154 GB, free: 7.953 MB / 0.698 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.0186/0.9291, allocations: 9.531 MB / 1.163 GB, free: 3.367 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006837/0.936, allocations: 2.702 MB / 1.166 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002658/0.9387, allocations: 1.27 MB / 1.167 GB, free: 2.512 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007449/0.9394, allocations: 497.3 kB / 1.168 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002769/0.9422, allocations: 1.415 MB / 1.169 GB, free: 1.535 MB / 0.698 GB Notification: Performance of pre-optimization done (n=150): time 3.707e-06/0.9423, allocations: 1.781 kB / 1.169 GB, free: 1.535 MB / 0.698 GB Notification: Performance of matching and sorting (n=150): time 0.0112/0.9535, allocations: 4.351 MB / 1.173 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.9536, allocations: 198.9 kB / 1.174 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005976/0.9596, allocations: 3.055 MB / 1.177 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004521/0.9601, allocations: 61.64 kB / 1.177 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.9614, allocations: 1.08 MB / 1.178 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007632/0.9622, allocations: 0.505 MB / 1.178 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.9624, allocations: 32.59 kB / 1.178 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.9626, allocations: 372.8 kB / 1.179 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003026/0.9656, allocations: 1.263 MB / 1.18 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003049/0.9687, allocations: 1.651 MB / 1.181 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/0.9716, allocations: 1.403 MB / 1.183 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.9716, allocations: 0 / 1.183 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.0082/0.9798, allocations: 3.469 MB / 1.186 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.9799, allocations: 9.25 kB / 1.186 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.99e-05/0.9799, allocations: 20.19 kB / 1.186 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001921/0.9819, allocations: 393.8 kB / 1.187 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/0.9842, allocations: 0.507 MB / 1.187 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005376/0.9896, allocations: 5.374 MB / 1.192 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003517/0.9932, allocations: 456.8 kB / 1.193 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003943/0.9936, allocations: 91.94 kB / 1.193 GB, free: 12.32 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (202): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 2 {1 7,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002258/0.9958, allocations: 1.076 MB / 1.194 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008612/0.9967, allocations: 229.1 kB / 1.194 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008024/1.005, allocations: 3.253 MB / 1.197 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/1.005, allocations: 16 kB / 1.197 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.005, allocations: 4 kB / 1.197 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.887e-05/1.005, allocations: 7.969 kB / 1.197 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/1.017, allocations: 6.202 MB / 1.203 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.017, allocations: 0 / 1.203 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/1.019, allocations: 395.4 kB / 1.204 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/1.021, allocations: 382 kB / 1.204 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001741/1.021, allocations: 59.94 kB / 1.204 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005016/1.026, allocations: 5.382 MB / 1.209 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.026, allocations: 0 / 1.209 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.037, allocations: 4.49 MB / 1.214 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00195/1.039, allocations: 0.7707 MB / 1.215 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008785/1.04, allocations: 39.98 kB / 1.215 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00261/1.042, allocations: 287.6 kB / 1.215 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002735/1.043, allocations: 125.9 kB / 1.215 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/1.043, allocations: 63.95 kB / 1.215 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004453/1.047, allocations: 2.163 MB / 1.217 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.71e-07/1.047, allocations: 0 / 1.217 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003087/1.05, allocations: 0.7756 MB / 1.218 GB, free: 2.039 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (conExt[1].opa.lay[1].T[1],conExt[1].opa.lay[1].T[2],conExt[1].opa.lay[2].T[1],conExt[1].opa.lay[2].T[2],conExt[1].opa.lay[2].T[3]) * 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 (153): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 2 {1 7,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001519/1.052, allocations: 0.6452 MB / 1.219 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006845/1.059, allocations: 3.118 MB / 1.222 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.059, allocations: 0 / 1.222 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003347/1.062, allocations: 1.678 MB / 1.223 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005524/1.068, allocations: 0.7249 MB / 1.224 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/1.083, allocations: 7.401 MB / 1.231 GB, free: 4.535 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002466/1.085, allocations: 2.287 MB / 1.233 GB, free: 2.207 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003598/1.089, allocations: 0.8838 MB / 1.234 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.09, allocations: 207.3 kB / 1.234 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of SimCode: time 8.22e-07/1.09, allocations: 0 / 1.234 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of Templates: time 0.06709/1.157, allocations: 41.89 MB / 1.275 GB, free: 7.496 MB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1)