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.001279/0.001279, allocations: 108 kB / 15.61 MB, free: 152 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.001385/0.001386, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002601/0.002601, allocations: 298.8 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.075/1.075, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 105.9 kB / 0.6065 GB, free: 24.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1619, allocations: 89.15 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.002841/0.1648, allocations: 1.469 MB / 0.695 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001924/0.165, allocations: 52.45 kB / 0.6951 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.165, allocations: 2.469 kB / 0.6951 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.1651, allocations: 3.984 kB / 0.6951 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.461e-05/0.1651, allocations: 15.86 kB / 0.6951 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.1653, allocations: 11.98 kB / 0.6951 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.545e-05/0.1654, allocations: 35.86 kB / 0.6952 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.109e-05/0.1655, allocations: 14.02 kB / 0.6952 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.672e-05/0.1655, allocations: 15.92 kB / 0.6952 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.1656, allocations: 19.86 kB / 0.6952 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1656, allocations: 0 / 0.6952 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.1656, allocations: 4 kB / 0.6952 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.1656, allocations: 8 kB / 0.6952 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.1657, allocations: 15.94 kB / 0.6952 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.243e-05/0.1658, allocations: 31.83 kB / 0.6953 GB, free: 2.539 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1658, allocations: 4 kB / 0.6953 GB, free: 2.535 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1658, allocations: 0 / 0.6953 GB, free: 2.535 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1658, allocations: 0 / 0.6953 GB, free: 2.535 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.0005168/0.1663, allocations: 339.5 kB / 0.6956 GB, free: 2.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1664, allocations: 8.031 kB / 0.6956 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.1664, allocations: 38.75 kB / 0.6956 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.1665, allocations: 0.9375 kB / 0.6956 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.1666, allocations: 180.2 kB / 0.6958 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1666, allocations: 384 / 0.6958 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-06/0.1666, allocations: 384 / 0.6958 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1668, allocations: 50.23 kB / 0.6959 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1668, allocations: 3.938 kB / 0.6959 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1669, allocations: 4 kB / 0.6959 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.1669, allocations: 0 / 0.6959 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.167, allocations: 35.95 kB / 0.6959 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.1676, allocations: 280.8 kB / 0.6962 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1677, allocations: 26.56 kB / 0.6962 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.255e-05/0.1678, allocations: 32.89 kB / 0.6962 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.1678, allocations: 0 / 0.6962 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.1678, allocations: 30.56 kB / 0.6963 GB, free: 1.352 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1678, allocations: 0 / 0.6963 GB, free: 1.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000354/0.1682, allocations: 73.59 kB / 0.6963 GB, free: 1.273 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.1683, allocations: 55.53 kB / 0.6964 GB, free: 1.207 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.1684, allocations: 105.8 kB / 0.6965 GB, free: 1.094 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1684, allocations: 25.7 kB / 0.6965 GB, free: 1.062 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.1684, allocations: 88.05 kB / 0.6966 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.1685, allocations: 7.984 kB / 0.6966 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.1685, allocations: 9.719 kB / 0.6966 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1686, allocations: 314.8 kB / 0.6969 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-05/0.1687, allocations: 19.92 kB / 0.6969 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/0.1688, allocations: 11.98 kB / 0.6969 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.169, allocations: 44.75 kB / 0.697 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.169, allocations: 0 / 0.697 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001856/0.1692, allocations: 61.67 kB / 0.697 GB, free: 500 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1692, allocations: 8.031 kB / 0.697 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1692, allocations: 0 / 0.697 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1692, allocations: 3.938 kB / 0.697 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.1693, allocations: 7.984 kB / 0.6971 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.1693, allocations: 4 kB / 0.6971 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.1694, allocations: 3.984 kB / 0.6971 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1694, allocations: 4.25 kB / 0.6971 GB, free: 468 kB / 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 8.166e-05/0.1695, allocations: 109.8 kB / 0.6972 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.1695, allocations: 7.906 kB / 0.6972 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.782e-05/0.1695, allocations: 11.53 kB / 0.6972 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1695, allocations: 4 kB / 0.6972 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1695, allocations: 0 / 0.6972 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1695, allocations: 3.984 kB / 0.6972 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.1697, allocations: 161.6 kB / 0.6973 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1697, allocations: 0 / 0.6973 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/0.1698, allocations: 11.98 kB / 0.6974 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1698, allocations: 0 / 0.6974 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1698, allocations: 0 / 0.6974 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1698, allocations: 4 kB / 0.6974 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1698, allocations: 0 / 0.6974 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.1701, allocations: 159.4 kB / 0.6975 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.1701, allocations: 81.11 kB / 0.6976 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.1702, allocations: 0 / 0.6976 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1703, allocations: 12.02 kB / 0.6976 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.1703, allocations: 8 kB / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1703, allocations: 0 / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.1704, allocations: 83.27 kB / 0.6977 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1704, allocations: 0 / 0.6977 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000218/0.1706, allocations: 4 kB / 0.6977 GB, free: 15.71 MB / 0.4981 GB 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.0005654/0.1712, allocations: 0.7045 MB / 0.6984 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1714, allocations: 31.97 kB / 0.6984 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1714, allocations: 3.938 kB / 0.6984 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.468e-05/0.1715, allocations: 16.06 kB / 0.6984 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1718, allocations: 12.72 kB / 0.6984 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.1722, allocations: 139.8 kB / 0.6986 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.1725, allocations: 0.6768 MB / 0.6992 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.61e-05/0.1725, allocations: 0 / 0.6992 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.1726, allocations: 15.38 kB / 0.6993 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1726, allocations: 7.938 kB / 0.6993 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.1947, allocations: 1.487 MB / 0.7007 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/7.801, allocations: 18.39 kB / 0.7007 GB, free: 12.7 MB / 0.4981 GB (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)