Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.592/1.592, allocations: 287.4 MB / 303.2 MB, free: 8.254 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.000937/0.000937, allocations: 170.1 kB / 371.8 MB, free: 10.83 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.39/1.39, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.0008086/0.0008087, allocations: 99.84 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 13.91 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1883, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.003555/0.1919, allocations: 3.592 MB / 0.9828 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5811/0.7731, allocations: 136.5 MB / 1.116 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006285/0.7738, allocations: 18.19 kB / 1.116 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004382/0.7742, allocations: 121.4 kB / 1.116 GB, free: 1.621 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.00124/0.7755, allocations: 358.8 kB / 1.117 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.7773, allocations: 0.5988 MB / 1.117 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001245/0.7786, allocations: 1.052 MB / 1.118 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008503/0.7794, allocations: 0.59 MB / 1.119 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005326/0.78, allocations: 301.1 kB / 1.119 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.7804, allocations: 313.8 kB / 1.119 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.069e-05/0.7805, allocations: 21.88 kB / 1.119 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007092/0.7812, allocations: 270.4 kB / 1.12 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.7814, allocations: 159.8 kB / 1.12 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.7816, allocations: 185.5 kB / 1.12 GB, free: 16.87 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.7828, allocations: 1.024 MB / 1.121 GB, free: 16.79 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7828, allocations: 0 / 1.121 GB, free: 16.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7828, allocations: 0 / 1.121 GB, free: 16.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.7829, allocations: 0 / 1.121 GB, free: 16.79 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.00177/0.7846, allocations: 1.123 MB / 1.122 GB, free: 16.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.7847, allocations: 11.47 kB / 1.122 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.7858, allocations: 246.6 kB / 1.122 GB, free: 16.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009403/0.7867, allocations: 0.7002 MB / 1.123 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.7868, allocations: 64.5 kB / 1.123 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/0.7869, allocations: 76.97 kB / 1.123 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.7883, allocations: 0.9191 MB / 1.124 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.7883, allocations: 0 / 1.124 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.448e-05/0.7884, allocations: 35.59 kB / 1.124 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.7884, allocations: 20.06 kB / 1.124 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.7902, allocations: 1.118 MB / 1.125 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003618/0.7938, allocations: 2.7 MB / 1.128 GB, free: 14.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.7953, allocations: 0.87 MB / 1.129 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.7958, allocations: 284.1 kB / 1.129 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.503e-05/0.7959, allocations: 29.52 kB / 1.129 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007335/0.7966, allocations: 434.7 kB / 1.129 GB, free: 14.17 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.556e-06/0.7966, allocations: 4 kB / 1.129 GB, free: 14.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.002687/0.7993, allocations: 1.093 MB / 1.13 GB, free: 13.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.364e-05/0.7994, allocations: 192.2 kB / 1.131 GB, free: 13.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006986/0.8001, allocations: 0.5669 MB / 1.131 GB, free: 13.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.8002, allocations: 39.2 kB / 1.131 GB, free: 13.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.8005, allocations: 382.1 kB / 1.132 GB, free: 13.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.8007, allocations: 250 kB / 1.132 GB, free: 13.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.8007, allocations: 14.22 kB / 1.132 GB, free: 13.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.8009, allocations: 378.8 kB / 1.132 GB, free: 12.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.8013, allocations: 239.7 kB / 1.132 GB, free: 12.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/0.8018, allocations: 357 kB / 1.133 GB, free: 12.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009439/0.8028, allocations: 0.584 MB / 1.133 GB, free: 12.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.8028, allocations: 3.938 kB / 1.133 GB, free: 12.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001715/0.8045, allocations: 0.8087 MB / 1.134 GB, free: 12.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.8046, allocations: 6.062 kB / 1.134 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.8046, allocations: 2.594 kB / 1.134 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005602/0.8051, allocations: 85.47 kB / 1.134 GB, free: 12.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000717/0.8059, allocations: 155.6 kB / 1.134 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.8078, allocations: 1.542 MB / 1.136 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007365/0.8085, allocations: 88.33 kB / 1.136 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.381e-05/0.8086, allocations: 36.22 kB / 1.136 GB, free: 11.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (88): * Single equations (assignments): 87 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005338/0.8091, allocations: 254.7 kB / 1.136 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.8093, allocations: 74.47 kB / 1.136 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.8116, allocations: 0.9892 MB / 1.137 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.8116, allocations: 2.156 kB / 1.137 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.8116, allocations: 3.594 kB / 1.137 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000364/0.812, allocations: 266.8 kB / 1.137 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.8121, allocations: 21.62 kB / 1.137 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005288/0.8126, allocations: 70.78 kB / 1.138 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.8128, allocations: 62.28 kB / 1.138 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001817/0.8146, allocations: 0.888 MB / 1.138 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001936/0.8165, allocations: 1.288 MB / 1.14 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005516/0.8171, allocations: 327.3 kB / 1.14 GB, free: 10.37 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006086/0.8177, allocations: 413.5 kB / 1.14 GB, free: 10.28 MB / 0.698 GB Notification: Performance of Backend: time 1.172e-06/0.8177, allocations: 0 / 1.14 GB, free: 10.28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003161/0.8209, allocations: 1.138 MB / 1.142 GB, free: 9.848 MB / 0.698 GB Notification: Performance of SimCode: time 0.003284/0.8242, allocations: 2.281 MB / 1.144 GB, free: 8.266 MB / 0.698 GB Notification: Performance of Templates: time 0.02652/0.8507, allocations: 13.79 MB / 1.157 GB, free: 1.34 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)