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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001348/0.001348, allocations: 104.9 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.00134/0.00134, allocations: 189.8 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.554/2.554, allocations: 437 MB / 0.711 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 64.59 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3211, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00265/0.3238, allocations: 1.268 MB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002363/0.3262, allocations: 1.434 MB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.3262, allocations: 0 / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.3262, allocations: 3.938 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.3265, allocations: 23.91 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006424/0.3271, allocations: 217.2 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.925e-05/0.3272, allocations: 23.92 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.3272, allocations: 0 / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.566e-05/0.3273, allocations: 15.92 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.3275, allocations: 19.92 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.3275, allocations: 0 / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.3278, allocations: 147.8 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.3278, allocations: 7.969 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.3278, allocations: 15.94 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.3281, allocations: 139.8 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3281, allocations: 0 / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3281, allocations: 0 / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3281, allocations: 0 / 1.021 GB, free: 7.301 MB / 0.795 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.0004639/0.3286, allocations: 371.8 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.3286, allocations: 8.922 kB / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.658e-05/0.3287, allocations: 80.22 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.3289, allocations: 247.5 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/0.329, allocations: 154.9 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.212e-05/0.3291, allocations: 162.7 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.713e-05/0.3292, allocations: 108.9 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/0.3293, allocations: 75.28 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.463e-05/0.3293, allocations: 150.6 kB / 1.023 GB, free: 5.875 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.918e-05/0.3294, allocations: 154.6 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.335e-05/0.3295, allocations: 154.6 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.3299, allocations: 449.9 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.664e-05/0.33, allocations: 173.1 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.33, allocations: 92.08 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/0.3301, allocations: 79.27 kB / 1.024 GB, free: 4.73 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.667e-05/0.3301, allocations: 105.8 kB / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3301, allocations: 4 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 9.057e-05/0.3302, allocations: 25.7 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.3303, allocations: 126.7 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3304, allocations: 109.8 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3305, allocations: 33.7 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.3305, allocations: 88.06 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.3305, allocations: 4 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.3306, allocations: 17.72 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3307, allocations: 318.8 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.3308, allocations: 4 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.671e-05/0.3308, allocations: 22.58 kB / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.994e-05/0.3309, allocations: 34.5 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3309, allocations: 0 / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001364/0.331, allocations: 49.58 kB / 1.024 GB, free: 3.719 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.331, allocations: 7.984 kB / 1.024 GB, free: 3.711 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3311, allocations: 4 kB / 1.024 GB, free: 3.707 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3311, allocations: 4.094 kB / 1.024 GB, free: 3.703 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.3311, allocations: 4 kB / 1.024 GB, free: 3.699 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3312, allocations: 0 / 1.024 GB, free: 3.699 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.3313, allocations: 7.906 kB / 1.024 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.3313, allocations: 11.98 kB / 1.025 GB, free: 3.68 MB / 0.795 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.0001259/0.3315, allocations: 185.1 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.3316, allocations: 108.9 kB / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.3316, allocations: 108.1 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.63e-05/0.3317, allocations: 180.3 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.618e-05/0.3318, allocations: 192.1 kB / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-05/0.3319, allocations: 176.3 kB / 1.025 GB, free: 2.703 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.3321, allocations: 409.1 kB / 1.026 GB, free: 2.246 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.721e-05/0.3322, allocations: 105 kB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.3322, allocations: 109 kB / 1.026 GB, free: 2.023 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.385e-05/0.3323, allocations: 180.2 kB / 1.026 GB, free: 1.84 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/0.3324, allocations: 180.3 kB / 1.026 GB, free: 1.656 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-05/0.3325, allocations: 180.2 kB / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-05/0.3326, allocations: 180.2 kB / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.3328, allocations: 311.7 kB / 1.027 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.45e-05/0.3329, allocations: 178.1 kB / 1.027 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-05/0.3329, allocations: 188.2 kB / 1.027 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.333, allocations: 101 kB / 1.027 GB, free: 476 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.782e-05/0.3331, allocations: 184.3 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/0.3332, allocations: 108.9 kB / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.3332, allocations: 87.52 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3332, allocations: 0 / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003485/0.3336, allocations: 55.92 kB / 1.028 GB, free: 24 kB / 0.795 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.0007035/0.3343, allocations: 338.4 kB / 1.028 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.707e-05/0.3344, allocations: 15.98 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3344, allocations: 4 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.3344, allocations: 0 / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.3348, allocations: 461.9 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.3351, allocations: 199.3 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3354, allocations: 0.6768 MB / 1.029 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.574e-05/0.3355, allocations: 7.438 kB / 1.029 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3355, allocations: 0 / 1.029 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of Templates: time 0.003647/0.3391, allocations: 1.593 MB / 1.031 GB, free: 12.73 MB / 0.8106 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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)