Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04405/0.04405, allocations: 9.129 MB / 28.99 MB, free: 0.8203 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 95.2 kB / 35.33 MB, free: 1.078 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 165 kB / 38.73 MB, free: 2.492 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.034/1.034, allocations: 177.2 MB / 219.2 MB, free: 10.11 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004229/0.004229, allocations: 0.8302 MB / 276.5 MB, free: 0.7266 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.698/1.698, allocations: 274.9 MB / 0.5419 GB, free: 0.625 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.498e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002705/0.00273, allocations: 1.4 MB / 0.6393 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002446/0.005176, allocations: 1.59 MB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.005215, allocations: 0 / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.005235, allocations: 7.938 kB / 0.6409 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.005448, allocations: 11.92 kB / 0.6409 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005923/0.006041, allocations: 207.3 kB / 0.6411 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.441e-05/0.006115, allocations: 19.88 kB / 0.6411 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.006153, allocations: 4 kB / 0.6411 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.006307, allocations: 27.95 kB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.006371, allocations: 8 kB / 0.6411 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.006384, allocations: 3.938 kB / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.0067, allocations: 167.7 kB / 0.6413 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.006715, allocations: 7.984 kB / 0.6413 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.006734, allocations: 8 kB / 0.6413 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.006991, allocations: 167.5 kB / 0.6415 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.006995, allocations: 4 kB / 0.6415 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.543e-06/0.006997, allocations: 0 / 0.6415 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.007001, allocations: 0 / 0.6415 GB, free: 10.41 MB / 0.6043 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.0003068/0.007308, allocations: 272.5 kB / 0.6417 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.007348, allocations: 11.98 kB / 0.6417 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.007399, allocations: 80.22 kB / 0.6418 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.007513, allocations: 181.1 kB / 0.642 GB, free: 9.824 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.007561, allocations: 154.9 kB / 0.6421 GB, free: 9.672 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.007612, allocations: 162.9 kB / 0.6423 GB, free: 9.512 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.44e-05/0.007666, allocations: 105.5 kB / 0.6424 GB, free: 9.402 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.007691, allocations: 83.22 kB / 0.6425 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.007732, allocations: 150.6 kB / 0.6426 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.36e-05/0.007775, allocations: 154.6 kB / 0.6428 GB, free: 9.02 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.855e-05/0.007814, allocations: 150.6 kB / 0.6429 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.008011, allocations: 353.3 kB / 0.6432 GB, free: 8.512 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.663e-05/0.008088, allocations: 173.1 kB / 0.6434 GB, free: 8.332 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.008114, allocations: 84.14 kB / 0.6435 GB, free: 8.246 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.00814, allocations: 75.28 kB / 0.6436 GB, free: 8.172 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.008184, allocations: 109.8 kB / 0.6437 GB, free: 8.055 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.008185, allocations: 0 / 0.6437 GB, free: 8.055 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 7.448e-05/0.00826, allocations: 33.69 kB / 0.6437 GB, free: 8.016 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.008309, allocations: 138.6 kB / 0.6438 GB, free: 7.867 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.35e-05/0.008403, allocations: 110.7 kB / 0.6439 GB, free: 7.746 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.008417, allocations: 25.7 kB / 0.644 GB, free: 7.715 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.008456, allocations: 92.12 kB / 0.644 GB, free: 7.621 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-06/0.008458, allocations: 0 / 0.644 GB, free: 7.621 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.008497, allocations: 21.72 kB / 0.6441 GB, free: 7.594 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.008594, allocations: 314.8 kB / 0.6444 GB, free: 7.277 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.008607, allocations: 0 / 0.6444 GB, free: 7.277 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.255e-05/0.00867, allocations: 99.69 kB / 0.6445 GB, free: 7.152 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.684e-05/0.008717, allocations: 38.48 kB / 0.6445 GB, free: 7.105 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.008719, allocations: 0 / 0.6445 GB, free: 7.105 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001034/0.008822, allocations: 45.62 kB / 0.6445 GB, free: 7.055 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.008836, allocations: 4 kB / 0.6445 GB, free: 7.051 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.008843, allocations: 4 kB / 0.6445 GB, free: 7.047 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.008857, allocations: 0 / 0.6445 GB, free: 7.047 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.008918, allocations: 4 kB / 0.6446 GB, free: 7.043 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.008923, allocations: 3.938 kB / 0.6446 GB, free: 7.039 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.009025, allocations: 16.02 kB / 0.6446 GB, free: 7.023 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.009038, allocations: 4 kB / 0.6446 GB, free: 7.02 MB / 0.6043 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 9.247e-05/0.00913, allocations: 189.1 kB / 0.6448 GB, free: 6.824 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.00919, allocations: 108.9 kB / 0.6449 GB, free: 6.711 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.009236, allocations: 104.1 kB / 0.645 GB, free: 6.602 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.342e-05/0.009289, allocations: 184.2 kB / 0.6451 GB, free: 6.414 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-05/0.009341, allocations: 184.2 kB / 0.6453 GB, free: 6.227 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-05/0.00939, allocations: 176.3 kB / 0.6455 GB, free: 6.047 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.009566, allocations: 321.4 kB / 0.6458 GB, free: 5.707 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.291e-05/0.009598, allocations: 105 kB / 0.6459 GB, free: 5.598 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.009632, allocations: 113.1 kB / 0.646 GB, free: 5.48 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.128e-05/0.009684, allocations: 180.3 kB / 0.6462 GB, free: 5.297 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.833e-05/0.009742, allocations: 176.3 kB / 0.6463 GB, free: 5.117 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-05/0.009797, allocations: 184.2 kB / 0.6465 GB, free: 4.93 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.048e-05/0.009847, allocations: 180.2 kB / 0.6467 GB, free: 4.746 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.009964, allocations: 311.7 kB / 0.647 GB, free: 4.418 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.01001, allocations: 109 kB / 0.6471 GB, free: 4.305 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/0.01006, allocations: 184.2 kB / 0.6473 GB, free: 4.117 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.01014, allocations: 105.2 kB / 0.6474 GB, free: 4.008 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.01035, allocations: 180.2 kB / 0.6475 GB, free: 3.824 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.01038, allocations: 105 kB / 0.6476 GB, free: 3.715 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.134e-05/0.0104, allocations: 12.86 kB / 0.6476 GB, free: 3.699 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.0104, allocations: 0 / 0.6476 GB, free: 3.699 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0003269/0.01073, allocations: 55.8 kB / 0.6477 GB, free: 3.645 MB / 0.6043 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.0007063/0.01144, allocations: 374.3 kB / 0.6481 GB, free: 3.27 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.334e-05/0.01151, allocations: 16.8 kB / 0.6481 GB, free: 3.25 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.01152, allocations: 0 / 0.6481 GB, free: 3.25 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.01152, allocations: 0 / 0.6481 GB, free: 3.25 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.01178, allocations: 463.9 kB / 0.6485 GB, free: 2.793 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005164/0.0123, allocations: 187.9 kB / 0.6487 GB, free: 2.578 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.745e-05/0.01233, allocations: 55.36 kB / 0.6487 GB, free: 2.504 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.032e-05/0.01236, allocations: 0 / 0.6487 GB, free: 2.504 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.01241, allocations: 51.38 kB / 0.6488 GB, free: 2.453 MB / 0.6043 GB Notification: Performance of SimCode: time 7.72e-07/0.01241, allocations: 0 / 0.6488 GB, free: 2.453 MB / 0.6043 GB Notification: Performance of Templates: time 0.004746/0.01716, allocations: 1.937 MB / 0.6507 GB, free: 0.5195 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 660] (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.525320825167]