Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.00144/0.00144, allocations: 100.1 kB / 15.88 MB, free: 12 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.001586/0.001586, allocations: 199 kB / 16.79 MB, free: 6.809 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.426/1.426, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.7/2.7, allocations: 437 MB / 0.7106 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.03 kB / 0.8692 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7113/0.7126, allocations: 151.6 MB / 1.017 GB, free: 2.934 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.003164/0.7158, allocations: 1.338 MB / 1.019 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00261/0.7185, allocations: 1.436 MB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.7185, allocations: 0 / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.7186, allocations: 3.984 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.7188, allocations: 7.938 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000743/0.7196, allocations: 186.1 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.901e-05/0.7197, allocations: 23.83 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.7197, allocations: 4 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.7199, allocations: 23.91 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.72, allocations: 7.938 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.72, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003607/0.7204, allocations: 159.8 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.7204, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.7204, allocations: 11.94 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.7207, allocations: 99.86 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.7207, allocations: 3.938 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7207, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.7207, allocations: 0 / 1.02 GB, free: 15.62 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.0004747/0.7212, allocations: 369.5 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.7213, allocations: 8.031 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.7214, allocations: 88.2 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.7216, allocations: 235.7 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.709e-05/0.7217, allocations: 154.9 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.698e-05/0.7218, allocations: 154.7 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.247e-05/0.7219, allocations: 108.9 kB / 1.022 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/0.7219, allocations: 79.28 kB / 1.022 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-05/0.722, allocations: 154.6 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001318/0.7221, allocations: 150.6 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.7223, allocations: 150.6 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.7226, allocations: 461.8 kB / 1.023 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.027e-05/0.7227, allocations: 173.1 kB / 1.023 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/0.7228, allocations: 84.08 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.7228, allocations: 83.28 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/0.7229, allocations: 105.8 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.7229, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.668e-05/0.723, allocations: 25.7 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.7231, allocations: 134.7 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.7232, allocations: 101.9 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.7232, allocations: 25.7 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.7233, allocations: 92.08 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.7233, allocations: 3.938 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.7233, allocations: 21.7 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.7235, allocations: 318.8 kB / 1.024 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.7235, allocations: 0 / 1.024 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.7236, allocations: 30.56 kB / 1.024 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/0.7236, allocations: 22.58 kB / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.7236, allocations: 0 / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001531/0.7238, allocations: 57.64 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.7238, allocations: 12.09 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.7238, allocations: 0 / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.7238, allocations: 3.984 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.7239, allocations: 4 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7239, allocations: 4 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.7241, allocations: 7.984 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.7241, allocations: 0 / 1.024 GB, free: 12.02 MB / 0.7794 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.0001343/0.7243, allocations: 189.7 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.302e-05/0.7244, allocations: 112.8 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.7244, allocations: 116.2 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.289e-05/0.7245, allocations: 180.2 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001588/0.7247, allocations: 184.2 kB / 1.025 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000146/0.7248, allocations: 176.3 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.7252, allocations: 413.2 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.842e-05/0.7252, allocations: 104.9 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.7253, allocations: 105 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001422/0.7254, allocations: 180.2 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.7256, allocations: 180.3 kB / 1.026 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.312e-05/0.7256, allocations: 184.2 kB / 1.026 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-05/0.7257, allocations: 184.3 kB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.7259, allocations: 307.7 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.208e-05/0.726, allocations: 186.1 kB / 1.026 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/0.7261, allocations: 180.2 kB / 1.027 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.7261, allocations: 105 kB / 1.027 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.7262, allocations: 180.6 kB / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.7263, allocations: 104.9 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.096e-05/0.7263, allocations: 87.27 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7263, allocations: 3.938 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004289/0.7268, allocations: 51.98 kB / 1.027 GB, free: 8.359 MB / 0.7794 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.0006778/0.7274, allocations: 343.5 kB / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.7276, allocations: 12 kB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7276, allocations: 3.938 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.7276, allocations: 0 / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.728, allocations: 0.5185 MB / 1.028 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.7284, allocations: 212.9 kB / 1.028 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.7289, allocations: 0.6731 MB / 1.029 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.7289, allocations: 7.438 kB / 1.029 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of SimCode: time 1.102e-06/0.7289, allocations: 3.938 kB / 1.029 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of Templates: time 0.004209/0.7331, allocations: 1.587 MB / 1.03 GB, free: 4.98 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)