Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_Buildings.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.0008682/0.0008682, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009646/0.0009647, allocations: 185.3 kB / 16.92 MB, free: 6.688 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.229/1.229, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.339/2.339, allocations: 443.2 MB / 0.7181 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002809/0.0002809, allocations: 8.594 kB / 0.8801 GB, free: 42.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2212, allocations: 155.2 MB / 1.032 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001149/0.2223, allocations: 0.9949 MB / 1.033 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.2241, allocations: 1.421 MB / 1.034 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.425e-05/0.2241, allocations: 0 / 1.034 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.2242, allocations: 3.938 kB / 1.034 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.2243, allocations: 11.98 kB / 1.034 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.2248, allocations: 189.6 kB / 1.034 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.413e-05/0.2248, allocations: 23.88 kB / 1.034 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.2e-05/0.2249, allocations: 4 kB / 1.034 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.598e-05/0.2249, allocations: 19.97 kB / 1.034 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.225, allocations: 9.656 kB / 1.034 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.626e-06/0.2251, allocations: 0 / 1.034 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.2253, allocations: 155.8 kB / 1.034 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.646e-06/0.2253, allocations: 0 / 1.034 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.2253, allocations: 41.62 kB / 1.034 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.2255, allocations: 95.86 kB / 1.035 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2255, allocations: 4 kB / 1.035 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2255, allocations: 0 / 1.035 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.105e-06/0.2255, allocations: 0 / 1.035 GB, free: 1.742 MB / 0.7794 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.0002882/0.2258, allocations: 367.8 kB / 1.035 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.2258, allocations: 8.031 kB / 1.035 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.2259, allocations: 80.22 kB / 1.035 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.226, allocations: 239.7 kB / 1.035 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.2261, allocations: 154.9 kB / 1.035 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/0.2262, allocations: 162.6 kB / 1.035 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.883e-05/0.2262, allocations: 105 kB / 1.036 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.2262, allocations: 75.28 kB / 1.036 GB, free: 492 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.071e-05/0.2263, allocations: 154.6 kB / 1.036 GB, free: 336 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.095e-05/0.2264, allocations: 154.6 kB / 1.036 GB, free: 180 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.067e-05/0.2264, allocations: 150.6 kB / 1.036 GB, free: 28 kB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.2267, allocations: 453.9 kB / 1.037 GB, free: 15.54 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.41e-05/0.2268, allocations: 169.1 kB / 1.037 GB, free: 15.36 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/0.2268, allocations: 84.08 kB / 1.037 GB, free: 15.27 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.2268, allocations: 83.27 kB / 1.037 GB, free: 15.19 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.2269, allocations: 117.9 kB / 1.037 GB, free: 15.07 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2269, allocations: 0 / 1.037 GB, free: 15.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 6.535e-05/0.2269, allocations: 33.61 kB / 1.037 GB, free: 15.03 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.227, allocations: 130.6 kB / 1.037 GB, free: 14.89 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.2271, allocations: 109.8 kB / 1.037 GB, free: 14.77 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.2271, allocations: 25.7 kB / 1.037 GB, free: 14.74 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.2271, allocations: 88.14 kB / 1.037 GB, free: 14.65 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.2272, allocations: 0 / 1.037 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.2272, allocations: 9.719 kB / 1.037 GB, free: 14.63 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.2273, allocations: 314.8 kB / 1.038 GB, free: 14.32 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.2273, allocations: 4 kB / 1.038 GB, free: 14.31 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.841e-05/0.2273, allocations: 26.56 kB / 1.038 GB, free: 14.28 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.408e-05/0.2274, allocations: 30.45 kB / 1.038 GB, free: 14.24 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2274, allocations: 4 kB / 1.038 GB, free: 14.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000106/0.2275, allocations: 53.56 kB / 1.038 GB, free: 14.18 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.2275, allocations: 5.562 kB / 1.038 GB, free: 14.17 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2275, allocations: 4 kB / 1.038 GB, free: 14.17 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.2275, allocations: 0 / 1.038 GB, free: 14.17 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.078e-05/0.2276, allocations: 4 kB / 1.038 GB, free: 14.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2276, allocations: 3.984 kB / 1.038 GB, free: 14.16 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.2277, allocations: 7.984 kB / 1.038 GB, free: 14.15 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.2278, allocations: 8.094 kB / 1.038 GB, free: 14.14 MB / 0.795 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 7.605e-05/0.2279, allocations: 194.6 kB / 1.038 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/0.2279, allocations: 116.8 kB / 1.038 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.228, allocations: 104.1 kB / 1.038 GB, free: 13.71 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.746e-05/0.228, allocations: 184.3 kB / 1.038 GB, free: 13.52 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.764e-05/0.2281, allocations: 180.2 kB / 1.039 GB, free: 13.34 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.669e-05/0.2281, allocations: 180.3 kB / 1.039 GB, free: 13.16 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.2283, allocations: 413.1 kB / 1.039 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.691e-05/0.2284, allocations: 101 kB / 1.039 GB, free: 12.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.2284, allocations: 104.9 kB / 1.039 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.225e-05/0.2285, allocations: 184.2 kB / 1.039 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/0.2285, allocations: 184.3 kB / 1.04 GB, free: 12.11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-05/0.2286, allocations: 180.2 kB / 1.04 GB, free: 11.92 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.464e-05/0.2286, allocations: 176.3 kB / 1.04 GB, free: 11.74 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.2287, allocations: 315.7 kB / 1.04 GB, free: 11.41 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.2288, allocations: 178.1 kB / 1.04 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/0.2289, allocations: 192.2 kB / 1.041 GB, free: 11.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.229, allocations: 101.3 kB / 1.041 GB, free: 10.91 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.229, allocations: 184.2 kB / 1.041 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.2291, allocations: 109 kB / 1.041 GB, free: 10.61 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.2291, allocations: 79.53 kB / 1.041 GB, free: 10.53 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2291, allocations: 0 / 1.041 GB, free: 10.53 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002821/0.2294, allocations: 51.92 kB / 1.041 GB, free: 10.48 MB / 0.795 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.0004559/0.2299, allocations: 343.1 kB / 1.041 GB, free: 10.18 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.203e-05/0.2299, allocations: 7.938 kB / 1.041 GB, free: 10.17 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2299, allocations: 0 / 1.041 GB, free: 10.17 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.2299, allocations: 0 / 1.041 GB, free: 10.17 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.2303, allocations: 0.5343 MB / 1.042 GB, free: 9.629 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002106/0.2305, allocations: 199.6 kB / 1.042 GB, free: 9.398 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.2307, allocations: 0.6731 MB / 1.043 GB, free: 8.699 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.243e-05/0.2307, allocations: 7.438 kB / 1.043 GB, free: 8.691 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2307, allocations: 0 / 1.043 GB, free: 8.691 MB / 0.795 GB Notification: Performance of Templates: time 0.002664/0.2334, allocations: 1.596 MB / 1.044 GB, free: 7.102 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)