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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7772/0.7772, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 179.4 kB / 187.3 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 221.3 MB / 441.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008413/0.0008413, allocations: 98.69 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001749, allocations: 269.6 kB / 0.5939 GB, free: 8 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.48e-05/4.482e-05, allocations: 4 kB / 0.6834 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3809, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1146/0.4956, allocations: 111 MB / 0.8727 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.4959, allocations: 92.64 kB / 0.8728 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01641/0.5124, allocations: 5.786 MB / 0.8784 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5124, allocations: 0 / 0.8784 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.5124, allocations: 2.969 kB / 0.8784 GB, free: 7.711 MB / 0.5417 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.0003312/0.5127, allocations: 366.5 kB / 0.8788 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5128, allocations: 8.031 kB / 0.8788 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.5129, allocations: 75.28 kB / 0.8788 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.513, allocations: 242.4 kB / 0.8791 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.916e-05/0.5131, allocations: 155.3 kB / 0.8792 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.5131, allocations: 159.2 kB / 0.8794 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.345e-05/0.5132, allocations: 103 kB / 0.8795 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.5132, allocations: 75.28 kB / 0.8796 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.5133, allocations: 158.4 kB / 0.8797 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/0.5133, allocations: 154.6 kB / 0.8798 GB, free: 6.152 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.13e-05/0.5134, allocations: 158.6 kB / 0.88 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.5137, allocations: 457.9 kB / 0.8804 GB, free: 5.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.66e-05/0.5137, allocations: 169.1 kB / 0.8806 GB, free: 5.324 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.5138, allocations: 92.03 kB / 0.8807 GB, free: 5.23 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.5138, allocations: 75.28 kB / 0.8808 GB, free: 5.156 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.5139, allocations: 105.8 kB / 0.8809 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.5139, allocations: 0 / 0.8809 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 7.301e-05/0.5139, allocations: 33.7 kB / 0.8809 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.514, allocations: 130.7 kB / 0.881 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.267e-05/0.5141, allocations: 100.9 kB / 0.8811 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.5141, allocations: 29.7 kB / 0.8811 GB, free: 4.723 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.5142, allocations: 80.14 kB / 0.8812 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.5142, allocations: 0 / 0.8812 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-06/0.5142, allocations: 0 / 0.8812 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.5143, allocations: 314.8 kB / 0.8815 GB, free: 4.324 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.5143, allocations: 7.938 kB / 0.8815 GB, free: 4.316 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/0.5143, allocations: 30.55 kB / 0.8816 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.06e-05/0.5144, allocations: 8 kB / 0.8816 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5144, allocations: 0 / 0.8816 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001056/0.5145, allocations: 49.62 kB / 0.8816 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.5145, allocations: 11.95 kB / 0.8816 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5145, allocations: 0 / 0.8816 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.5145, allocations: 0 / 0.8816 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.251e-05/0.5146, allocations: 8.094 kB / 0.8816 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.5146, allocations: 4 kB / 0.8816 GB, free: 4.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.081e-05/0.5147, allocations: 3.984 kB / 0.8816 GB, free: 4.188 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.5147, allocations: 4 kB / 0.8816 GB, free: 4.184 MB / 0.5417 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 () * 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.543e-05/0.5148, allocations: 180.3 kB / 0.8818 GB, free: 4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.5149, allocations: 108.9 kB / 0.8819 GB, free: 3.887 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.5149, allocations: 108.1 kB / 0.882 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.623e-05/0.515, allocations: 192.2 kB / 0.8822 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.127e-05/0.515, allocations: 180.3 kB / 0.8824 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.782e-05/0.5151, allocations: 176.3 kB / 0.8825 GB, free: 3.219 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.5153, allocations: 413.1 kB / 0.8829 GB, free: 2.758 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.615e-05/0.5154, allocations: 101 kB / 0.883 GB, free: 2.652 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.059e-05/0.5154, allocations: 104.9 kB / 0.8831 GB, free: 2.543 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.519e-05/0.5154, allocations: 184.3 kB / 0.8833 GB, free: 2.355 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.5155, allocations: 180.3 kB / 0.8835 GB, free: 2.172 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.205e-05/0.5156, allocations: 188.1 kB / 0.8837 GB, free: 1.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-05/0.5156, allocations: 176.3 kB / 0.8838 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.5158, allocations: 311.7 kB / 0.8841 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.5159, allocations: 187.2 kB / 0.8843 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.5159, allocations: 180.3 kB / 0.8845 GB, free: 1.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.608e-05/0.516, allocations: 101.2 kB / 0.8846 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.5161, allocations: 188.1 kB / 0.8848 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.5161, allocations: 113 kB / 0.8849 GB, free: 0.668 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.771e-05/0.5162, allocations: 87.27 kB / 0.8849 GB, free: 0.582 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5162, allocations: 4 kB / 0.8849 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003334/0.5165, allocations: 59.98 kB / 0.885 GB, free: 0.5195 MB / 0.5417 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 () * 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.0005396/0.5171, allocations: 346.2 kB / 0.8853 GB, free: 216 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.87e-05/0.5171, allocations: 15.98 kB / 0.8853 GB, free: 200 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.5172, allocations: 192 / 0.8853 GB, free: 200 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.5172, allocations: 4 kB / 0.8854 GB, free: 196 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.5175, allocations: 0.5233 MB / 0.8859 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001962/0.5177, allocations: 132.5 kB / 0.886 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.518, allocations: 0.677 MB / 0.8867 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.349e-05/0.518, allocations: 8 kB / 0.8867 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.518, allocations: 7.438 kB / 0.8867 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of SimCode: time 2.41e-07/0.518, allocations: 0 / 0.8867 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of Templates: time 0.003698/0.5217, allocations: 1.49 MB / 0.8881 GB, free: 13.34 MB / 0.5573 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)