Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008376/0.0008375, allocations: 99.39 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.000897/0.000897, allocations: 177.3 kB / 15.95 MB, free: 216 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.179/1.179, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001622/0.001622, allocations: 266.7 kB / 291.3 MB, free: 2.004 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.7387/0.7387, allocations: 144.6 MB / 487 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 15.62 kB / 0.5683 GB, free: 38.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.133, allocations: 83.08 MB / 0.6494 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001053/0.1341, allocations: 0.9585 MB / 0.6504 GB, free: 2.621 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1353, allocations: 0.9432 MB / 0.6513 GB, free: 1.672 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.904e-05/0.1353, allocations: 1.844 kB / 0.6513 GB, free: 1.672 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.1353, allocations: 0 / 0.6513 GB, free: 1.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.1356, allocations: 91.66 kB / 0.6514 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.304e-06/0.1356, allocations: 0 / 0.6514 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 2.562e-05/0.1356, allocations: 0 / 0.6514 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.1357, allocations: 0.8125 kB / 0.6514 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.395e-05/0.1357, allocations: 3.984 kB / 0.6514 GB, free: 1.578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.1358, allocations: 4.812 kB / 0.6514 GB, free: 1.574 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.961e-06/0.1358, allocations: 3.938 kB / 0.6514 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.1359, allocations: 87.92 kB / 0.6515 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.725e-06/0.136, allocations: 0.6875 kB / 0.6515 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.384e-05/0.136, allocations: 26.89 kB / 0.6515 GB, free: 1.453 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.1361, allocations: 79.84 kB / 0.6516 GB, free: 1.375 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1361, allocations: 0 / 0.6516 GB, free: 1.375 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1361, allocations: 0 / 0.6516 GB, free: 1.375 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.1361, allocations: 1.844 kB / 0.6516 GB, free: 1.375 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.0002474/0.1364, allocations: 339.4 kB / 0.6519 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.1364, allocations: 11.97 kB / 0.6519 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.1365, allocations: 80.09 kB / 0.652 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1366, allocations: 240.5 kB / 0.6522 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.792e-05/0.1367, allocations: 154.5 kB / 0.6524 GB, free: 492 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.1367, allocations: 162.5 kB / 0.6525 GB, free: 328 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.475e-05/0.1368, allocations: 107.2 kB / 0.6526 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.1368, allocations: 75.28 kB / 0.6527 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/0.1369, allocations: 150.6 kB / 0.6528 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.1369, allocations: 159.2 kB / 0.653 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.997e-05/0.137, allocations: 151.8 kB / 0.6531 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.1372, allocations: 442.6 kB / 0.6536 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.822e-05/0.1373, allocations: 178.2 kB / 0.6537 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.1373, allocations: 79.77 kB / 0.6538 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.1373, allocations: 115.8 kB / 0.6539 GB, free: 14.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1374, allocations: 0 / 0.6539 GB, free: 14.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 6.152e-05/0.1374, allocations: 25.7 kB / 0.6539 GB, free: 14.79 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.1375, allocations: 131.9 kB / 0.6541 GB, free: 14.65 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.102e-05/0.1376, allocations: 93.86 kB / 0.6542 GB, free: 14.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.1376, allocations: 26.45 kB / 0.6542 GB, free: 14.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.663e-05/0.1376, allocations: 84.73 kB / 0.6543 GB, free: 14.43 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.253e-06/0.1376, allocations: 0 / 0.6543 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.1376, allocations: 1.5 kB / 0.6543 GB, free: 14.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.1377, allocations: 310.8 kB / 0.6546 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-06/0.1377, allocations: 0 / 0.6546 GB, free: 14.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.344e-06/0.1377, allocations: 4.656 kB / 0.6546 GB, free: 14.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.246e-05/0.1378, allocations: 80.02 kB / 0.6546 GB, free: 14.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/0.1378, allocations: 75.28 kB / 0.6547 GB, free: 13.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.281e-05/0.1378, allocations: 30.64 kB / 0.6547 GB, free: 13.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.1379, allocations: 87.23 kB / 0.6548 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.991e-05/0.1379, allocations: 80.75 kB / 0.6549 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.748e-05/0.138, allocations: 150.6 kB / 0.655 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.798e-05/0.138, allocations: 83.94 kB / 0.6551 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.165e-05/0.1381, allocations: 155.3 kB / 0.6553 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.1381, allocations: 80.14 kB / 0.6553 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.1381, allocations: 79.22 kB / 0.6554 GB, free: 13.22 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 (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 prepare postOptimizeDAE: time 9.105e-05/0.1382, allocations: 258.9 kB / 0.6557 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.1383, allocations: 108.9 kB / 0.6558 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.1383, allocations: 116 kB / 0.6559 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.327e-05/0.1384, allocations: 177 kB / 0.6561 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.696e-05/0.1385, allocations: 186.1 kB / 0.6562 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-05/0.1385, allocations: 180.2 kB / 0.6564 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.1387, allocations: 398 kB / 0.6568 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.374e-05/0.1388, allocations: 113.8 kB / 0.6569 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.1388, allocations: 109.7 kB / 0.657 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.231e-05/0.1389, allocations: 178 kB / 0.6572 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/0.1389, allocations: 180.2 kB / 0.6573 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.531e-05/0.139, allocations: 180.2 kB / 0.6575 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.447e-05/0.139, allocations: 186.2 kB / 0.6577 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.1392, allocations: 308.7 kB / 0.658 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.1392, allocations: 178.1 kB / 0.6581 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/0.1393, allocations: 183.5 kB / 0.6583 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.1394, allocations: 108.9 kB / 0.6584 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.1394, allocations: 184.2 kB / 0.6586 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.1395, allocations: 104.9 kB / 0.6587 GB, free: 9.652 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.974e-05/0.1395, allocations: 81.09 kB / 0.6588 GB, free: 9.574 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1395, allocations: 0 / 0.6588 GB, free: 9.574 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.1398, allocations: 43.98 kB / 0.6588 GB, free: 9.531 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.0004354/0.1402, allocations: 306.9 kB / 0.6591 GB, free: 9.258 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 3.076e-05/0.1403, allocations: 4 kB / 0.6591 GB, free: 9.254 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1403, allocations: 4 kB / 0.6591 GB, free: 9.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.1403, allocations: 4 kB / 0.6591 GB, free: 9.246 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.1406, allocations: 0.5149 MB / 0.6596 GB, free: 8.727 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.1408, allocations: 175.9 kB / 0.6598 GB, free: 8.527 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.141, allocations: 0.6731 MB / 0.6605 GB, free: 7.828 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.099e-05/0.1411, allocations: 7.938 kB / 0.6605 GB, free: 7.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.065e-05/0.1411, allocations: 7.438 kB / 0.6605 GB, free: 7.812 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1411, allocations: 0 / 0.6605 GB, free: 7.812 MB / 462.1 MB Notification: Performance of Templates: time 0.002705/0.1438, allocations: 0.9793 MB / 0.6614 GB, free: 6.867 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) Environment - environmentSimulation: