Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001136, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.00203, allocations: 291 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9373/0.9373, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 107.7 kB / 0.5954 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1386, allocations: 86.97 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.002522/0.1411, allocations: 1.471 MB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001931/0.1413, allocations: 49.53 kB / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.1414, allocations: 0 / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.1414, allocations: 0 / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.237e-05/0.1415, allocations: 20.56 kB / 0.6818 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.1417, allocations: 19.92 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.247e-05/0.1417, allocations: 36.73 kB / 0.6818 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.844e-05/0.1418, allocations: 11.92 kB / 0.6819 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.067e-05/0.1419, allocations: 16.56 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.1419, allocations: 13.48 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.142, allocations: 7.938 kB / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.142, allocations: 0 / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.142, allocations: 3.984 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.142, allocations: 15.94 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.528e-05/0.1421, allocations: 32.45 kB / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1421, allocations: 4 kB / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1421, allocations: 0 / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1421, allocations: 0 / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004321/0.1426, allocations: 343.4 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1426, allocations: 16.02 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.1427, allocations: 30.75 kB / 0.6823 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.1427, allocations: 0.9375 kB / 0.6823 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1428, allocations: 172.2 kB / 0.6825 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.1428, allocations: 4.375 kB / 0.6825 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.1428, allocations: 4.375 kB / 0.6825 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.143, allocations: 54.22 kB / 0.6825 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.143, allocations: 3.938 kB / 0.6825 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1431, allocations: 4 kB / 0.6825 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1431, allocations: 0 / 0.6825 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.1432, allocations: 31.95 kB / 0.6826 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.1437, allocations: 280.8 kB / 0.6828 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1438, allocations: 30.62 kB / 0.6829 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.951e-05/0.1439, allocations: 20.84 kB / 0.6829 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-06/0.1439, allocations: 0 / 0.6829 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.1439, allocations: 34.56 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1439, allocations: 3.938 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003209/0.1442, allocations: 81.58 kB / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.1443, allocations: 51.41 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.1444, allocations: 105.8 kB / 0.6832 GB, free: 13.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1444, allocations: 25.83 kB / 0.6832 GB, free: 13.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.1444, allocations: 84.14 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.1444, allocations: 7.906 kB / 0.6833 GB, free: 13.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.1445, allocations: 13.72 kB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.1446, allocations: 314.8 kB / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.1446, allocations: 11.98 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.28e-05/0.1447, allocations: 19.98 kB / 0.6836 GB, free: 12.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1449, allocations: 41.02 kB / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1449, allocations: 0 / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001861/0.1451, allocations: 69.59 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1451, allocations: 4 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1451, allocations: 0 / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1451, allocations: 0 / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/0.1452, allocations: 12.02 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1452, allocations: 4 kB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.356e-05/0.1453, allocations: 0 / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.1453, allocations: 4 kB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.157e-05/0.1453, allocations: 119.1 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.1454, allocations: 4 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.729e-05/0.1454, allocations: 3.531 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1454, allocations: 0 / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1454, allocations: 4 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1454, allocations: 0 / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.1456, allocations: 165.5 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1456, allocations: 0 / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.1456, allocations: 8 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1456, allocations: 3.984 kB / 0.684 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-06/0.1457, allocations: 0 / 0.684 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1457, allocations: 0 / 0.684 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1457, allocations: 0 / 0.684 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1459, allocations: 163.4 kB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.1459, allocations: 85.09 kB / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.146, allocations: 0 / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.1461, allocations: 7.984 kB / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.1461, allocations: 4 kB / 0.6843 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1461, allocations: 0 / 0.6843 GB, free: 12.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.84e-05/0.1461, allocations: 87.31 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1462, allocations: 0 / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.1464, allocations: 11.92 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004717/0.1469, allocations: 0.7007 MB / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.1471, allocations: 27.97 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1471, allocations: 0 / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.1472, allocations: 15.98 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.1474, allocations: 13.73 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.1478, allocations: 151.8 kB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.148, allocations: 0.6768 MB / 0.6859 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.737e-05/0.1481, allocations: 3.984 kB / 0.6859 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.1481, allocations: 19.38 kB / 0.6859 GB, free: 10.36 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1481, allocations: 0 / 0.6859 GB, free: 10.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.1646, allocations: 1.502 MB / 0.6874 GB, free: 9.043 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.85/7.014, allocations: 6.625 kB / 0.6874 GB, free: 9.039 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1)