Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.391/2.391, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 191.5 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 114.3 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 51.77 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3269, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002648/0.3296, allocations: 1.33 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002051/0.3316, allocations: 1.433 MB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.3317, allocations: 0 / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.3318, allocations: 7.922 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.332, allocations: 11.94 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006021/0.3326, allocations: 182.8 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.954e-05/0.3326, allocations: 23.92 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.3327, allocations: 7.984 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.26e-05/0.3328, allocations: 11.98 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.3329, allocations: 11.94 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3329, allocations: 0 / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.3332, allocations: 155.8 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.3332, allocations: 4 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.3333, allocations: 7.984 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.3335, allocations: 151.8 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3335, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3336, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.3336, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 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.0003623/0.3339, allocations: 373.5 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.334, allocations: 11.98 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.334, allocations: 80.22 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.3342, allocations: 247.7 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.3342, allocations: 150.9 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.3342, allocations: 158.7 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.118e-05/0.3343, allocations: 101 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.3343, allocations: 75.28 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.3343, allocations: 154.6 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.3344, allocations: 158.5 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.407e-05/0.3344, allocations: 154.5 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.3346, allocations: 457.9 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.802e-05/0.3346, allocations: 169.1 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.3347, allocations: 84.08 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.3347, allocations: 75.28 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.3347, allocations: 113.8 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.3347, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 7.241e-05/0.3348, allocations: 25.7 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.3348, allocations: 138.6 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.649e-05/0.3349, allocations: 105.8 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.3349, allocations: 25.7 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.487e-05/0.335, allocations: 88.05 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.335, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.335, allocations: 21.7 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.964e-05/0.3351, allocations: 314.9 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.3351, allocations: 4 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.3351, allocations: 30.56 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.216e-05/0.3352, allocations: 30.52 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3352, allocations: 3.938 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001209/0.3353, allocations: 49.56 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.3353, allocations: 8.094 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3353, allocations: 4 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3353, allocations: 0 / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.3354, allocations: 4 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3354, allocations: 0 / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.3356, allocations: 15.92 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.3356, allocations: 4 kB / 1.225 GB, free: 110.3 MB / 0.823 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.163e-05/0.3356, allocations: 185.8 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.3357, allocations: 108.9 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.3357, allocations: 112.2 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/0.3358, allocations: 188.2 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.537e-05/0.3358, allocations: 176.3 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/0.3358, allocations: 180.2 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.3359, allocations: 413.2 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.336, allocations: 104.9 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.336, allocations: 101.2 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.603e-05/0.336, allocations: 184.2 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.336, allocations: 184.2 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-05/0.3361, allocations: 176.3 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.864e-05/0.3361, allocations: 188.2 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.3363, allocations: 0.8453 MB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.3363, allocations: 190.1 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.3364, allocations: 180.5 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.3364, allocations: 108.9 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.3365, allocations: 184.2 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.3365, allocations: 105 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.51e-05/0.3365, allocations: 91.2 kB / 1.228 GB, free: 106.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3365, allocations: 0 / 1.228 GB, free: 106.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003896/0.3369, allocations: 47.98 kB / 1.229 GB, free: 106.1 MB / 0.823 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.0004953/0.3374, allocations: 347.9 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.438e-05/0.3375, allocations: 7.938 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3375, allocations: 0 / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.3375, allocations: 4 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.3378, allocations: 0.5187 MB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.3381, allocations: 183 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.3383, allocations: 0.6692 MB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.385e-05/0.3383, allocations: 4 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.23e-05/0.3383, allocations: 7.438 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.8e-07/0.3383, allocations: 3.938 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of Templates: time 0.003531/0.3418, allocations: 1.61 MB / 1.232 GB, free: 102.7 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)