Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001762/0.001762, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.002167/0.002167, allocations: 187 kB / 17.34 MB, free: 5.762 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 63.84 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8883/0.8898, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002192/0.892, allocations: 1.266 MB / 1.09 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002096/0.8941, allocations: 1.445 MB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.8942, allocations: 0 / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.8942, allocations: 0 / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.8944, allocations: 13.78 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006504/0.8951, allocations: 230 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.718e-05/0.8952, allocations: 23.8 kB / 1.092 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.8952, allocations: 5.75 kB / 1.092 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.251e-05/0.8953, allocations: 15.45 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.8954, allocations: 6.234 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.8955, allocations: 5.344 kB / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.8958, allocations: 168.5 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.8958, allocations: 12.19 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.8958, allocations: 8 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.8962, allocations: 147.2 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.8962, allocations: 0.7031 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8962, allocations: 0 / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.8962, allocations: 0.8438 kB / 1.092 GB, free: 3.395 MB / 0.8575 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.0003343/0.8965, allocations: 370 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.8966, allocations: 13.66 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.8966, allocations: 78.22 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.8968, allocations: 242.7 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.8968, allocations: 157 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.8968, allocations: 156.9 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.387e-05/0.8969, allocations: 102.4 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.8969, allocations: 80.06 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.8969, allocations: 150.6 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.8969, allocations: 151.2 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.392e-05/0.897, allocations: 156 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.8972, allocations: 458.9 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.667e-05/0.8972, allocations: 169.9 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.8973, allocations: 84.83 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.8973, allocations: 75.98 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.8973, allocations: 111.3 kB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.8973, allocations: 0 / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.564e-05/0.8974, allocations: 33.27 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.8974, allocations: 135.4 kB / 1.094 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.874e-05/0.8975, allocations: 103.7 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.8975, allocations: 25.7 kB / 1.095 GB, free: 484 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.8976, allocations: 82.75 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.8976, allocations: 0 / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.8976, allocations: 21.81 kB / 1.095 GB, free: 380 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.8977, allocations: 313.4 kB / 1.095 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.8978, allocations: 6.609 kB / 1.095 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.145e-05/0.8978, allocations: 32.23 kB / 1.095 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.634e-05/0.8979, allocations: 27.78 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8979, allocations: 0 / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001265/0.898, allocations: 54.17 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.898, allocations: 6.344 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.898, allocations: 256 / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.8981, allocations: 1.812 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.226e-05/0.8981, allocations: 9.797 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.8981, allocations: 0.9375 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.8983, allocations: 18.09 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.8983, allocations: 3.516 kB / 1.095 GB, free: 15.93 MB / 0.8731 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.0001024/0.8984, allocations: 190.8 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/0.8985, allocations: 106.8 kB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.511e-05/0.8986, allocations: 115.3 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-05/0.8986, allocations: 182 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.366e-05/0.8987, allocations: 177.6 kB / 1.096 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.689e-05/0.8988, allocations: 181.7 kB / 1.096 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.899, allocations: 411.2 kB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-05/0.8991, allocations: 106.2 kB / 1.097 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.8991, allocations: 102.5 kB / 1.097 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.56e-05/0.8992, allocations: 177.8 kB / 1.097 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/0.8993, allocations: 182.3 kB / 1.097 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.925e-05/0.8994, allocations: 181.8 kB / 1.097 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.641e-05/0.8994, allocations: 186.5 kB / 1.097 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.8996, allocations: 305.2 kB / 1.098 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.576e-05/0.8997, allocations: 188.2 kB / 1.098 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.472e-05/0.8998, allocations: 182.7 kB / 1.098 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.8998, allocations: 114.5 kB / 1.098 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.8999, allocations: 177.7 kB / 1.098 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.9, allocations: 102.8 kB / 1.098 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.139e-05/0.9, allocations: 85.25 kB / 1.098 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9, allocations: 0 / 1.098 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003958/0.9004, allocations: 50.45 kB / 1.098 GB, free: 12.37 MB / 0.8731 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.0006532/0.9011, allocations: 351.1 kB / 1.099 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.573e-05/0.9012, allocations: 7.969 kB / 1.099 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.9012, allocations: 0 / 1.099 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.9012, allocations: 0 / 1.099 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.9016, allocations: 471 kB / 1.099 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.9019, allocations: 200.2 kB / 1.099 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.9022, allocations: 0.674 MB / 1.1 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.725e-05/0.9022, allocations: 9.281 kB / 1.1 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.9022, allocations: 0 / 1.1 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.004189/0.9064, allocations: 1.595 MB / 1.102 GB, free: 10.6 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)