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.0009173/0.0009175, allocations: 91.53 kB / 16.02 MB, free: 80 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.00128/0.00128, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.273 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.578/2.578, allocations: 437.8 MB / 0.7128 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003969, allocations: 12 kB / 0.8735 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.815, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001497/0.8166, allocations: 0.9996 MB / 1.025 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.8188, allocations: 1.417 MB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.8189, allocations: 0 / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.8189, allocations: 0 / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.8191, allocations: 11.94 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006427/0.8197, allocations: 183.3 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.063e-05/0.8198, allocations: 19.94 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.8199, allocations: 3.984 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.608e-05/0.82, allocations: 15.92 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.8201, allocations: 15.94 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.8201, allocations: 4 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.8204, allocations: 151.8 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.8205, allocations: 8 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.8205, allocations: 41.61 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.8207, allocations: 95.88 kB / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.8207, allocations: 0 / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8207, allocations: 0 / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.8207, allocations: 0 / 1.027 GB, free: 12.93 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.0003665/0.8211, allocations: 357.4 kB / 1.027 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.8212, allocations: 12.03 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.8212, allocations: 80.22 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.8214, allocations: 243.7 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.828e-05/0.8215, allocations: 150.9 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.315e-05/0.8216, allocations: 162.7 kB / 1.028 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.659e-05/0.8216, allocations: 104.9 kB / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.8217, allocations: 79.22 kB / 1.028 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/0.8217, allocations: 154.6 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.842e-05/0.8218, allocations: 150.6 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.691e-05/0.8218, allocations: 150.6 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.8221, allocations: 453.9 kB / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.599e-05/0.8222, allocations: 181.1 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.8223, allocations: 84.08 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.8223, allocations: 79.27 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.8223, allocations: 105.8 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.8224, allocations: 0 / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.815e-05/0.8224, allocations: 33.61 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.8225, allocations: 134.6 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.8226, allocations: 109.8 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.8227, allocations: 25.7 kB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.8227, allocations: 88.08 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.8227, allocations: 0 / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.8227, allocations: 13.72 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.8229, allocations: 310.8 kB / 1.03 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.8229, allocations: 0 / 1.03 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-05/0.8229, allocations: 34.56 kB / 1.03 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.336e-05/0.823, allocations: 30.56 kB / 1.03 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.823, allocations: 0 / 1.03 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001388/0.8231, allocations: 53.56 kB / 1.03 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.8232, allocations: 9.969 kB / 1.03 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.8232, allocations: 0 / 1.03 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.8232, allocations: 0 / 1.03 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.8233, allocations: 8 kB / 1.03 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.8233, allocations: 3.984 kB / 1.03 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.8234, allocations: 8 kB / 1.03 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.8234, allocations: 4 kB / 1.03 GB, free: 9.336 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.0001061/0.8236, allocations: 181.7 kB / 1.03 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.8236, allocations: 120.8 kB / 1.03 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.8237, allocations: 108.2 kB / 1.03 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.285e-05/0.8238, allocations: 180.2 kB / 1.03 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.869e-05/0.8238, allocations: 180.2 kB / 1.031 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.819e-05/0.8239, allocations: 180.3 kB / 1.031 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.8241, allocations: 413.1 kB / 1.031 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.982e-05/0.8242, allocations: 105 kB / 1.031 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.8242, allocations: 105 kB / 1.031 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.951e-05/0.8243, allocations: 180.2 kB / 1.032 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/0.8244, allocations: 176.3 kB / 1.032 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.313e-05/0.8244, allocations: 188.2 kB / 1.032 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.29e-05/0.8245, allocations: 184.2 kB / 1.032 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.8246, allocations: 311.6 kB / 1.032 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.374e-05/0.8247, allocations: 182.1 kB / 1.033 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.8248, allocations: 184.2 kB / 1.033 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.8249, allocations: 113.2 kB / 1.033 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.825, allocations: 180.2 kB / 1.033 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.825, allocations: 105 kB / 1.033 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.848e-05/0.8251, allocations: 83.28 kB / 1.033 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8251, allocations: 3.938 kB / 1.033 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003357/0.8254, allocations: 51.98 kB / 1.033 GB, free: 5.672 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.0006236/0.826, allocations: 342.3 kB / 1.034 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.216e-05/0.8261, allocations: 11.94 kB / 1.034 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8261, allocations: 0 / 1.034 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.8261, allocations: 0 / 1.034 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.8265, allocations: 0.5302 MB / 1.034 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.8268, allocations: 203.8 kB / 1.034 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.8271, allocations: 0.6731 MB / 1.035 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.662e-05/0.8271, allocations: 11.44 kB / 1.035 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8271, allocations: 0 / 1.035 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of Templates: time 0.003532/0.8306, allocations: 1.594 MB / 1.036 GB, free: 2.289 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)