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.004567/0.004567, allocations: 101.9 kB / 15.73 MB, free: 6.016 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.001308/0.001308, allocations: 193 kB / 16.67 MB, free: 5.934 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002479/0.002479, allocations: 299.2 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.158/1.158, allocations: 178.5 MB / 0.5074 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 103.8 kB / 0.6943 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3655, allocations: 89.13 MB / 0.7813 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.00216/0.3677, allocations: 1.475 MB / 0.7828 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002031/0.3679, allocations: 57.38 kB / 0.7828 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.368, allocations: 1.375 kB / 0.7828 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.368, allocations: 0 / 0.7828 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.087e-05/0.3681, allocations: 13.08 kB / 0.7829 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.3683, allocations: 21.28 kB / 0.7829 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.747e-05/0.3684, allocations: 36.92 kB / 0.7829 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.675e-05/0.3684, allocations: 6.375 kB / 0.7829 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.204e-05/0.3685, allocations: 10.36 kB / 0.7829 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/0.3685, allocations: 21.06 kB / 0.7829 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.3686, allocations: 3 kB / 0.7829 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.3686, allocations: 2.625 kB / 0.783 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.3686, allocations: 9.188 kB / 0.783 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.3686, allocations: 13.44 kB / 0.783 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 7.912e-05/0.3687, allocations: 28.08 kB / 0.783 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3687, allocations: 7.938 kB / 0.783 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3687, allocations: 1.094 kB / 0.783 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.3688, allocations: 0 / 0.783 GB, free: 15.8 MB / 0.5606 GB 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.0004641/0.3692, allocations: 341.4 kB / 0.7833 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3693, allocations: 10.03 kB / 0.7833 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.3693, allocations: 32 kB / 0.7834 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.3693, allocations: 6.266 kB / 0.7834 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.3695, allocations: 174.7 kB / 0.7835 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3695, allocations: 384 / 0.7835 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.3695, allocations: 5.719 kB / 0.7836 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.3697, allocations: 50.77 kB / 0.7836 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.3697, allocations: 5.062 kB / 0.7836 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.3697, allocations: 0 / 0.7836 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3697, allocations: 1.062 kB / 0.7836 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.3699, allocations: 37.28 kB / 0.7836 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.3704, allocations: 288.5 kB / 0.7839 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.3705, allocations: 31.41 kB / 0.7839 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.395e-05/0.3706, allocations: 27.14 kB / 0.784 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.3706, allocations: 4 kB / 0.784 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.3706, allocations: 30.56 kB / 0.784 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.3706, allocations: 1.219 kB / 0.784 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.00032/0.3709, allocations: 72.5 kB / 0.7841 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.371, allocations: 56.55 kB / 0.7841 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.937e-05/0.3711, allocations: 101.2 kB / 0.7842 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.3711, allocations: 29.7 kB / 0.7843 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.3712, allocations: 89.28 kB / 0.7843 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.3712, allocations: 5.141 kB / 0.7843 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.3712, allocations: 11.94 kB / 0.7844 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3714, allocations: 314.8 kB / 0.7847 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-05/0.3714, allocations: 13.05 kB / 0.7847 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.3715, allocations: 16.48 kB / 0.7847 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.3717, allocations: 40.97 kB / 0.7847 GB, free: 14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3717, allocations: 0 / 0.7847 GB, free: 14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001789/0.3719, allocations: 62.67 kB / 0.7848 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.3719, allocations: 5.031 kB / 0.7848 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3719, allocations: 0 / 0.7848 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.3719, allocations: 9.25 kB / 0.7848 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.16e-05/0.372, allocations: 7.516 kB / 0.7848 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.372, allocations: 0.9688 kB / 0.7848 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.372, allocations: 7.891 kB / 0.7848 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.372, allocations: 1.438 kB / 0.7848 GB, free: 13.93 MB / 0.5606 GB 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 7.71e-05/0.3721, allocations: 111.1 kB / 0.7849 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.3722, allocations: 1.312 kB / 0.7849 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.3722, allocations: 12.84 kB / 0.7849 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.3722, allocations: 4 kB / 0.7849 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3722, allocations: 1.25 kB / 0.7849 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3722, allocations: 0 / 0.7849 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.3724, allocations: 163.1 kB / 0.7851 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3724, allocations: 0 / 0.7851 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.061e-05/0.3724, allocations: 8.109 kB / 0.7851 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3724, allocations: 1.438 kB / 0.7851 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.3725, allocations: 3.938 kB / 0.7851 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3725, allocations: 0 / 0.7851 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3725, allocations: 1.438 kB / 0.7851 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.3727, allocations: 167.9 kB / 0.7853 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.3728, allocations: 78.55 kB / 0.7853 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.3728, allocations: 0 / 0.7853 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.682e-05/0.3729, allocations: 10.7 kB / 0.7854 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.3729, allocations: 5.625 kB / 0.7854 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3729, allocations: 4.031 kB / 0.7854 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.434e-05/0.373, allocations: 84.77 kB / 0.7854 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.373, allocations: 0 / 0.7854 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002156/0.3732, allocations: 6.031 kB / 0.7855 GB, free: 13.25 MB / 0.5606 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.0005469/0.3738, allocations: 0.694 MB / 0.7861 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001948/0.374, allocations: 34.94 kB / 0.7862 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.374, allocations: 0 / 0.7862 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.3741, allocations: 17.72 kB / 0.7862 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.3743, allocations: 15.86 kB / 0.7862 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.3747, allocations: 140.1 kB / 0.7863 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.375, allocations: 0.6773 MB / 0.787 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.375, allocations: 1.406 kB / 0.787 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.3751, allocations: 12.09 kB / 0.787 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.3751, allocations: 3.938 kB / 0.787 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.3965, allocations: 1.515 MB / 0.7885 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/8.118, allocations: 28.59 kB / 0.7885 GB, free: 10.88 MB / 0.5606 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)