Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.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.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") translateModel(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008133/0.0008135, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.00096/0.0009604, allocations: 168.7 kB / 15.95 MB, free: 204 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.388/1.388, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.658/1.658, 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.0005822/0.0005824, allocations: 19.8 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2645, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01023/0.2748, allocations: 7.054 MB / 0.7942 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7119/0.9868, allocations: 140 MB / 0.9309 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.9888, allocations: 42.47 kB / 0.931 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002756/0.9915, allocations: 0.9114 MB / 0.9319 GB, free: 3.117 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.002885/0.9944, allocations: 0.7618 MB / 0.9326 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004238/0.9987, allocations: 1.133 MB / 0.9337 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005788/1.004, allocations: 4.057 MB / 0.9377 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002465/1.007, allocations: 1.412 MB / 0.9391 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003002/1.01, allocations: 1.368 MB / 0.9404 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003084/1.013, allocations: 1.219 MB / 0.9416 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008173/1.014, allocations: 94.97 kB / 0.9417 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00307/1.017, allocations: 0.7524 MB / 0.9424 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008825/1.018, allocations: 0.6019 MB / 0.943 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/1.019, allocations: 0.5438 MB / 0.9435 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005576/1.025, allocations: 4.001 MB / 0.9474 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.025, allocations: 0 / 0.9474 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.447e-06/1.025, allocations: 0 / 0.9474 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002134/1.025, allocations: 2.562 kB / 0.9474 GB, free: 16.92 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: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01159/1.037, allocations: 3.331 MB / 0.9507 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.037, allocations: 9.688 kB / 0.9507 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008699/1.045, allocations: 1.545 MB / 0.9522 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006248/1.052, allocations: 2.446 MB / 0.9546 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/1.052, allocations: 180.5 kB / 0.9548 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004735/1.052, allocations: 201.4 kB / 0.955 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007408/1.06, allocations: 3.099 MB / 0.958 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/1.06, allocations: 1.188 kB / 0.958 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/1.06, allocations: 75.97 kB / 0.9581 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.327e-05/1.06, allocations: 49.41 kB / 0.9581 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008118/1.068, allocations: 3.742 MB / 0.9618 GB, free: 12.36 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.02028/1.089, allocations: 9.527 MB / 0.9711 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006161/1.095, allocations: 2.695 MB / 0.9737 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002903/1.098, allocations: 1.274 MB / 0.9749 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007992/1.099, allocations: 494.4 kB / 0.9754 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003073/1.102, allocations: 1.417 MB / 0.9768 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=150): time 4.348e-06/1.102, allocations: 0 / 0.9768 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150): time 0.01171/1.113, allocations: 4.358 MB / 0.9811 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/1.114, allocations: 206.7 kB / 0.9812 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006568/1.12, allocations: 3.043 MB / 0.9842 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006908/1.121, allocations: 59.11 kB / 0.9843 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001459/1.122, allocations: 1.084 MB / 0.9853 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.123, allocations: 0.5103 MB / 0.9858 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000346/1.124, allocations: 33.16 kB / 0.9859 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002532/1.124, allocations: 377.5 kB / 0.9862 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003064/1.127, allocations: 1.255 MB / 0.9875 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003237/1.13, allocations: 1.644 MB / 0.9891 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/1.134, allocations: 1.404 MB / 0.9904 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/1.134, allocations: 1.844 kB / 0.9904 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.008767/1.142, allocations: 3.469 MB / 0.9938 GB, free: 76 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/1.142, allocations: 10.66 kB / 0.9938 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/1.143, allocations: 15.31 kB / 0.9938 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/1.144, allocations: 403.1 kB / 0.9942 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002651/1.147, allocations: 0.5022 MB / 0.9947 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005565/1.153, allocations: 5.376 MB / 1 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004341/1.157, allocations: 459 kB / 1 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009265/1.158, allocations: 90.19 kB / 1 GB, free: 10.86 MB / 0.7481 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.003379/1.161, allocations: 1.077 MB / 1.002 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/1.163, allocations: 228.3 kB / 1.002 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009247/1.172, allocations: 3.259 MB / 1.005 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/1.172, allocations: 16.78 kB / 1.005 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/1.172, allocations: 0 / 1.005 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.201e-05/1.172, allocations: 11.95 kB / 1.005 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/1.186, allocations: 6.204 MB / 1.011 GB, free: 5.367 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/1.186, allocations: 0 / 1.011 GB, free: 5.367 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/1.188, allocations: 393.9 kB / 1.011 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/1.19, allocations: 385 kB / 1.012 GB, free: 4.66 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002318/1.191, allocations: 53.2 kB / 1.012 GB, free: 4.629 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004951/1.195, allocations: 5.384 MB / 1.017 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.196, allocations: 4.031 kB / 1.017 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/1.206, allocations: 4.481 MB / 1.021 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/1.208, allocations: 0.7732 MB / 1.022 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/1.209, allocations: 40.8 kB / 1.022 GB, free: 11.42 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002508/1.211, allocations: 288 kB / 1.023 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/1.212, allocations: 130.7 kB / 1.023 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/1.212, allocations: 56.95 kB / 1.023 GB, free: 11 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004386/1.216, allocations: 2.173 MB / 1.025 GB, free: 9.402 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7.62e-07/1.216, allocations: 0 / 1.025 GB, free: 9.402 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004039/1.22, allocations: 0.7739 MB / 1.026 GB, free: 8.688 MB / 0.7637 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.00187/1.222, allocations: 0.6357 MB / 1.026 GB, free: 8.266 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.007118/1.229, allocations: 3.12 MB / 1.029 GB, free: 5.844 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.229, allocations: 5.984 kB / 1.029 GB, free: 5.84 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003938/1.233, allocations: 1.678 MB / 1.031 GB, free: 4.492 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005883/1.239, allocations: 0.7217 MB / 1.032 GB, free: 3.934 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/1.256, allocations: 7.415 MB / 1.039 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003902/1.26, allocations: 2.278 MB / 1.041 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004455/1.265, allocations: 0.8954 MB / 1.042 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/1.266, allocations: 206.1 kB / 1.042 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/1.266, allocations: 0 / 1.042 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of Templates: time 0.07223/1.338, allocations: 41.88 MB / 1.083 GB, free: 0.7227 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) Environment - environmentSimulation: