Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 249.3 MB / 261.9 MB, free: 5.809 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 180.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.2 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008551/0.0008554, allocations: 106.5 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.935e-05/3.938e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2719, allocations: 106.3 MB / 0.8919 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.612/6.884, allocations: 2.19 GB / 3.081 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/6.885, allocations: 85.73 kB / 3.082 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1269/7.012, allocations: 56.59 MB / 3.137 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.978e-06/7.012, allocations: 4 kB / 3.137 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001159/7.012, allocations: 23.94 kB / 3.137 GB, free: 122.4 MB / 0.8698 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.002484/7.014, allocations: 1.051 MB / 3.138 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/7.014, allocations: 8.031 kB / 3.138 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003038/7.015, allocations: 138.9 kB / 3.138 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/7.016, allocations: 242.4 kB / 3.138 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/7.017, allocations: 0.6075 MB / 3.139 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-05/7.017, allocations: 66 kB / 3.139 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/7.018, allocations: 76 kB / 3.139 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/7.019, allocations: 0.8625 MB / 3.14 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/7.019, allocations: 0 / 3.14 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.492e-05/7.019, allocations: 36 kB / 3.14 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/7.019, allocations: 23.95 kB / 3.14 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/7.021, allocations: 1.046 MB / 3.141 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003844/7.025, allocations: 2.688 MB / 3.144 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/7.026, allocations: 0.8019 MB / 3.144 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/7.026, allocations: 263.2 kB / 3.145 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.418e-05/7.026, allocations: 32.81 kB / 3.145 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000626/7.027, allocations: 413.4 kB / 3.145 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 5.09e-06/7.027, allocations: 7.984 kB / 3.145 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.001617/7.029, allocations: 0.6914 MB / 3.146 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/7.029, allocations: 244.1 kB / 3.146 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007905/7.029, allocations: 0.5659 MB / 3.146 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/7.03, allocations: 37.7 kB / 3.146 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/7.03, allocations: 388.2 kB / 3.147 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/7.03, allocations: 240.4 kB / 3.147 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/7.03, allocations: 16 kB / 3.147 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001124/7.03, allocations: 374.8 kB / 3.147 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/7.03, allocations: 209.5 kB / 3.148 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/7.031, allocations: 335.6 kB / 3.148 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/7.031, allocations: 254 kB / 3.148 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/7.031, allocations: 0 / 3.148 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001472/7.033, allocations: 0.7109 MB / 3.149 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/7.033, allocations: 4 kB / 3.149 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/7.033, allocations: 0 / 3.149 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00059/7.033, allocations: 88.92 kB / 3.149 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/7.034, allocations: 143.8 kB / 3.149 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/7.036, allocations: 1.517 MB / 3.151 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007018/7.037, allocations: 83.34 kB / 3.151 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.451e-05/7.037, allocations: 27.98 kB / 3.151 GB, free: 107.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0002091/7.037, allocations: 156.8 kB / 3.151 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/7.037, allocations: 75.06 kB / 3.151 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/7.039, allocations: 0.9465 MB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/7.039, allocations: 15.95 kB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/7.039, allocations: 4 kB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/7.039, allocations: 7.969 kB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/7.042, allocations: 1.917 MB / 3.154 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/7.042, allocations: 4 kB / 3.154 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/7.043, allocations: 143.8 kB / 3.154 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004777/7.043, allocations: 84.77 kB / 3.154 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/7.043, allocations: 23.98 kB / 3.154 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/7.045, allocations: 1.54 MB / 3.156 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/7.045, allocations: 0 / 3.156 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/7.047, allocations: 0.8767 MB / 3.156 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005683/7.047, allocations: 283.7 kB / 3.157 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/7.048, allocations: 20 kB / 3.157 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006779/7.048, allocations: 67.94 kB / 3.157 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/7.048, allocations: 64.64 kB / 3.157 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.971e-05/7.048, allocations: 31.98 kB / 3.157 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007299/7.049, allocations: 475.1 kB / 3.157 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/7.049, allocations: 0 / 3.157 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00136/7.051, allocations: 331.2 kB / 3.158 GB, free: 100.3 MB / 0.8698 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) * 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 (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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003726/7.054, allocations: 2.292 MB / 3.16 GB, free: 98.06 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001337/7.056, allocations: 0.6944 MB / 3.16 GB, free: 97.35 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/7.056, allocations: 0 / 3.16 GB, free: 97.35 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007051/7.056, allocations: 482.8 kB / 3.161 GB, free: 96.87 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/7.058, allocations: 248.1 kB / 3.161 GB, free: 96.63 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/7.062, allocations: 1.536 MB / 3.163 GB, free: 95.05 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/7.063, allocations: 1.023 MB / 3.164 GB, free: 94.01 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009749/7.064, allocations: 254.2 kB / 3.164 GB, free: 93.75 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/7.064, allocations: 355.3 kB / 3.164 GB, free: 93.41 MB / 0.8698 GB Notification: Performance of SimCode: time 1.593e-06/7.064, allocations: 0 / 3.164 GB, free: 93.41 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05636/7.121, allocations: 30.95 MB / 3.194 GB, free: 62.66 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/7.121, allocations: 247.5 kB / 3.195 GB, free: 62.32 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.271/10.39, allocations: 0 / 3.195 GB, free: 62.32 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)