Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.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.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") translateModel(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.699/1.699, allocations: 287.5 MB / 302.6 MB, free: 8.316 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.0009617/0.0009617, allocations: 182.2 kB / 371.2 MB, free: 10.84 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.558/1.558, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008225/0.0008226, allocations: 98.5 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004472, allocations: 15.02 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2521, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.00753/0.2597, allocations: 7.049 MB / 0.9856 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7153/0.9751, allocations: 140.1 MB / 1.122 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.977, allocations: 39.72 kB / 1.122 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003021/0.9801, allocations: 0.9148 MB / 1.123 GB, free: 0.9258 MB / 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.003035/0.9831, allocations: 0.771 MB / 1.124 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004477/0.9876, allocations: 1.132 MB / 1.125 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006337/0.9939, allocations: 4.288 MB / 1.129 GB, free: 52 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002243/0.9962, allocations: 1.702 MB / 1.131 GB, free: 15.64 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/0.9992, allocations: 1.468 MB / 1.132 GB, free: 15.38 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00233/1.002, allocations: 1.216 MB / 1.134 GB, free: 15.1 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002963/1.002, allocations: 101.7 kB / 1.134 GB, free: 15.09 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/1.004, allocations: 0.7476 MB / 1.134 GB, free: 15.07 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006529/1.005, allocations: 0.5958 MB / 1.135 GB, free: 14.96 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007226/1.005, allocations: 0.5447 MB / 1.136 GB, free: 14.83 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00422/1.01, allocations: 4.001 MB / 1.139 GB, free: 13.63 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.01, allocations: 0 / 1.139 GB, free: 13.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/1.01, allocations: 0 / 1.139 GB, free: 13.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.656e-05/1.01, allocations: 0 / 1.139 GB, free: 13.63 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.007638/1.017, allocations: 3.302 MB / 1.143 GB, free: 11.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.758e-05/1.017, allocations: 9.562 kB / 1.143 GB, free: 11.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007888/1.025, allocations: 1.538 MB / 1.144 GB, free: 10.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0058/1.031, allocations: 2.535 MB / 1.147 GB, free: 9.918 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/1.031, allocations: 187.5 kB / 1.147 GB, free: 9.875 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004294/1.032, allocations: 192.5 kB / 1.147 GB, free: 9.875 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007053/1.039, allocations: 3.092 MB / 1.15 GB, free: 8.887 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/1.039, allocations: 9.203 kB / 1.15 GB, free: 8.879 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/1.039, allocations: 75.84 kB / 1.15 GB, free: 8.879 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.519e-05/1.039, allocations: 45.69 kB / 1.15 GB, free: 8.879 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008756/1.048, allocations: 3.739 MB / 1.154 GB, free: 7.91 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.02196/1.07, allocations: 9.544 MB / 1.163 GB, free: 3.316 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007402/1.077, allocations: 2.685 MB / 1.166 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002934/1.08, allocations: 1.276 MB / 1.167 GB, free: 2.473 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007572/1.081, allocations: 0.4901 MB / 1.167 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003192/1.084, allocations: 1.418 MB / 1.169 GB, free: 1.492 MB / 0.698 GB Notification: Performance of pre-optimization done (n=150): time 4.809e-06/1.084, allocations: 7.938 kB / 1.169 GB, free: 1.484 MB / 0.698 GB Notification: Performance of matching and sorting (n=150): time 0.0123/1.097, allocations: 4.358 MB / 1.173 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/1.097, allocations: 201.5 kB / 1.173 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009006/1.106, allocations: 3.047 MB / 1.176 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007416/1.107, allocations: 55.64 kB / 1.176 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001542/1.108, allocations: 1.084 MB / 1.177 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.109, allocations: 0.5044 MB / 1.178 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000455/1.11, allocations: 36 kB / 1.178 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002864/1.11, allocations: 385.8 kB / 1.178 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003538/1.114, allocations: 1.249 MB / 1.18 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003687/1.117, allocations: 1.647 MB / 1.181 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006275/1.124, allocations: 2.787 MB / 1.184 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/1.124, allocations: 0 / 1.184 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.009015/1.133, allocations: 3.469 MB / 1.187 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/1.133, allocations: 12.25 kB / 1.187 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/1.133, allocations: 17.92 kB / 1.187 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/1.135, allocations: 393.7 kB / 1.188 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/1.138, allocations: 0.4992 MB / 1.188 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/1.144, allocations: 5.38 MB / 1.193 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004203/1.148, allocations: 449.9 kB / 1.194 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005341/1.148, allocations: 96.08 kB / 1.194 GB, free: 10.74 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.003082/1.151, allocations: 1.08 MB / 1.195 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/1.153, allocations: 233 kB / 1.195 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00958/1.162, allocations: 3.242 MB / 1.198 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/1.162, allocations: 16 kB / 1.198 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.162, allocations: 0 / 1.198 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/1.162, allocations: 7.969 kB / 1.198 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/1.177, allocations: 6.206 MB / 1.204 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/1.177, allocations: 0 / 1.204 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/1.179, allocations: 399.4 kB / 1.205 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/1.181, allocations: 375 kB / 1.205 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002322/1.181, allocations: 63.88 kB / 1.205 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00541/1.187, allocations: 5.389 MB / 1.21 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/1.187, allocations: 8.25 kB / 1.211 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/1.198, allocations: 4.484 MB / 1.215 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002913/1.201, allocations: 0.7708 MB / 1.216 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0012/1.203, allocations: 43.92 kB / 1.216 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003169/1.206, allocations: 288.1 kB / 1.216 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004155/1.206, allocations: 117.8 kB / 1.216 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002327/1.206, allocations: 59.95 kB / 1.216 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.005211/1.212, allocations: 2.163 MB / 1.218 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.9e-06/1.212, allocations: 4 kB / 1.218 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00438/1.216, allocations: 0.7756 MB / 1.219 GB, free: 472 kB / 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.002065/1.218, allocations: 0.6312 MB / 1.22 GB, free: 24 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00815/1.226, allocations: 3.123 MB / 1.223 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.226, allocations: 4 kB / 1.223 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004141/1.231, allocations: 1.676 MB / 1.224 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006048/1.237, allocations: 0.7239 MB / 1.225 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/1.256, allocations: 7.399 MB / 1.232 GB, free: 2.996 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003427/1.259, allocations: 2.281 MB / 1.234 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004643/1.264, allocations: 0.8876 MB / 1.235 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/1.265, allocations: 211.3 kB / 1.236 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of SimCode: time 1.123e-06/1.265, allocations: 0 / 1.236 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.07265/1.338, allocations: 41.91 MB / 1.276 GB, free: 5.902 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_8.0.0_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1)