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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008485/0.0008486, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009082/0.0009083, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.167/1.167, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001637/0.001637, allocations: 266.8 kB / 291.3 MB, free: 1.801 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7268/0.7268, allocations: 144.6 MB / 487 MB, free: 7.223 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003816, allocations: 14.22 kB / 0.5683 GB, free: 38.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1305, allocations: 83.09 MB / 0.6494 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.001374/0.1319, allocations: 1.172 MB / 0.6506 GB, free: 2.461 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001429/0.132, allocations: 39.91 kB / 0.6506 GB, free: 2.422 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.1321, allocations: 0 / 0.6506 GB, free: 2.422 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.083e-05/0.1321, allocations: 2 kB / 0.6506 GB, free: 2.422 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.95e-05/0.1322, allocations: 15.97 kB / 0.6506 GB, free: 2.406 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.1323, allocations: 11.98 kB / 0.6507 GB, free: 2.395 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.259e-05/0.1324, allocations: 27.89 kB / 0.6507 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.592e-05/0.1325, allocations: 8.594 kB / 0.6507 GB, free: 2.359 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.904e-05/0.1325, allocations: 11.98 kB / 0.6507 GB, free: 2.348 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.1326, allocations: 16.55 kB / 0.6507 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.1326, allocations: 0.5312 kB / 0.6507 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/0.1326, allocations: 5.594 kB / 0.6507 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.1326, allocations: 0 / 0.6507 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.1326, allocations: 33.64 kB / 0.6508 GB, free: 2.289 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.779e-05/0.1327, allocations: 23.95 kB / 0.6508 GB, free: 2.266 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.1327, allocations: 0 / 0.6508 GB, free: 2.266 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1327, allocations: 1.062 kB / 0.6508 GB, free: 2.266 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.1327, allocations: 3.938 kB / 0.6508 GB, free: 2.262 MB / 446.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.0003768/0.1331, allocations: 341.4 kB / 0.6511 GB, free: 1.883 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.1331, allocations: 8.031 kB / 0.6511 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.1332, allocations: 5.031 kB / 0.6511 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.857e-05/0.1333, allocations: 167.1 kB / 0.6513 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1333, allocations: 7.953 kB / 0.6513 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.1333, allocations: 5.531 kB / 0.6513 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1335, allocations: 54.39 kB / 0.6513 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.1335, allocations: 1.25 kB / 0.6513 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1335, allocations: 0 / 0.6513 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1335, allocations: 3.984 kB / 0.6513 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.1337, allocations: 41.75 kB / 0.6514 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.1341, allocations: 296.6 kB / 0.6517 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1342, allocations: 39.92 kB / 0.6517 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.1342, allocations: 4.938 kB / 0.6517 GB, free: 1.168 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.1343, allocations: 31.28 kB / 0.6517 GB, free: 1.129 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1343, allocations: 0 / 0.6517 GB, free: 1.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003026/0.1346, allocations: 90.31 kB / 0.6518 GB, free: 1.039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.1346, allocations: 55.34 kB / 0.6519 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.862e-05/0.1347, allocations: 105.8 kB / 0.652 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.1347, allocations: 26.61 kB / 0.652 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.1347, allocations: 92.12 kB / 0.6521 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.1348, allocations: 9.5 kB / 0.6521 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.1348, allocations: 0 / 0.6521 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.1349, allocations: 314.8 kB / 0.6524 GB, free: 420 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-05/0.1349, allocations: 26.11 kB / 0.6524 GB, free: 396 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.135, allocations: 16.8 kB / 0.6524 GB, free: 380 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.032e-05/0.1351, allocations: 22.92 kB / 0.6525 GB, free: 360 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1351, allocations: 0 / 0.6525 GB, free: 360 kB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001665/0.1353, allocations: 75.19 kB / 0.6525 GB, free: 280 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.1353, allocations: 4 kB / 0.6525 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1353, allocations: 0.5625 kB / 0.6525 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.1353, allocations: 3.938 kB / 0.6525 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.035e-05/0.1354, allocations: 13.7 kB / 0.6526 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.1354, allocations: 0 / 0.6526 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.1355, allocations: 13.08 kB / 0.6526 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1355, allocations: 4 kB / 0.6526 GB, free: 244 kB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.644e-05/0.1355, allocations: 114 kB / 0.6527 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.1356, allocations: 4 kB / 0.6527 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.465e-05/0.1356, allocations: 3.531 kB / 0.6527 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1356, allocations: 0 / 0.6527 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1356, allocations: 0 / 0.6527 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1356, allocations: 0 / 0.6527 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.1358, allocations: 165.6 kB / 0.6529 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1358, allocations: 0 / 0.6529 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/0.1358, allocations: 7.984 kB / 0.6529 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1358, allocations: 8 kB / 0.6529 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.1358, allocations: 0 / 0.6529 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1358, allocations: 0 / 0.6529 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1359, allocations: 0 / 0.6529 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.1361, allocations: 179.4 kB / 0.653 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.1361, allocations: 81.06 kB / 0.6531 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.1361, allocations: 256 / 0.6531 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.1362, allocations: 19.98 kB / 0.6531 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.1363, allocations: 0 / 0.6531 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1363, allocations: 0 / 0.6531 GB, free: 15.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.05e-05/0.1363, allocations: 87.3 kB / 0.6532 GB, free: 15.49 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1363, allocations: 4 kB / 0.6532 GB, free: 15.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002027/0.1365, allocations: 8 kB / 0.6532 GB, free: 15.48 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.274e-05/0.1366, allocations: 99.25 kB / 0.6533 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1368, allocations: 47.91 kB / 0.6534 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1368, allocations: 0 / 0.6534 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.976e-05/0.1369, allocations: 19.92 kB / 0.6534 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.1371, allocations: 11.98 kB / 0.6534 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002049/0.1373, allocations: 118.7 kB / 0.6535 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.1375, allocations: 0.677 MB / 0.6542 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.312e-05/0.1376, allocations: 4 kB / 0.6542 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.1376, allocations: 7.438 kB / 0.6542 GB, free: 14.43 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1376, allocations: 0 / 0.6542 GB, free: 14.43 MB / 462.1 MB Notification: Performance of Templates: time 0.001971/0.1396, allocations: 0.5098 MB / 0.6547 GB, free: 13.97 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.makefile Environment - environmentSimulation: (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1) Environment - environmentSimulation: