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.001326/0.001326, allocations: 105.3 kB / 16.27 MB, free: 6.008 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.001385/0.001386, allocations: 190.4 kB / 17.2 MB, free: 5.621 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.212/2.212, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001994, allocations: 66.2 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3206, allocations: 140.4 MB / 0.9503 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00245/0.3231, allocations: 1.271 MB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.3253, allocations: 1.435 MB / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.3254, allocations: 0 / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.3254, allocations: 3.938 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.3256, allocations: 15.92 kB / 0.9529 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006657/0.3263, allocations: 219.2 kB / 0.9531 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.949e-05/0.3264, allocations: 19.94 kB / 0.9532 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.3264, allocations: 0 / 0.9532 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.392e-05/0.3265, allocations: 15.97 kB / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.3266, allocations: 15.94 kB / 0.9532 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.3267, allocations: 4 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.3269, allocations: 151.8 kB / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.327, allocations: 4 kB / 0.9533 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.327, allocations: 11.92 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.3273, allocations: 155.7 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3273, allocations: 0 / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3273, allocations: 0 / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.3273, allocations: 0 / 0.9535 GB, free: 5.574 MB / 0.7325 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.0003392/0.3277, allocations: 371.7 kB / 0.9539 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3277, allocations: 12.03 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.3278, allocations: 80.22 kB / 0.9539 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.3279, allocations: 235.7 kB / 0.9542 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/0.328, allocations: 154.9 kB / 0.9543 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.328, allocations: 158.7 kB / 0.9545 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.653e-05/0.3281, allocations: 105 kB / 0.9546 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.3281, allocations: 79.28 kB / 0.9546 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/0.3282, allocations: 154.5 kB / 0.9548 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/0.3282, allocations: 154.5 kB / 0.9549 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.781e-05/0.3283, allocations: 154.6 kB / 0.9551 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.3286, allocations: 457.8 kB / 0.9555 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.197e-05/0.3286, allocations: 173.1 kB / 0.9557 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.233e-05/0.3287, allocations: 88.08 kB / 0.9558 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.3287, allocations: 79.22 kB / 0.9559 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.3288, allocations: 109.8 kB / 0.956 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.3288, allocations: 4 kB / 0.956 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.732e-05/0.3288, allocations: 25.7 kB / 0.956 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.3289, allocations: 134.7 kB / 0.9561 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.094e-05/0.329, allocations: 105.8 kB / 0.9562 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.329, allocations: 25.7 kB / 0.9562 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.3291, allocations: 80.14 kB / 0.9563 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.3291, allocations: 4 kB / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.3291, allocations: 21.7 kB / 0.9563 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.3292, allocations: 310.8 kB / 0.9566 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.3292, allocations: 8.25 kB / 0.9566 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.524e-05/0.3293, allocations: 30.5 kB / 0.9567 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/0.3293, allocations: 30.58 kB / 0.9567 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3293, allocations: 0 / 0.9567 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001255/0.3295, allocations: 53.56 kB / 0.9568 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3295, allocations: 4 kB / 0.9568 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3295, allocations: 4 kB / 0.9568 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3295, allocations: 0 / 0.9568 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-05/0.3296, allocations: 7.938 kB / 0.9568 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.3296, allocations: 3.984 kB / 0.9568 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.3298, allocations: 8 kB / 0.9568 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.3298, allocations: 4 kB / 0.9568 GB, free: 1.965 MB / 0.7325 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 8.983e-05/0.3299, allocations: 189.2 kB / 0.957 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.3299, allocations: 112.8 kB / 0.9571 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.33, allocations: 115.8 kB / 0.9572 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.787e-05/0.33, allocations: 180.3 kB / 0.9574 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.285e-05/0.3301, allocations: 176.3 kB / 0.9575 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.369e-05/0.3302, allocations: 180.2 kB / 0.9577 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.3304, allocations: 413.2 kB / 0.9581 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/0.3304, allocations: 104.9 kB / 0.9582 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.3304, allocations: 105 kB / 0.9583 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.032e-05/0.3305, allocations: 184.2 kB / 0.9585 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.62e-05/0.3306, allocations: 184.1 kB / 0.9586 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-05/0.3306, allocations: 180.3 kB / 0.9588 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-05/0.3307, allocations: 184.2 kB / 0.959 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.3308, allocations: 311.6 kB / 0.9593 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.3309, allocations: 178.1 kB / 0.9595 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.3309, allocations: 184.3 kB / 0.9596 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.331, allocations: 108.9 kB / 0.9597 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.3311, allocations: 180.2 kB / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.3311, allocations: 108.9 kB / 0.96 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.077e-05/0.3312, allocations: 83.28 kB / 0.9601 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3312, allocations: 0 / 0.9601 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003091/0.3315, allocations: 47.92 kB / 0.9601 GB, free: 14.3 MB / 0.7481 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.0005512/0.332, allocations: 347.2 kB / 0.9605 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 7.66e-05/0.3321, allocations: 4 kB / 0.9605 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3321, allocations: 0 / 0.9605 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-06/0.3321, allocations: 4 kB / 0.9605 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.3325, allocations: 469.8 kB / 0.9609 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.3327, allocations: 195.2 kB / 0.9611 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.3329, allocations: 0.6805 MB / 0.9618 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.3329, allocations: 7.438 kB / 0.9618 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.333, allocations: 0 / 0.9618 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of Templates: time 0.003303/0.3363, allocations: 1.598 MB / 0.9633 GB, free: 11 MB / 0.7481 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)