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.001281/0.001281, allocations: 109.2 kB / 16.41 MB, free: 6.465 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.001304/0.001304, allocations: 187 kB / 17.34 MB, free: 5.719 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.14 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.33/2.33, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 67.89 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8356/0.837, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002452/0.8396, allocations: 1.269 MB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.8417, allocations: 1.44 MB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.8418, allocations: 0 / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.8418, allocations: 3.938 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.8421, allocations: 13.3 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006436/0.8427, allocations: 218.4 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.455e-05/0.8428, allocations: 22.55 kB / 1.092 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.8429, allocations: 6.719 kB / 1.092 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.898e-05/0.8429, allocations: 14.34 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.8431, allocations: 16.02 kB / 1.092 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.8431, allocations: 1.156 kB / 1.092 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003191/0.8434, allocations: 164.6 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.8434, allocations: 10.44 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.8435, allocations: 13.95 kB / 1.092 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.8438, allocations: 145.4 kB / 1.092 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.8438, allocations: 1.297 kB / 1.092 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8438, allocations: 0 / 1.092 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.8438, allocations: 0.75 kB / 1.092 GB, free: 3.375 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.0003319/0.8441, allocations: 373.2 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.8442, allocations: 10.19 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.8443, allocations: 78.47 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.8444, allocations: 246.8 kB / 1.093 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.8444, allocations: 152.2 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.8445, allocations: 166.1 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.119e-05/0.8445, allocations: 101.9 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.8445, allocations: 79.22 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.8446, allocations: 151.2 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.8446, allocations: 155.5 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.331e-05/0.8446, allocations: 151.3 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.8448, allocations: 451.4 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.972e-05/0.8449, allocations: 170.4 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.8449, allocations: 92.77 kB / 1.094 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.8449, allocations: 75.28 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.8449, allocations: 107.3 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.8449, allocations: 0.75 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.492e-05/0.845, allocations: 33.02 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.8451, allocations: 127.5 kB / 1.094 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.8452, allocations: 107 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.8452, allocations: 26.67 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.8452, allocations: 86.16 kB / 1.095 GB, free: 376 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.8452, allocations: 0.7812 kB / 1.095 GB, free: 376 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.8453, allocations: 21.58 kB / 1.095 GB, free: 356 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.8454, allocations: 317 kB / 1.095 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/0.8454, allocations: 2.312 kB / 1.095 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.336e-05/0.8455, allocations: 35.83 kB / 1.095 GB, free: 16 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.801e-05/0.8455, allocations: 24.05 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.8455, allocations: 1.672 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001336/0.8456, allocations: 53.28 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.8457, allocations: 5.719 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.8457, allocations: 10.02 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.8457, allocations: 0 / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.8458, allocations: 5.484 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.8458, allocations: 1.125 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.8459, allocations: 10.64 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.846, allocations: 4.062 kB / 1.095 GB, free: 15.91 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.0001151/0.8461, allocations: 190.6 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.8462, allocations: 106.7 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.026e-05/0.8462, allocations: 118.6 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-05/0.8463, allocations: 178.1 kB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.797e-05/0.8464, allocations: 185.9 kB / 1.096 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.223e-05/0.8464, allocations: 181.8 kB / 1.096 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.8467, allocations: 402.4 kB / 1.096 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.144e-05/0.8467, allocations: 114.6 kB / 1.097 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.8468, allocations: 102.7 kB / 1.097 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-05/0.8469, allocations: 182 kB / 1.097 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-05/0.847, allocations: 178.2 kB / 1.097 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.407e-05/0.847, allocations: 178.8 kB / 1.097 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-05/0.8471, allocations: 185.1 kB / 1.097 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.8473, allocations: 316.6 kB / 1.098 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.609e-05/0.8473, allocations: 180.9 kB / 1.098 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.8474, allocations: 179 kB / 1.098 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.8475, allocations: 106.5 kB / 1.098 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/0.8476, allocations: 185.6 kB / 1.098 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.8477, allocations: 107.3 kB / 1.098 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.8477, allocations: 81.03 kB / 1.098 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8477, allocations: 0 / 1.098 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003607/0.8481, allocations: 54.38 kB / 1.099 GB, free: 12.34 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.000655/0.8487, allocations: 336.4 kB / 1.099 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.348e-05/0.8489, allocations: 12.02 kB / 1.099 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.8489, allocations: 0 / 1.099 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.8489, allocations: 5.188 kB / 1.099 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.8493, allocations: 463.9 kB / 1.099 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.8496, allocations: 203.3 kB / 1.099 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.8499, allocations: 0.674 MB / 1.1 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.8499, allocations: 9.281 kB / 1.1 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.8499, allocations: 0 / 1.1 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.004333/0.8542, allocations: 1.595 MB / 1.102 GB, free: 10.57 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)