Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000828/0.0008279, 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.0008453/0.0008453, 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.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001628/0.001628, allocations: 266.7 kB / 291.2 MB, free: 2.012 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.7423/0.7423, allocations: 144.6 MB / 487 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 14.91 kB / 0.5683 GB, free: 38.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1223, allocations: 83.09 MB / 0.6494 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.001786/0.1242, allocations: 1.509 MB / 0.6509 GB, free: 2.102 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1258, allocations: 1.455 MB / 0.6523 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.1259, allocations: 3.938 kB / 0.6523 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.1261, allocations: 15.92 kB / 0.6523 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.1263, allocations: 69.5 kB / 0.6524 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.1266, allocations: 143.2 kB / 0.6526 GB, free: 428 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.1268, allocations: 176.3 kB / 0.6527 GB, free: 256 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.304e-05/0.1269, allocations: 21.11 kB / 0.6527 GB, free: 232 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.507e-05/0.127, allocations: 79.81 kB / 0.6528 GB, free: 152 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.1271, allocations: 76.23 kB / 0.6529 GB, free: 76 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.1272, allocations: 8.656 kB / 0.6529 GB, free: 68 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1273, allocations: 55.86 kB / 0.6529 GB, free: 12 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.093e-05/0.1274, allocations: 76.39 kB / 0.653 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.1274, allocations: 62.11 kB / 0.6531 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.1277, allocations: 223.8 kB / 0.6533 GB, free: 15.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.1277, allocations: 0.625 kB / 0.6533 GB, free: 15.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1277, allocations: 0.9688 kB / 0.6533 GB, free: 15.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1277, allocations: 0 / 0.6533 GB, free: 15.65 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005995/0.1283, allocations: 0.5048 MB / 0.6538 GB, free: 15.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.1283, allocations: 8.031 kB / 0.6538 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.1285, allocations: 27.72 kB / 0.6538 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.1287, allocations: 270.3 kB / 0.6541 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.1288, allocations: 19.95 kB / 0.6541 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1288, allocations: 12.59 kB / 0.6541 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.1291, allocations: 234 kB / 0.6543 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.1291, allocations: 0.6562 kB / 0.6543 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.1292, allocations: 8 kB / 0.6543 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.1292, allocations: 8.688 kB / 0.6544 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007708/0.1299, allocations: 0.7451 MB / 0.6551 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009252/0.1309, allocations: 0.6479 MB / 0.6557 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.1313, allocations: 307.5 kB / 0.656 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.1314, allocations: 16.25 kB / 0.656 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.1317, allocations: 190.4 kB / 0.6562 GB, free: 12.51 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.1317, allocations: 0 / 0.6562 GB, free: 12.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005445/0.1322, allocations: 365.1 kB / 0.6566 GB, free: 12.15 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.1323, allocations: 136.5 kB / 0.6567 GB, free: 11.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.1325, allocations: 313.4 kB / 0.657 GB, free: 11.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.1326, allocations: 34.2 kB / 0.657 GB, free: 11.63 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.1327, allocations: 129.6 kB / 0.6571 GB, free: 11.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.299e-05/0.1328, allocations: 122.3 kB / 0.6573 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/0.1328, allocations: 4.75 kB / 0.6573 GB, free: 11.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1329, allocations: 336.9 kB / 0.6576 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.133, allocations: 79.95 kB / 0.6577 GB, free: 10.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.1332, allocations: 128.4 kB / 0.6578 GB, free: 10.83 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1333, allocations: 102.1 kB / 0.6579 GB, free: 10.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.1333, allocations: 0 / 0.6579 GB, free: 10.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003714/0.1337, allocations: 285 kB / 0.6581 GB, free: 10.45 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1337, allocations: 4 kB / 0.6582 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1337, allocations: 0.625 kB / 0.6582 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.1338, allocations: 4 kB / 0.6582 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.134, allocations: 65.22 kB / 0.6582 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.134, allocations: 3.938 kB / 0.6582 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.1341, allocations: 36.69 kB / 0.6583 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.1342, allocations: 12 kB / 0.6583 GB, free: 10.32 MB / 462.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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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 0.0001403/0.1343, allocations: 168.9 kB / 0.6584 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.1344, allocations: 27.72 kB / 0.6585 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005799/0.1349, allocations: 388.2 kB / 0.6588 GB, free: 9.742 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.135, allocations: 4 kB / 0.6588 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.135, allocations: 8 kB / 0.6588 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.135, allocations: 0 / 0.6588 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1352, allocations: 345.2 kB / 0.6592 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1353, allocations: 0 / 0.6592 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.1354, allocations: 59.91 kB / 0.6592 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1354, allocations: 3.938 kB / 0.6592 GB, free: 9.281 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.1355, allocations: 12 kB / 0.6592 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1355, allocations: 0 / 0.6592 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1355, allocations: 0 / 0.6592 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.1359, allocations: 333.5 kB / 0.6596 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.136, allocations: 152.6 kB / 0.6597 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.136, allocations: 8 kB / 0.6597 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1362, allocations: 33.95 kB / 0.6597 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.1363, allocations: 23.95 kB / 0.6598 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.1363, allocations: 16 kB / 0.6598 GB, free: 8.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001714/0.1365, allocations: 236.4 kB / 0.66 GB, free: 8.449 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1365, allocations: 0 / 0.66 GB, free: 8.449 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1368, allocations: 63.98 kB / 0.6601 GB, free: 8.387 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 0.0007643/0.1375, allocations: 405.9 kB / 0.6605 GB, free: 8.133 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003227/0.1379, allocations: 224.2 kB / 0.6607 GB, free: 7.914 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1379, allocations: 0 / 0.6607 GB, free: 7.914 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.138, allocations: 143.8 kB / 0.6608 GB, free: 7.773 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.1383, allocations: 32.38 kB / 0.6608 GB, free: 7.742 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007053/0.139, allocations: 0.5895 MB / 0.6614 GB, free: 7.129 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1392, allocations: 0.7697 MB / 0.6622 GB, free: 6.332 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002763/0.1395, allocations: 142.9 kB / 0.6623 GB, free: 6.191 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.1396, allocations: 43.42 kB / 0.6623 GB, free: 6.148 MB / 462.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1396, allocations: 0 / 0.6623 GB, free: 6.148 MB / 462.1 MB Notification: Performance of Templates: time 0.005661/0.1453, allocations: 3.147 MB / 0.6654 GB, free: 3.066 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) Environment - environmentSimulation: