Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="IDEAS_IDEAS_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.001145/0.001145, 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.001191/0.001191, allocations: 194.3 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.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7272/0.7272, allocations: 132.2 MB / 422.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 59.39 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3613, allocations: 80.21 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.002448/0.3638, allocations: 1.471 MB / 0.5816 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001723/0.364, allocations: 43.95 kB / 0.5817 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.364, allocations: 0.7188 kB / 0.5817 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.3641, allocations: 5.25 kB / 0.5817 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.271e-05/0.3641, allocations: 5.828 kB / 0.5817 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.3643, allocations: 21.55 kB / 0.5817 GB, free: 3.508 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.534e-05/0.3644, allocations: 48.06 kB / 0.5818 GB, free: 3.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.542e-05/0.3645, allocations: 12.38 kB / 0.5818 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.242e-05/0.3645, allocations: 12.94 kB / 0.5818 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.884e-05/0.3646, allocations: 16.3 kB / 0.5818 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3646, allocations: 2.875 kB / 0.5818 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.3646, allocations: 2.531 kB / 0.5818 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.3646, allocations: 2.125 kB / 0.5818 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.3647, allocations: 19.16 kB / 0.5818 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.446e-05/0.3647, allocations: 35.17 kB / 0.5819 GB, free: 3.434 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3647, allocations: 4.656 kB / 0.5819 GB, free: 3.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3648, allocations: 1.312 kB / 0.5819 GB, free: 3.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.3648, allocations: 0 / 0.5819 GB, free: 3.43 MB / 430.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.0003219/0.3651, allocations: 343.5 kB / 0.5822 GB, free: 3.066 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.3651, allocations: 9.406 kB / 0.5822 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.229e-05/0.3652, allocations: 32.39 kB / 0.5822 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.3652, allocations: 6.953 kB / 0.5822 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.486e-05/0.3653, allocations: 163.7 kB / 0.5824 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3653, allocations: 5.156 kB / 0.5824 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.3653, allocations: 9.656 kB / 0.5824 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.3655, allocations: 54.84 kB / 0.5825 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3655, allocations: 3.938 kB / 0.5825 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3655, allocations: 1.672 kB / 0.5825 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3655, allocations: 0 / 0.5825 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.3656, allocations: 32.59 kB / 0.5825 GB, free: 2.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.366, allocations: 276.5 kB / 0.5828 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.3661, allocations: 36.61 kB / 0.5828 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.918e-05/0.3662, allocations: 19.05 kB / 0.5828 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-06/0.3662, allocations: 0 / 0.5828 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.3663, allocations: 36.56 kB / 0.5828 GB, free: 2.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.3663, allocations: 0 / 0.5828 GB, free: 2.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003053/0.3666, allocations: 80.19 kB / 0.5829 GB, free: 2.367 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.716e-05/0.3666, allocations: 52.34 kB / 0.583 GB, free: 2.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.009e-05/0.3666, allocations: 103.4 kB / 0.5831 GB, free: 2.203 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.3667, allocations: 30.61 kB / 0.5831 GB, free: 2.168 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.3667, allocations: 89.17 kB / 0.5832 GB, free: 2.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.3667, allocations: 0.5312 kB / 0.5832 GB, free: 2.082 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.3667, allocations: 16.17 kB / 0.5832 GB, free: 2.062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.964e-05/0.3668, allocations: 313.1 kB / 0.5835 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.598e-05/0.3669, allocations: 13.66 kB / 0.5835 GB, free: 1.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.84e-05/0.3669, allocations: 17.44 kB / 0.5835 GB, free: 1.746 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.3671, allocations: 37.86 kB / 0.5836 GB, free: 1.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3671, allocations: 1.562 kB / 0.5836 GB, free: 1.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001665/0.3673, allocations: 62.72 kB / 0.5836 GB, free: 1.691 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3673, allocations: 5.922 kB / 0.5836 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.3673, allocations: 0 / 0.5836 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3673, allocations: 1.344 kB / 0.5836 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.3674, allocations: 14.78 kB / 0.5836 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3674, allocations: 0.75 kB / 0.5836 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.3675, allocations: 6.406 kB / 0.5837 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.3675, allocations: 4.922 kB / 0.5837 GB, free: 1.68 MB / 430.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 4.506e-05/0.3675, allocations: 121.9 kB / 0.5838 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.3675, allocations: 1.953 kB / 0.5838 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.479e-05/0.3676, allocations: 5.891 kB / 0.5838 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3676, allocations: 0 / 0.5838 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3676, allocations: 15.88 kB / 0.5838 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3676, allocations: 1.75 kB / 0.5838 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.3677, allocations: 161.6 kB / 0.584 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3677, allocations: 0 / 0.584 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.3678, allocations: 7.562 kB / 0.584 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.3678, allocations: 0 / 0.584 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.3678, allocations: 0.7188 kB / 0.584 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3678, allocations: 1.375 kB / 0.584 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3678, allocations: 0.7969 kB / 0.584 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.368, allocations: 167 kB / 0.5841 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.668e-05/0.368, allocations: 87.36 kB / 0.5842 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.368, allocations: 0 / 0.5842 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.445e-05/0.3681, allocations: 11.06 kB / 0.5842 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.3682, allocations: 2.578 kB / 0.5842 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.3682, allocations: 0 / 0.5842 GB, free: 1.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.288e-05/0.3682, allocations: 90.28 kB / 0.5843 GB, free: 1.008 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3682, allocations: 0 / 0.5843 GB, free: 1.008 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.3684, allocations: 6.438 kB / 0.5843 GB, free: 1.008 MB / 430.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.0003323/0.3687, allocations: 0.6927 MB / 0.585 GB, free: 348 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.3689, allocations: 39.8 kB / 0.585 GB, free: 336 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.369, allocations: 0 / 0.585 GB, free: 336 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.65e-05/0.369, allocations: 17.97 kB / 0.585 GB, free: 332 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.3693, allocations: 5.75 kB / 0.585 GB, free: 332 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.3696, allocations: 142.6 kB / 0.5852 GB, free: 176 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.3698, allocations: 0.6777 MB / 0.5858 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.345e-05/0.3699, allocations: 1.156 kB / 0.5858 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.3699, allocations: 13.42 kB / 0.5859 GB, free: 15.46 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3699, allocations: 0 / 0.5859 GB, free: 15.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.3855, allocations: 1.453 MB / 0.5873 GB, free: 15.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/7.027, allocations: 14.44 kB / 0.5873 GB, free: 15.14 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1)