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.7953/0.7953, allocations: 143.4 MB / 159.2 MB, free: 4.926 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 180.5 kB / 191.9 MB, free: 5.727 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.37/1.37, allocations: 222.9 MB / 447.3 MB, free: 5.836 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.0009765/0.0009766, allocations: 107.2 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001906/0.001906, allocations: 283.6 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 87.83 kB / 0.6885 GB, free: 3.812 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3004, allocations: 81.28 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002012/0.3025, allocations: 1.339 MB / 0.7692 GB, free: 26.3 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.304, allocations: 1.438 MB / 0.7706 GB, free: 24.86 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.749e-05/0.3041, allocations: 0 / 0.7706 GB, free: 24.86 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.3041, allocations: 3.938 kB / 0.7706 GB, free: 24.86 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.3042, allocations: 15.92 kB / 0.7707 GB, free: 24.84 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.3047, allocations: 178.8 kB / 0.7708 GB, free: 24.67 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.696e-05/0.3047, allocations: 23.92 kB / 0.7708 GB, free: 24.64 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.3048, allocations: 4 kB / 0.7708 GB, free: 24.64 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.378e-05/0.3049, allocations: 15.94 kB / 0.7709 GB, free: 24.62 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/0.305, allocations: 11.97 kB / 0.7709 GB, free: 24.61 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.305, allocations: 3.938 kB / 0.7709 GB, free: 24.61 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.3052, allocations: 147.9 kB / 0.771 GB, free: 24.46 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.3052, allocations: 15.91 kB / 0.771 GB, free: 24.45 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.3052, allocations: 7.938 kB / 0.771 GB, free: 24.44 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.3054, allocations: 146.4 kB / 0.7712 GB, free: 24.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3054, allocations: 0 / 0.7712 GB, free: 24.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3054, allocations: 0 / 0.7712 GB, free: 24.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.3054, allocations: 0 / 0.7712 GB, free: 24.3 MB / 458.7 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.0002564/0.3057, allocations: 367.5 kB / 0.7715 GB, free: 23.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.3057, allocations: 8.031 kB / 0.7715 GB, free: 23.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.3058, allocations: 84.12 kB / 0.7716 GB, free: 23.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.94e-05/0.3059, allocations: 247.6 kB / 0.7719 GB, free: 23.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.3059, allocations: 150.9 kB / 0.772 GB, free: 23.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.3059, allocations: 158.7 kB / 0.7722 GB, free: 23.22 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.67e-05/0.306, allocations: 104.9 kB / 0.7723 GB, free: 23.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.306, allocations: 79.28 kB / 0.7723 GB, free: 23.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.306, allocations: 150.6 kB / 0.7725 GB, free: 22.88 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.306, allocations: 158.6 kB / 0.7726 GB, free: 22.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.271e-05/0.3061, allocations: 150.6 kB / 0.7728 GB, free: 22.58 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.3062, allocations: 453.9 kB / 0.7732 GB, free: 22.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.949e-05/0.3063, allocations: 169.1 kB / 0.7734 GB, free: 21.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.48e-05/0.3063, allocations: 88.08 kB / 0.7734 GB, free: 21.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.3063, allocations: 83.27 kB / 0.7735 GB, free: 21.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.3063, allocations: 105.8 kB / 0.7736 GB, free: 21.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3064, allocations: 4 kB / 0.7736 GB, free: 21.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 6.331e-05/0.3064, allocations: 25.7 kB / 0.7737 GB, free: 21.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.3065, allocations: 126.7 kB / 0.7738 GB, free: 21.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.3065, allocations: 109.8 kB / 0.7739 GB, free: 21.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.3065, allocations: 25.7 kB / 0.7739 GB, free: 21.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.207e-05/0.3066, allocations: 88.14 kB / 0.774 GB, free: 21.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.3066, allocations: 3.938 kB / 0.774 GB, free: 21.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.3066, allocations: 17.77 kB / 0.774 GB, free: 21.19 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.02e-05/0.3067, allocations: 318.8 kB / 0.7743 GB, free: 20.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.3067, allocations: 4 kB / 0.7743 GB, free: 20.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.433e-05/0.3067, allocations: 22.58 kB / 0.7743 GB, free: 20.83 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.03e-05/0.3068, allocations: 34.5 kB / 0.7744 GB, free: 20.79 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3068, allocations: 0 / 0.7744 GB, free: 20.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001087/0.3069, allocations: 57.42 kB / 0.7744 GB, free: 20.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3069, allocations: 4 kB / 0.7744 GB, free: 20.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3069, allocations: 12.08 kB / 0.7744 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3069, allocations: 0 / 0.7744 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.154e-05/0.307, allocations: 4 kB / 0.7744 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.307, allocations: 3.938 kB / 0.7744 GB, free: 20.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.3071, allocations: 4 kB / 0.7745 GB, free: 20.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3072, allocations: 7.984 kB / 0.7745 GB, free: 20.69 MB / 458.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.3072, allocations: 190.4 kB / 0.7746 GB, free: 20.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.3073, allocations: 104.9 kB / 0.7747 GB, free: 20.39 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.967e-05/0.3073, allocations: 112 kB / 0.7748 GB, free: 20.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.3073, allocations: 180.4 kB / 0.775 GB, free: 20.09 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-05/0.3073, allocations: 184.2 kB / 0.7752 GB, free: 19.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.3074, allocations: 180.2 kB / 0.7754 GB, free: 19.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.3075, allocations: 409.2 kB / 0.7758 GB, free: 19.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.3075, allocations: 108.9 kB / 0.7759 GB, free: 19.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.166e-05/0.3075, allocations: 101 kB / 0.776 GB, free: 19.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.223e-05/0.3076, allocations: 184.2 kB / 0.7761 GB, free: 18.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.3076, allocations: 180.3 kB / 0.7763 GB, free: 18.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.988e-05/0.3076, allocations: 180.2 kB / 0.7765 GB, free: 18.49 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-05/0.3076, allocations: 180.2 kB / 0.7766 GB, free: 18.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.3078, allocations: 0.8495 MB / 0.7775 GB, free: 17.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.3078, allocations: 189.9 kB / 0.7777 GB, free: 17.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.3079, allocations: 180.3 kB / 0.7778 GB, free: 17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.3079, allocations: 113.2 kB / 0.7779 GB, free: 16.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.308, allocations: 176.3 kB / 0.7781 GB, free: 16.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.308, allocations: 113 kB / 0.7782 GB, free: 16.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.297e-05/0.308, allocations: 83.22 kB / 0.7783 GB, free: 16.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.308, allocations: 0 / 0.7783 GB, free: 16.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004074/0.3084, allocations: 51.98 kB / 0.7783 GB, free: 16.45 MB / 458.7 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 (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.0004434/0.3089, allocations: 359.9 kB / 0.7787 GB, free: 16.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.514e-05/0.3089, allocations: 7.984 kB / 0.7787 GB, free: 16.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.309, allocations: 4 kB / 0.7787 GB, free: 16.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.309, allocations: 0 / 0.7787 GB, free: 16.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.3092, allocations: 0.5195 MB / 0.7792 GB, free: 15.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001952/0.3094, allocations: 176.5 kB / 0.7794 GB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.42e-05/0.3095, allocations: 0.6731 MB / 0.78 GB, free: 14.69 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.164e-05/0.3095, allocations: 4 kB / 0.78 GB, free: 14.69 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-06/0.3095, allocations: 7.438 kB / 0.78 GB, free: 14.68 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3096, allocations: 0 / 0.78 GB, free: 14.68 MB / 458.7 MB Notification: Performance of Templates: time 0.003195/0.3128, allocations: 1.616 MB / 0.7816 GB, free: 13.11 MB / 458.7 MB 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)