Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001681/0.001681, allocations: 104.2 kB / 16.27 MB, free: 6.414 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.001832/0.001832, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.475/1.475, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.922/2.922, allocations: 469.8 MB / 0.743 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 73.95 kB / 0.9092 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3441, allocations: 159.1 MB / 1.065 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.003014/0.3471, allocations: 1.271 MB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002319/0.3495, allocations: 1.425 MB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.3495, allocations: 0 / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.3496, allocations: 7.938 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.3498, allocations: 11.94 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006692/0.3505, allocations: 221.9 kB / 1.068 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.449e-05/0.3506, allocations: 19.92 kB / 1.068 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.698e-05/0.3506, allocations: 8 kB / 1.068 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.552e-05/0.3507, allocations: 23.92 kB / 1.068 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.3509, allocations: 7.984 kB / 1.068 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.3509, allocations: 0 / 1.068 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.3512, allocations: 151.8 kB / 1.068 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.3512, allocations: 3.984 kB / 1.068 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.3513, allocations: 15.92 kB / 1.068 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.3515, allocations: 143.7 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3516, allocations: 3.938 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3516, allocations: 0 / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.3516, allocations: 4 kB / 1.068 GB, free: 11.49 MB / 0.8419 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.0004503/0.352, allocations: 371.8 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3521, allocations: 8.031 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.268e-05/0.3522, allocations: 84.12 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.3524, allocations: 235.7 kB / 1.069 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.786e-05/0.3525, allocations: 154.9 kB / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.826e-05/0.3525, allocations: 166.6 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.238e-05/0.3526, allocations: 101 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.276e-05/0.3527, allocations: 79.27 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.887e-05/0.3528, allocations: 154.6 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.849e-05/0.3528, allocations: 154.5 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.789e-05/0.3529, allocations: 150.6 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.3532, allocations: 453.9 kB / 1.07 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.451e-05/0.3533, allocations: 169.1 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.3534, allocations: 88.08 kB / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.3534, allocations: 79.22 kB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.3535, allocations: 113.8 kB / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3535, allocations: 0 / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.056e-05/0.3536, allocations: 25.7 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.3537, allocations: 126.7 kB / 1.07 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.3538, allocations: 105.8 kB / 1.071 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.3538, allocations: 25.7 kB / 1.071 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.3539, allocations: 88.14 kB / 1.071 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.3539, allocations: 0 / 1.071 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.3539, allocations: 25.7 kB / 1.071 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3541, allocations: 310.8 kB / 1.071 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.3541, allocations: 4 kB / 1.071 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.123e-05/0.3542, allocations: 34.5 kB / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.579e-05/0.3542, allocations: 22.58 kB / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3542, allocations: 0 / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000141/0.3544, allocations: 53.56 kB / 1.071 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3544, allocations: 8 kB / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3544, allocations: 0 / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3544, allocations: 256 / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.3545, allocations: 7.938 kB / 1.071 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3545, allocations: 8 kB / 1.071 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.3547, allocations: 15.98 kB / 1.071 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.3547, allocations: 0 / 1.071 GB, free: 7.887 MB / 0.8419 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.000138/0.3548, allocations: 190.9 kB / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.3549, allocations: 108.9 kB / 1.071 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.355, allocations: 116 kB / 1.072 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.5e-05/0.3551, allocations: 180.2 kB / 1.072 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.294e-05/0.3552, allocations: 180.3 kB / 1.072 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.757e-05/0.3552, allocations: 184.2 kB / 1.072 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.3555, allocations: 405.2 kB / 1.072 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.143e-05/0.3556, allocations: 104.9 kB / 1.073 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.806e-05/0.3556, allocations: 109 kB / 1.073 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.078e-05/0.3557, allocations: 184.2 kB / 1.073 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.738e-05/0.3558, allocations: 184.2 kB / 1.073 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.214e-05/0.3559, allocations: 176.3 kB / 1.073 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.099e-05/0.356, allocations: 180.3 kB / 1.073 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.3562, allocations: 315.7 kB / 1.074 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.884e-05/0.3563, allocations: 186.1 kB / 1.074 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.3564, allocations: 176.3 kB / 1.074 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.537e-05/0.3565, allocations: 104.9 kB / 1.074 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/0.3566, allocations: 180.2 kB / 1.074 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.3567, allocations: 112.9 kB / 1.074 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.432e-05/0.3567, allocations: 79.28 kB / 1.074 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3567, allocations: 4 kB / 1.074 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000381/0.3571, allocations: 59.92 kB / 1.074 GB, free: 4.219 MB / 0.8419 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.0006719/0.3578, allocations: 341.4 kB / 1.075 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.267e-05/0.3579, allocations: 8 kB / 1.075 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3579, allocations: 0 / 1.075 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-06/0.3579, allocations: 0 / 1.075 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.3583, allocations: 465.5 kB / 1.075 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.3586, allocations: 199.1 kB / 1.075 GB, free: 3.219 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.3589, allocations: 0.6768 MB / 1.076 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.359, allocations: 7.438 kB / 1.076 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.359, allocations: 3.938 kB / 1.076 GB, free: 2.504 MB / 0.8419 GB Notification: Performance of Templates: time 0.003758/0.3627, allocations: 1.592 MB / 1.078 GB, free: 0.918 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)