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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009735/0.0009737, allocations: 98.88 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.001437/0.001437, allocations: 182.9 kB / 16.92 MB, free: 6.672 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: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.9 MB / 0.667 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005854/0.000585, allocations: 8 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8383/0.8389, allocations: 142.4 MB / 0.9557 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001158/0.8401, allocations: 0.9976 MB / 0.9567 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.8419, allocations: 1.401 MB / 0.9581 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.856e-05/0.8419, allocations: 1.375 kB / 0.9581 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.842, allocations: 3.984 kB / 0.9581 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.8421, allocations: 15.23 kB / 0.9581 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.8426, allocations: 192 kB / 0.9583 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.144e-05/0.8427, allocations: 27.55 kB / 0.9583 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.8427, allocations: 1.812 kB / 0.9583 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.8428, allocations: 13.36 kB / 0.9583 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.8429, allocations: 19.83 kB / 0.9583 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.8429, allocations: 2.094 kB / 0.9583 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.8432, allocations: 144.4 kB / 0.9585 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.8432, allocations: 9.766 kB / 0.9585 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.8432, allocations: 29.64 kB / 0.9585 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.8434, allocations: 100.1 kB / 0.9586 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.8434, allocations: 0 / 0.9586 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8434, allocations: 4 kB / 0.9586 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.8434, allocations: 0 / 0.9586 GB, free: 5.621 MB / 0.7169 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.0002659/0.8437, allocations: 364.4 kB / 0.9589 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.8437, allocations: 9.156 kB / 0.9589 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.8438, allocations: 78.03 kB / 0.959 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.605e-05/0.8439, allocations: 241.5 kB / 0.9593 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.8439, allocations: 156.6 kB / 0.9594 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.8439, allocations: 166.3 kB / 0.9596 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.071e-05/0.844, allocations: 101 kB / 0.9597 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.844, allocations: 75.28 kB / 0.9597 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.844, allocations: 150.6 kB / 0.9599 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.8441, allocations: 156.3 kB / 0.96 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.295e-05/0.8441, allocations: 150.6 kB / 0.9602 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.8443, allocations: 461.4 kB / 0.9606 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.521e-05/0.8443, allocations: 170.9 kB / 0.9608 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.377e-05/0.8443, allocations: 84.08 kB / 0.9609 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.8444, allocations: 77.06 kB / 0.9609 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.8444, allocations: 109.8 kB / 0.961 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.8444, allocations: 0 / 0.961 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.437e-05/0.8445, allocations: 35.44 kB / 0.9611 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.8445, allocations: 128.5 kB / 0.9612 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/0.8446, allocations: 104.9 kB / 0.9613 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.8446, allocations: 25.7 kB / 0.9613 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.748e-05/0.8446, allocations: 93.89 kB / 0.9614 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.8446, allocations: 4 kB / 0.9614 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/0.8446, allocations: 11.5 kB / 0.9614 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.025e-05/0.8447, allocations: 310.8 kB / 0.9617 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.8447, allocations: 1.812 kB / 0.9617 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.373e-05/0.8447, allocations: 30.56 kB / 0.9617 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.667e-05/0.8448, allocations: 34.22 kB / 0.9618 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8448, allocations: 1.5 kB / 0.9618 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001115/0.8449, allocations: 50.59 kB / 0.9618 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.8449, allocations: 5 kB / 0.9618 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.8449, allocations: 1.406 kB / 0.9618 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.845, allocations: 0 / 0.9618 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.845, allocations: 8.938 kB / 0.9618 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.845, allocations: 5.312 kB / 0.9618 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.8452, allocations: 16.2 kB / 0.9619 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.8452, allocations: 2.75 kB / 0.9619 GB, free: 2.125 MB / 0.7169 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 6.476e-05/0.8453, allocations: 183.9 kB / 0.962 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.8453, allocations: 110.2 kB / 0.9621 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.8454, allocations: 117.2 kB / 0.9623 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/0.8454, allocations: 180.2 kB / 0.9624 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.621e-05/0.8454, allocations: 181.6 kB / 0.9626 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/0.8455, allocations: 177.6 kB / 0.9628 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.8456, allocations: 411.8 kB / 0.9632 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.8456, allocations: 101 kB / 0.9633 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.8456, allocations: 106.5 kB / 0.9634 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.367e-05/0.8457, allocations: 185.6 kB / 0.9635 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.8457, allocations: 181.6 kB / 0.9637 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.778e-05/0.8457, allocations: 180.2 kB / 0.9639 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.897e-05/0.8458, allocations: 181.6 kB / 0.9641 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.8459, allocations: 315.7 kB / 0.9644 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.846, allocations: 187.4 kB / 0.9645 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.979e-05/0.8461, allocations: 181.6 kB / 0.9647 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.8462, allocations: 101.3 kB / 0.9648 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.8462, allocations: 185.6 kB / 0.965 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.8463, allocations: 102.4 kB / 0.9651 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.094e-05/0.8463, allocations: 83.41 kB / 0.9652 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8463, allocations: 4 kB / 0.9652 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003096/0.8466, allocations: 54.36 kB / 0.9652 GB, free: 14.53 MB / 0.7325 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.0005553/0.8472, allocations: 340.8 kB / 0.9655 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.346e-05/0.8473, allocations: 10.81 kB / 0.9655 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.8473, allocations: 1.375 kB / 0.9655 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.8473, allocations: 3.938 kB / 0.9656 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.8477, allocations: 0.5278 MB / 0.9661 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002437/0.8479, allocations: 204 kB / 0.9663 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.8482, allocations: 0.6758 MB / 0.9669 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.562e-05/0.8482, allocations: 12.81 kB / 0.9669 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.8482, allocations: 4 kB / 0.9669 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.003428/0.8516, allocations: 1.579 MB / 0.9685 GB, free: 12.02 MB / 0.7325 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)