Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008458/0.0008456, allocations: 100.1 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.0008372/0.0008374, 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.19/1.19, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001708/0.001708, allocations: 274.7 kB / 291.3 MB, free: 1.969 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.7484/0.7484, allocations: 144.6 MB / 487 MB, free: 7.148 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003702, allocations: 15.16 kB / 0.5683 GB, free: 38.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1215, allocations: 83.08 MB / 0.6494 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001088/0.1226, allocations: 0.9884 MB / 0.6504 GB, free: 2.691 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1242, allocations: 1.321 MB / 0.6517 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.003e-05/0.1242, allocations: 1.625 kB / 0.6517 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.278e-06/0.1242, allocations: 0 / 0.6517 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.1244, allocations: 11.98 kB / 0.6517 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.1248, allocations: 182.1 kB / 0.6519 GB, free: 1.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.022e-05/0.1249, allocations: 20.75 kB / 0.6519 GB, free: 1.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.348e-05/0.1249, allocations: 0 / 0.6519 GB, free: 1.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.279e-05/0.125, allocations: 16.48 kB / 0.6519 GB, free: 1.145 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.603e-05/0.1251, allocations: 17.42 kB / 0.6519 GB, free: 1.129 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.807e-06/0.1251, allocations: 0 / 0.6519 GB, free: 1.129 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.1253, allocations: 123.8 kB / 0.652 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.1253, allocations: 7.984 kB / 0.6521 GB, free: 1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.1253, allocations: 26.36 kB / 0.6521 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.1255, allocations: 95.88 kB / 0.6522 GB, free: 0.875 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1255, allocations: 4.688 kB / 0.6522 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1255, allocations: 0 / 0.6522 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1255, allocations: 0.7188 kB / 0.6522 GB, free: 0.8711 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.0002714/0.1258, allocations: 364.6 kB / 0.6525 GB, free: 480 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.1258, allocations: 8.031 kB / 0.6525 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.1259, allocations: 84.81 kB / 0.6526 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.126, allocations: 242.3 kB / 0.6528 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-05/0.1261, allocations: 159.2 kB / 0.653 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/0.1261, allocations: 151.7 kB / 0.6531 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.374e-05/0.1262, allocations: 108.9 kB / 0.6532 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.1262, allocations: 75.94 kB / 0.6533 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.1263, allocations: 151.2 kB / 0.6535 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.593e-05/0.1263, allocations: 155.1 kB / 0.6536 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.632e-05/0.1264, allocations: 152 kB / 0.6538 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.1266, allocations: 454.7 kB / 0.6542 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.068e-05/0.1267, allocations: 170.4 kB / 0.6543 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.1267, allocations: 84.52 kB / 0.6544 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.1268, allocations: 110.5 kB / 0.6545 GB, free: 14.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1268, allocations: 0 / 0.6545 GB, free: 14.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 5.706e-05/0.1268, allocations: 26.58 kB / 0.6546 GB, free: 14.26 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.1269, allocations: 131.4 kB / 0.6547 GB, free: 14.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.498e-05/0.127, allocations: 105.8 kB / 0.6548 GB, free: 14.01 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.127, allocations: 27.73 kB / 0.6548 GB, free: 13.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.127, allocations: 84.14 kB / 0.6549 GB, free: 13.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-06/0.127, allocations: 0 / 0.6549 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-06/0.127, allocations: 3.938 kB / 0.6549 GB, free: 13.89 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.1271, allocations: 311.5 kB / 0.6552 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.1271, allocations: 13.7 kB / 0.6552 GB, free: 13.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/0.1272, allocations: 18.58 kB / 0.6552 GB, free: 13.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.712e-05/0.1272, allocations: 4.594 kB / 0.6552 GB, free: 13.53 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1272, allocations: 3.312 kB / 0.6552 GB, free: 13.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001061/0.1273, allocations: 53.67 kB / 0.6553 GB, free: 13.47 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1273, allocations: 13.2 kB / 0.6553 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.1274, allocations: 0 / 0.6553 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1274, allocations: 3.984 kB / 0.6553 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.241e-05/0.1274, allocations: 7.984 kB / 0.6553 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1274, allocations: 7.938 kB / 0.6553 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.1276, allocations: 5.219 kB / 0.6553 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1276, allocations: 4 kB / 0.6553 GB, free: 13.43 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 8.507e-05/0.1277, allocations: 195.3 kB / 0.6555 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.1277, allocations: 101 kB / 0.6556 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.1278, allocations: 112.1 kB / 0.6557 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.463e-05/0.1278, allocations: 185.3 kB / 0.6559 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-05/0.1279, allocations: 180.4 kB / 0.6561 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.408e-05/0.1279, allocations: 188.2 kB / 0.6562 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.1281, allocations: 401.2 kB / 0.6566 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-05/0.1282, allocations: 101 kB / 0.6567 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.1282, allocations: 112.9 kB / 0.6568 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.413e-05/0.1283, allocations: 176.3 kB / 0.657 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.353e-05/0.1283, allocations: 184.2 kB / 0.6572 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.128e-05/0.1284, allocations: 180.5 kB / 0.6573 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.276e-05/0.1284, allocations: 184.3 kB / 0.6575 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.1285, allocations: 307.7 kB / 0.6578 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.1286, allocations: 190.3 kB / 0.658 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.1287, allocations: 180.3 kB / 0.6582 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.922e-05/0.1287, allocations: 109 kB / 0.6583 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.1288, allocations: 188.2 kB / 0.6584 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.1288, allocations: 101 kB / 0.6585 GB, free: 9.914 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.1289, allocations: 83.28 kB / 0.6586 GB, free: 9.832 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1289, allocations: 0 / 0.6586 GB, free: 9.832 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.1292, allocations: 51.98 kB / 0.6587 GB, free: 9.781 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.0004428/0.1296, allocations: 345.2 kB / 0.659 GB, free: 9.469 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 6.225e-05/0.1297, allocations: 15.92 kB / 0.659 GB, free: 9.453 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1297, allocations: 3.938 kB / 0.659 GB, free: 9.449 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.1297, allocations: 0 / 0.659 GB, free: 9.449 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.13, allocations: 0.5322 MB / 0.6595 GB, free: 8.914 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000163/0.1302, allocations: 173.9 kB / 0.6597 GB, free: 8.719 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.1304, allocations: 0.677 MB / 0.6604 GB, free: 8.016 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.137e-05/0.1304, allocations: 7.906 kB / 0.6604 GB, free: 8.008 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.074e-05/0.1304, allocations: 7.438 kB / 0.6604 GB, free: 8 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1304, allocations: 4 kB / 0.6604 GB, free: 7.996 MB / 462.1 MB Notification: Performance of Templates: time 0.003114/0.1335, allocations: 1.537 MB / 0.6619 GB, free: 6.5 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) Environment - environmentSimulation: