Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00083/0.0008301, allocations: 99.55 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.0008928/0.0008928, 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.184/1.184, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001682/0.001683, allocations: 271.2 kB / 291.3 MB, free: 1.875 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.7219/0.7219, allocations: 144.6 MB / 487 MB, free: 7.215 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003861, allocations: 15 kB / 0.5683 GB, free: 38.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1407, allocations: 83.08 MB / 0.6494 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001157/0.1419, allocations: 0.9832 MB / 0.6504 GB, free: 2.648 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008217/0.1427, allocations: 0.6928 MB / 0.6511 GB, free: 1.953 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.365e-05/0.1427, allocations: 0.625 kB / 0.6511 GB, free: 1.953 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.1428, allocations: 0 / 0.6511 GB, free: 1.953 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.1429, allocations: 5.297 kB / 0.6511 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.1431, allocations: 48.53 kB / 0.6511 GB, free: 1.902 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.193e-05/0.1431, allocations: 7.984 kB / 0.6511 GB, free: 1.895 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.1432, allocations: 0.5625 kB / 0.6511 GB, free: 1.895 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.612e-05/0.1432, allocations: 21.31 kB / 0.6511 GB, free: 1.875 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.1433, allocations: 8 kB / 0.6512 GB, free: 1.867 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.1433, allocations: 0 / 0.6512 GB, free: 1.867 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.968e-05/0.1434, allocations: 4 kB / 0.6512 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.1434, allocations: 1.312 kB / 0.6512 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.1434, allocations: 33.64 kB / 0.6512 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.319e-05/0.1435, allocations: 15.97 kB / 0.6512 GB, free: 1.809 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1435, allocations: 0 / 0.6512 GB, free: 1.809 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1435, allocations: 1.719 kB / 0.6512 GB, free: 1.809 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1435, allocations: 7.938 kB / 0.6512 GB, free: 1.801 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002477/0.1438, allocations: 323.5 kB / 0.6515 GB, free: 1.438 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.1438, allocations: 10.72 kB / 0.6515 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.1439, allocations: 75.28 kB / 0.6516 GB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.144, allocations: 242.4 kB / 0.6518 GB, free: 1.078 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.144, allocations: 154.5 kB / 0.652 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.1441, allocations: 151.1 kB / 0.6521 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.98e-05/0.1442, allocations: 105.6 kB / 0.6522 GB, free: 0.668 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.1442, allocations: 75.78 kB / 0.6523 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.1442, allocations: 155.5 kB / 0.6524 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.846e-05/0.1443, allocations: 156.2 kB / 0.6526 GB, free: 296 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.988e-05/0.1443, allocations: 158.5 kB / 0.6527 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.1446, allocations: 451.9 kB / 0.6532 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.217e-05/0.1447, allocations: 165.1 kB / 0.6533 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.1447, allocations: 80.89 kB / 0.6534 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.1448, allocations: 111.5 kB / 0.6535 GB, free: 15.28 MB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.1448, allocations: 4 kB / 0.6535 GB, free: 15.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 5.911e-05/0.1448, allocations: 25.7 kB / 0.6535 GB, free: 15.24 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.1449, allocations: 126.7 kB / 0.6537 GB, free: 15.11 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.239e-05/0.145, allocations: 106.6 kB / 0.6538 GB, free: 14.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.145, allocations: 26.95 kB / 0.6538 GB, free: 14.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.1451, allocations: 88.05 kB / 0.6539 GB, free: 14.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.1451, allocations: 4 kB / 0.6539 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-06/0.1451, allocations: 0.6562 kB / 0.6539 GB, free: 14.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.1452, allocations: 311.4 kB / 0.6542 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.1452, allocations: 4.531 kB / 0.6542 GB, free: 14.55 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.255e-05/0.1452, allocations: 8.609 kB / 0.6542 GB, free: 14.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.869e-05/0.1452, allocations: 8.531 kB / 0.6542 GB, free: 14.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1453, allocations: 0 / 0.6542 GB, free: 14.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.314e-05/0.1454, allocations: 51.17 kB / 0.6543 GB, free: 14.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.1454, allocations: 7.953 kB / 0.6543 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1454, allocations: 0 / 0.6543 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1454, allocations: 0.6562 kB / 0.6543 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.1454, allocations: 0 / 0.6543 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1454, allocations: 4.75 kB / 0.6543 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.285e-05/0.1455, allocations: 0 / 0.6543 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1455, allocations: 4.859 kB / 0.6543 GB, free: 14.46 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: 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): 0 * Array equations: 1 * 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 8.199e-05/0.1456, allocations: 185.8 kB / 0.6544 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.445e-05/0.1457, allocations: 105.4 kB / 0.6545 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.1457, allocations: 113.3 kB / 0.6547 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.312e-05/0.1458, allocations: 181 kB / 0.6548 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.456e-05/0.1459, allocations: 186.2 kB / 0.655 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.037e-05/0.1459, allocations: 180.2 kB / 0.6552 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.1461, allocations: 409.7 kB / 0.6556 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-05/0.1462, allocations: 105.5 kB / 0.6557 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.1462, allocations: 107 kB / 0.6558 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.665e-05/0.1463, allocations: 180.4 kB / 0.6559 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/0.1463, allocations: 180.2 kB / 0.6561 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.955e-05/0.1464, allocations: 188.8 kB / 0.6563 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.042e-05/0.1464, allocations: 189.8 kB / 0.6565 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.1466, allocations: 300.8 kB / 0.6568 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.1467, allocations: 184.5 kB / 0.6569 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/0.1467, allocations: 192.2 kB / 0.6571 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.1468, allocations: 105 kB / 0.6572 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.1469, allocations: 186.2 kB / 0.6574 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.1469, allocations: 101 kB / 0.6575 GB, free: 10.95 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.719e-05/0.1469, allocations: 87.27 kB / 0.6576 GB, free: 10.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1469, allocations: 0 / 0.6576 GB, free: 10.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002232/0.1472, allocations: 8 kB / 0.6576 GB, free: 10.86 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 (0): * Single equations (assignments): 0 * 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 0.0001819/0.1474, allocations: 184.5 kB / 0.6578 GB, free: 10.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 5.637e-05/0.1474, allocations: 8 kB / 0.6578 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1474, allocations: 0.6562 kB / 0.6578 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.1474, allocations: 4.688 kB / 0.6578 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.1477, allocations: 0.5244 MB / 0.6583 GB, free: 10.13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002105/0.1479, allocations: 168 kB / 0.6584 GB, free: 9.941 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.1482, allocations: 0.6809 MB / 0.6591 GB, free: 9.234 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.537e-05/0.1482, allocations: 0 / 0.6591 GB, free: 9.234 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.183e-05/0.1482, allocations: 11.44 kB / 0.6591 GB, free: 9.223 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1482, allocations: 4 kB / 0.6591 GB, free: 9.219 MB / 462.1 MB Notification: Performance of Templates: time 0.001881/0.1501, allocations: 400 kB / 0.6595 GB, free: 8.859 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) Environment - environmentSimulation: