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.001628/0.001629, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.00202/0.00202, allocations: 187 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002129/0.002129, allocations: 294.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 103.8 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5289/0.531, allocations: 86.97 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002636/0.5337, allocations: 1.265 MB / 0.7683 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.5359, allocations: 1.442 MB / 0.7697 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.536, allocations: 0 / 0.7697 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.536, allocations: 0 / 0.7697 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.5363, allocations: 19.92 kB / 0.7697 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006712/0.537, allocations: 210.7 kB / 0.7699 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.985e-05/0.5371, allocations: 27.86 kB / 0.7699 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.5371, allocations: 0 / 0.7699 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.5373, allocations: 31.92 kB / 0.77 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.5374, allocations: 10.73 kB / 0.77 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.5374, allocations: 0 / 0.77 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.5377, allocations: 167.8 kB / 0.7701 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.5378, allocations: 7.922 kB / 0.7702 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.5378, allocations: 4 kB / 0.7702 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.5381, allocations: 151.3 kB / 0.7703 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5381, allocations: 0 / 0.7703 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.445e-06/0.5381, allocations: 0 / 0.7703 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.5381, allocations: 0 / 0.7703 GB, free: 0.5859 MB / 0.5294 GB 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.0004503/0.5386, allocations: 375.4 kB / 0.7707 GB, free: 176 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.5386, allocations: 8.031 kB / 0.7707 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.391e-05/0.5387, allocations: 80.22 kB / 0.7707 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.5389, allocations: 239.7 kB / 0.771 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.539, allocations: 158.9 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.539, allocations: 154.7 kB / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.589e-05/0.5391, allocations: 105 kB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.5391, allocations: 79.28 kB / 0.7714 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.5392, allocations: 154.6 kB / 0.7716 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-05/0.5393, allocations: 150.6 kB / 0.7717 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.766e-05/0.5393, allocations: 150.6 kB / 0.7719 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.5396, allocations: 457.9 kB / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.398e-05/0.5397, allocations: 169.1 kB / 0.7725 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.944e-05/0.5398, allocations: 88.08 kB / 0.7726 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.5398, allocations: 75.28 kB / 0.7726 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.5399, allocations: 117.9 kB / 0.7728 GB, free: 13.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.5399, allocations: 0 / 0.7728 GB, free: 13.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.471e-05/0.54, allocations: 33.64 kB / 0.7728 GB, free: 13.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/0.54, allocations: 126.7 kB / 0.7729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.5402, allocations: 112.5 kB / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.5402, allocations: 25.7 kB / 0.773 GB, free: 13.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.5402, allocations: 92.05 kB / 0.7731 GB, free: 13.49 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-06/0.5402, allocations: 0 / 0.7731 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.5403, allocations: 17.66 kB / 0.7731 GB, free: 13.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5404, allocations: 326.8 kB / 0.7735 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.5404, allocations: 0 / 0.7735 GB, free: 13.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.05e-05/0.5405, allocations: 22.58 kB / 0.7735 GB, free: 13.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.981e-05/0.5405, allocations: 30.5 kB / 0.7735 GB, free: 13.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5406, allocations: 4 kB / 0.7735 GB, free: 13.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000135/0.5407, allocations: 49.58 kB / 0.7736 GB, free: 13.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5407, allocations: 8 kB / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5407, allocations: 0 / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.5408, allocations: 0 / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.428e-05/0.5408, allocations: 7.984 kB / 0.7736 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.5408, allocations: 4 kB / 0.7736 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.541, allocations: 4.141 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.541, allocations: 8.078 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.5411, allocations: 191.5 kB / 0.7738 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.5412, allocations: 112.8 kB / 0.7739 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.066e-05/0.5413, allocations: 112.2 kB / 0.774 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.281e-05/0.5414, allocations: 180.2 kB / 0.7742 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.815e-05/0.5414, allocations: 180.2 kB / 0.7743 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.106e-05/0.5415, allocations: 180.3 kB / 0.7745 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.5418, allocations: 409.1 kB / 0.7749 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.755e-05/0.5418, allocations: 105 kB / 0.775 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.5419, allocations: 104.9 kB / 0.7751 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-05/0.5419, allocations: 184.3 kB / 0.7753 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/0.542, allocations: 180.3 kB / 0.7754 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.036e-05/0.5421, allocations: 180.2 kB / 0.7756 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.894e-05/0.5422, allocations: 184.2 kB / 0.7758 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.5424, allocations: 307.7 kB / 0.7761 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.5425, allocations: 189.9 kB / 0.7763 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-05/0.5426, allocations: 184.2 kB / 0.7764 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.5427, allocations: 101 kB / 0.7765 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.5428, allocations: 188.1 kB / 0.7767 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.5428, allocations: 101 kB / 0.7768 GB, free: 9.457 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.089e-05/0.5429, allocations: 87.53 kB / 0.7769 GB, free: 9.371 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5429, allocations: 0 / 0.7769 GB, free: 9.371 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003738/0.5432, allocations: 63.92 kB / 0.7769 GB, free: 9.309 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006156/0.5439, allocations: 339.7 kB / 0.7773 GB, free: 9.008 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.544, allocations: 19.92 kB / 0.7773 GB, free: 8.988 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.544, allocations: 0 / 0.7773 GB, free: 8.988 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.544, allocations: 0 / 0.7773 GB, free: 8.988 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.5444, allocations: 461.4 kB / 0.7777 GB, free: 8.535 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.5447, allocations: 195.1 kB / 0.7779 GB, free: 8.309 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.545, allocations: 0.6768 MB / 0.7786 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.497e-05/0.545, allocations: 7.438 kB / 0.7786 GB, free: 7.598 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.545, allocations: 4 kB / 0.7786 GB, free: 7.594 MB / 0.545 GB Notification: Performance of Templates: time 0.003552/0.5486, allocations: 1.597 MB / 0.7801 GB, free: 6.004 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (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)