Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 103.7 kB / 16.38 MB, free: 6.488 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.001424/0.001425, allocations: 189.4 kB / 17.31 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.809/1.809, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001394/0.001394, allocations: 64.38 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2307, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.3581/0.5889, allocations: 4.185 MB / 0.7889 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1631/0.7521, allocations: 150.2 MB / 0.9356 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006414/0.7528, allocations: 19.88 kB / 0.9356 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005091/0.7533, allocations: 166.5 kB / 0.9358 GB, free: 15.42 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001375/0.7547, allocations: 423.9 kB / 0.9362 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.7565, allocations: 0.7909 MB / 0.9369 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001178/0.7577, allocations: 1.195 MB / 0.9381 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008374/0.7585, allocations: 0.6158 MB / 0.9387 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005291/0.7591, allocations: 442.5 kB / 0.9391 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.7596, allocations: 452 kB / 0.9396 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.7597, allocations: 104 kB / 0.9397 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007726/0.7605, allocations: 387.7 kB / 0.94 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.7608, allocations: 267.1 kB / 0.9403 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004437/0.7612, allocations: 0.4973 MB / 0.9408 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.7628, allocations: 1.437 MB / 0.9422 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7628, allocations: 0 / 0.9422 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7628, allocations: 0 / 0.9422 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.7629, allocations: 4 kB / 0.9422 GB, free: 8.836 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.002199/0.7651, allocations: 1.318 MB / 0.9435 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.7651, allocations: 8.031 kB / 0.9435 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.7663, allocations: 219.5 kB / 0.9437 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.7675, allocations: 0.7306 MB / 0.9444 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.659e-05/0.7676, allocations: 65.94 kB / 0.9445 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/0.7677, allocations: 79.98 kB / 0.9445 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.7693, allocations: 0.9014 MB / 0.9454 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.7694, allocations: 4 kB / 0.9454 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-05/0.7695, allocations: 36 kB / 0.9455 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.7695, allocations: 20 kB / 0.9455 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.7715, allocations: 1.104 MB / 0.9466 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00399/0.7755, allocations: 2.629 MB / 0.9491 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.7771, allocations: 0.8546 MB / 0.95 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.7776, allocations: 275.5 kB / 0.9502 GB, free: 364 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-05/0.7777, allocations: 36.59 kB / 0.9503 GB, free: 328 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007294/0.7785, allocations: 435.3 kB / 0.9507 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=74): time 2.645e-06/0.7785, allocations: 0 / 0.9507 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74): time 0.003036/0.7815, allocations: 1.084 MB / 0.9517 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.7816, allocations: 190.3 kB / 0.9519 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007331/0.7824, allocations: 0.5782 MB / 0.9525 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.226e-05/0.7825, allocations: 37.7 kB / 0.9525 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.7828, allocations: 380.2 kB / 0.9529 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.783, allocations: 248.4 kB / 0.9531 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.7833, allocations: 154.5 kB / 0.9533 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.7834, allocations: 378.8 kB / 0.9536 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.7839, allocations: 241.9 kB / 0.9538 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000586/0.7845, allocations: 357.6 kB / 0.9542 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.7856, allocations: 0.5824 MB / 0.9548 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.7856, allocations: 0 / 0.9548 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001943/0.7876, allocations: 0.8019 MB / 0.9555 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.7876, allocations: 4.781 kB / 0.9555 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.7876, allocations: 4 kB / 0.9555 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006049/0.7882, allocations: 84.95 kB / 0.9556 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.7889, allocations: 151.8 kB / 0.9558 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.791, allocations: 1.639 MB / 0.9574 GB, free: 8.699 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007186/0.7917, allocations: 79.33 kB / 0.9575 GB, free: 8.621 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.899e-05/0.7918, allocations: 36.03 kB / 0.9575 GB, free: 8.586 MB / 0.7481 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 (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 (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004489/0.7923, allocations: 253.7 kB / 0.9577 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.7925, allocations: 79 kB / 0.9578 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.7946, allocations: 0.9228 MB / 0.9587 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.7946, allocations: 7.984 kB / 0.9587 GB, free: 7.312 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.7946, allocations: 0 / 0.9587 GB, free: 7.312 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/0.7949, allocations: 251.8 kB / 0.959 GB, free: 7.047 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.7951, allocations: 23.88 kB / 0.959 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005406/0.7956, allocations: 53.06 kB / 0.959 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.7957, allocations: 68.16 kB / 0.9591 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001835/0.7976, allocations: 0.881 MB / 0.9599 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002042/0.7996, allocations: 1.278 MB / 0.9612 GB, free: 4.719 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005491/0.8002, allocations: 335.8 kB / 0.9615 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005084/0.8007, allocations: 411.1 kB / 0.9619 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of Backend: time 3.71e-07/0.8007, allocations: 4 kB / 0.9619 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003/0.8037, allocations: 1.149 MB / 0.963 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of SimCode: time 0.002916/0.8067, allocations: 1.957 MB / 0.9649 GB, free: 1.113 MB / 0.7481 GB Notification: Performance of Templates: time 0.02489/0.8316, allocations: 14.83 MB / 0.9794 GB, free: 2.5 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)