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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0007785/0.0007786, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000812/0.000812, allocations: 172.7 kB / 15.95 MB, free: 208 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.469/1.469, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.569/1.569, allocations: 252 MB / 0.5102 GB, free: 4.789 MB / 414.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.0005057/0.0005059, allocations: 16 kB / 0.6243 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4853/0.4858, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004249/0.4901, allocations: 3.607 MB / 0.7316 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1574/0.6476, allocations: 136.5 MB / 0.8649 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006581/0.6483, allocations: 11.94 kB / 0.8649 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004704/0.6488, allocations: 123 kB / 0.865 GB, free: 14.81 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.001167/0.6499, allocations: 357.6 kB / 0.8654 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.6516, allocations: 0.6049 MB / 0.866 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001076/0.6527, allocations: 1.027 MB / 0.867 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006971/0.6534, allocations: 479.2 kB / 0.8674 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004608/0.6538, allocations: 294.6 kB / 0.8677 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003662/0.6542, allocations: 318.3 kB / 0.868 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.6543, allocations: 24 kB / 0.868 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000581/0.6549, allocations: 267.7 kB / 0.8683 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.6551, allocations: 163.2 kB / 0.8684 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.6552, allocations: 189.1 kB / 0.8686 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0009309/0.6561, allocations: 1.021 MB / 0.8696 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.6561, allocations: 0 / 0.8696 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6562, allocations: 0 / 0.8696 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.6562, allocations: 0 / 0.8696 GB, free: 10.09 MB / 0.6856 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.001789/0.658, allocations: 1.132 MB / 0.8707 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.658, allocations: 16.03 kB / 0.8707 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.6591, allocations: 242.5 kB / 0.871 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009498/0.66, allocations: 0.6759 MB / 0.8716 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.793e-05/0.6601, allocations: 61.94 kB / 0.8717 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.6602, allocations: 80 kB / 0.8718 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.6617, allocations: 0.9053 MB / 0.8727 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.6618, allocations: 0 / 0.8727 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/0.6618, allocations: 43.98 kB / 0.8727 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.6619, allocations: 23.95 kB / 0.8727 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.6636, allocations: 1.116 MB / 0.8738 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003646/0.6672, allocations: 2.684 MB / 0.8764 GB, free: 2.891 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.6687, allocations: 0.8713 MB / 0.8773 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004652/0.6692, allocations: 290.6 kB / 0.8776 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.743e-05/0.6693, allocations: 32.67 kB / 0.8776 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007272/0.6701, allocations: 427.2 kB / 0.878 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=74): time 2.234e-06/0.6701, allocations: 4 kB / 0.878 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74): time 0.002609/0.6727, allocations: 1.092 MB / 0.8791 GB, free: 116 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.6728, allocations: 192.6 kB / 0.8793 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000687/0.6735, allocations: 0.5704 MB / 0.8798 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.216e-05/0.6736, allocations: 37.7 kB / 0.8798 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.6739, allocations: 376.2 kB / 0.8802 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.6741, allocations: 256.4 kB / 0.8805 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.6741, allocations: 12 kB / 0.8805 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.6743, allocations: 382.8 kB / 0.8808 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/0.6748, allocations: 241.9 kB / 0.8811 GB, free: 14 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/0.6753, allocations: 353.6 kB / 0.8814 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.6758, allocations: 286.9 kB / 0.8817 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6758, allocations: 0 / 0.8817 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001625/0.6774, allocations: 0.8058 MB / 0.8825 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.6775, allocations: 8 kB / 0.8825 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6775, allocations: 0 / 0.8825 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005341/0.678, allocations: 88.95 kB / 0.8825 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/0.6786, allocations: 155.7 kB / 0.8827 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.6805, allocations: 1.516 MB / 0.8842 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005732/0.6811, allocations: 98.23 kB / 0.8843 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/0.6812, allocations: 35.97 kB / 0.8843 GB, free: 10.5 MB / 0.7012 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.0003648/0.6816, allocations: 253.8 kB / 0.8845 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.6817, allocations: 75.14 kB / 0.8846 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.6837, allocations: 1.006 MB / 0.8856 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.6838, allocations: 11.95 kB / 0.8856 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.6838, allocations: 0 / 0.8856 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.6838, allocations: 3.984 kB / 0.8856 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.6867, allocations: 1.911 MB / 0.8875 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6867, allocations: 0 / 0.8875 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005353/0.6873, allocations: 147.8 kB / 0.8876 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/0.6877, allocations: 88.77 kB / 0.8877 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.6878, allocations: 19.98 kB / 0.8877 GB, free: 6.895 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.6895, allocations: 1.544 MB / 0.8892 GB, free: 5.211 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6895, allocations: 0 / 0.8892 GB, free: 5.211 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.6912, allocations: 0.9219 MB / 0.8901 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003675/0.6916, allocations: 263.8 kB / 0.8904 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.694e-05/0.6917, allocations: 19.94 kB / 0.8904 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/0.6922, allocations: 71.98 kB / 0.8905 GB, free: 3.902 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.6924, allocations: 64.86 kB / 0.8905 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.531e-05/0.6924, allocations: 31.98 kB / 0.8906 GB, free: 3.809 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005206/0.693, allocations: 411.1 kB / 0.891 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.693, allocations: 0 / 0.891 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008443/0.6938, allocations: 283.2 kB / 0.8912 GB, free: 3.137 MB / 0.7012 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 (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.00119/0.695, allocations: 0.554 MB / 0.8918 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001447/0.6965, allocations: 0.773 MB / 0.8925 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6965, allocations: 4 kB / 0.8925 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007915/0.6973, allocations: 496.2 kB / 0.893 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.6984, allocations: 265.9 kB / 0.8933 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.7021, allocations: 2.049 MB / 0.8953 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006671/0.7027, allocations: 1.003 MB / 0.8962 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007929/0.7035, allocations: 250.2 kB / 0.8965 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.7038, allocations: 99.39 kB / 0.8966 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of SimCode: time 6.41e-07/0.7038, allocations: 0 / 0.8966 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of Templates: time 0.02155/0.7254, allocations: 12.9 MB / 0.9092 GB, free: 1.012 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) Environment - environmentSimulation: