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.001538/0.001544, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001531/0.001531, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.386/1.386, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.706/1.706, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001305/0.001305, allocations: 69.53 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2242, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006941/0.2312, allocations: 4.204 MB / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6374/0.8687, allocations: 148 MB / 0.9315 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006931/0.8694, allocations: 16.56 kB / 0.9315 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005418/0.87, allocations: 135.7 kB / 0.9316 GB, free: 5.34 MB / 0.7325 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.001414/0.8714, allocations: 369.3 kB / 0.932 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.8733, allocations: 0.7065 MB / 0.9327 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001495/0.8748, allocations: 1.19 MB / 0.9338 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000809/0.8756, allocations: 0.6164 MB / 0.9344 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007041/0.8763, allocations: 430.5 kB / 0.9349 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.8769, allocations: 457.6 kB / 0.9353 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.877, allocations: 107.8 kB / 0.9354 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007715/0.8778, allocations: 379.4 kB / 0.9358 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.878, allocations: 267.6 kB / 0.936 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004648/0.8785, allocations: 0.4965 MB / 0.9365 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.8804, allocations: 1.386 MB / 0.9378 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8804, allocations: 4.188 kB / 0.9378 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8804, allocations: 0 / 0.9378 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.789e-05/0.8804, allocations: 0 / 0.9378 GB, free: 5.105 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.002428/0.8828, allocations: 1.326 MB / 0.9391 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.8829, allocations: 9.375 kB / 0.9392 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.8841, allocations: 219 kB / 0.9394 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009422/0.8851, allocations: 0.7075 MB / 0.9401 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/0.8851, allocations: 61.41 kB / 0.9401 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.052e-05/0.8852, allocations: 79.11 kB / 0.9402 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.8867, allocations: 0.9122 MB / 0.9411 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.8868, allocations: 1.875 kB / 0.9411 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.8868, allocations: 35.67 kB / 0.9411 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.8869, allocations: 25 kB / 0.9411 GB, free: 19.83 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.8886, allocations: 1.108 MB / 0.9422 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003994/0.8926, allocations: 2.66 MB / 0.9448 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.8941, allocations: 0.857 MB / 0.9457 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005162/0.8947, allocations: 279.8 kB / 0.9459 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 9.042e-05/0.8948, allocations: 34.83 kB / 0.946 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008883/0.8957, allocations: 426 kB / 0.9464 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=74): time 3.356e-06/0.8957, allocations: 0.8438 kB / 0.9464 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74): time 0.003255/0.8989, allocations: 1.087 MB / 0.9474 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.8991, allocations: 200.1 kB / 0.9476 GB, free: 18.15 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008377/0.8999, allocations: 0.5676 MB / 0.9482 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.491e-05/0.9, allocations: 40.14 kB / 0.9482 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.9003, allocations: 383.9 kB / 0.9486 GB, free: 17.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.9005, allocations: 247.3 kB / 0.9488 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/0.9008, allocations: 156.1 kB / 0.949 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.9009, allocations: 381.4 kB / 0.9493 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.9014, allocations: 242.9 kB / 0.9496 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005978/0.902, allocations: 347.7 kB / 0.9499 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.9032, allocations: 0.5872 MB / 0.9505 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.9033, allocations: 4.562 kB / 0.9505 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002383/0.9056, allocations: 0.8018 MB / 0.9512 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.9057, allocations: 6.062 kB / 0.9513 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.9057, allocations: 1.188 kB / 0.9513 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/0.9063, allocations: 84.05 kB / 0.9513 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.907, allocations: 157.3 kB / 0.9515 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.9092, allocations: 1.628 MB / 0.9531 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007885/0.91, allocations: 80.89 kB / 0.9531 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.11e-05/0.9101, allocations: 35.86 kB / 0.9532 GB, free: 15.62 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.0005417/0.9106, allocations: 259 kB / 0.9534 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.9108, allocations: 80.16 kB / 0.9535 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.9131, allocations: 0.9868 MB / 0.9545 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.9131, allocations: 8.438 kB / 0.9545 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.9132, allocations: 5.031 kB / 0.9545 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.9132, allocations: 2.859 kB / 0.9545 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/0.9164, allocations: 1.916 MB / 0.9564 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.9165, allocations: 5.812 kB / 0.9564 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/0.917, allocations: 148.9 kB / 0.9565 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004219/0.9175, allocations: 69.58 kB / 0.9566 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/0.9175, allocations: 22.47 kB / 0.9566 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.9195, allocations: 1.657 MB / 0.9582 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9195, allocations: 4.062 kB / 0.9582 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.9215, allocations: 0.9141 MB / 0.9591 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.9218, allocations: 255.9 kB / 0.9594 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.922, allocations: 14.75 kB / 0.9594 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/0.9225, allocations: 59.27 kB / 0.9594 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.9227, allocations: 62.69 kB / 0.9595 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/0.9227, allocations: 34.08 kB / 0.9595 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005259/0.9233, allocations: 417.8 kB / 0.9599 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9233, allocations: 0 / 0.9599 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009349/0.9242, allocations: 287.5 kB / 0.9602 GB, free: 12.99 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001203/0.9254, allocations: 0.5525 MB / 0.9607 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.9277, allocations: 0.9629 MB / 0.9617 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.9277, allocations: 0 / 0.9617 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008488/0.9285, allocations: 493.4 kB / 0.9621 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.9299, allocations: 297.9 kB / 0.9624 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.9337, allocations: 2.057 MB / 0.9644 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.9343, allocations: 1.003 MB / 0.9654 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001133/0.9354, allocations: 261.7 kB / 0.9657 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.9357, allocations: 100.8 kB / 0.9658 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of SimCode: time 9.52e-07/0.9357, allocations: 1.438 kB / 0.9658 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of Templates: time 0.02338/0.9591, allocations: 13.84 MB / 0.9793 GB, free: 8.02 MB / 0.7481 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)