Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.04195/0.04195, allocations: 9.129 MB / 28.99 MB, free: 340 kB / 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.001633/0.001633, allocations: 91.27 kB / 35.33 MB, free: 0.9375 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.001207/0.001207, allocations: 165.1 kB / 38.73 MB, free: 2.398 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 0.9834/0.9834, 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.004193/0.004193, allocations: 0.8257 MB / 276.5 MB, free: 0.7461 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.657/1.657, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.702e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002169/0.002186, allocations: 1.318 MB / 0.6392 GB, free: 12.77 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.003601, allocations: 1.134 MB / 0.6403 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.003627, allocations: 0 / 0.6403 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.003644, allocations: 0 / 0.6403 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.000471/0.004115, allocations: 119.4 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 2.594e-06/0.004117, allocations: 0 / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 3.541e-05/0.004153, allocations: 0 / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.00419, allocations: 4 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 2.595e-05/0.004216, allocations: 0 / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.222e-05/0.004268, allocations: 3.938 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.004276, allocations: 4 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.004495, allocations: 115.8 kB / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.111e-06/0.004502, allocations: 0 / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 9.137e-06/0.004511, allocations: 0 / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.004703, allocations: 115.6 kB / 0.6406 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.004706, allocations: 3.984 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.32e-07/0.004707, allocations: 0 / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.00471, allocations: 0 / 0.6406 GB, free: 11.27 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.0002403/0.00495, allocations: 248.6 kB / 0.6409 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.004986, allocations: 11.98 kB / 0.6409 GB, free: 11 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.005024, allocations: 80.16 kB / 0.641 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.005127, allocations: 185.1 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/0.00517, allocations: 154.9 kB / 0.6413 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.005212, allocations: 158.9 kB / 0.6414 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.184e-05/0.005264, allocations: 109.5 kB / 0.6415 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.005287, allocations: 79.45 kB / 0.6416 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.005332, allocations: 154.7 kB / 0.6418 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.005372, allocations: 150.6 kB / 0.6419 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.938e-05/0.005411, allocations: 154.6 kB / 0.642 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.005592, allocations: 349.3 kB / 0.6424 GB, free: 9.402 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.417e-05/0.005666, allocations: 173.1 kB / 0.6425 GB, free: 9.223 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.005691, allocations: 84.14 kB / 0.6426 GB, free: 9.137 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.005713, allocations: 75.28 kB / 0.6427 GB, free: 9.062 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.005752, allocations: 109.8 kB / 0.6428 GB, free: 8.945 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.005753, allocations: 0 / 0.6428 GB, free: 8.945 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 5.689e-05/0.00581, allocations: 37.64 kB / 0.6428 GB, free: 8.902 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.005865, allocations: 130.7 kB / 0.643 GB, free: 8.762 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.005939, allocations: 102.7 kB / 0.6431 GB, free: 8.648 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.005949, allocations: 25.7 kB / 0.6431 GB, free: 8.617 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.261e-05/0.005971, allocations: 80.14 kB / 0.6432 GB, free: 8.535 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.005973, allocations: 3.984 kB / 0.6432 GB, free: 8.531 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/0.005995, allocations: 17.84 kB / 0.6432 GB, free: 8.508 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.006078, allocations: 310.8 kB / 0.6435 GB, free: 8.195 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-06/0.006081, allocations: 0 / 0.6435 GB, free: 8.195 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.508e-06/0.006085, allocations: 0 / 0.6435 GB, free: 8.195 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.357e-05/0.006109, allocations: 79.28 kB / 0.6436 GB, free: 8.117 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/0.006128, allocations: 75.28 kB / 0.6436 GB, free: 8.043 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.985e-05/0.006178, allocations: 29.69 kB / 0.6437 GB, free: 8.008 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.006208, allocations: 87.27 kB / 0.6437 GB, free: 7.922 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.006238, allocations: 79.28 kB / 0.6438 GB, free: 7.844 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/0.006353, allocations: 150.6 kB / 0.644 GB, free: 7.695 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.514e-05/0.006379, allocations: 83.22 kB / 0.644 GB, free: 7.613 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.726e-05/0.006416, allocations: 154.6 kB / 0.6442 GB, free: 7.461 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.00648, allocations: 87.16 kB / 0.6443 GB, free: 7.375 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.006498, allocations: 75.28 kB / 0.6443 GB, free: 7.301 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 8.677e-05/0.006585, allocations: 264.4 kB / 0.6446 GB, free: 7.031 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.006627, allocations: 104.9 kB / 0.6447 GB, free: 6.922 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.006667, allocations: 112.1 kB / 0.6448 GB, free: 6.805 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.192e-05/0.006709, allocations: 176.3 kB / 0.645 GB, free: 6.625 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.533e-05/0.006755, allocations: 184.2 kB / 0.6451 GB, free: 6.438 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.803e-05/0.006803, allocations: 188.2 kB / 0.6453 GB, free: 6.246 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.006966, allocations: 317.4 kB / 0.6456 GB, free: 5.91 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.931e-05/0.006996, allocations: 112.9 kB / 0.6457 GB, free: 5.793 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.007022, allocations: 101 kB / 0.6458 GB, free: 5.688 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.612e-05/0.007068, allocations: 180.2 kB / 0.646 GB, free: 5.504 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.007114, allocations: 184.2 kB / 0.6462 GB, free: 5.316 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.541e-05/0.00716, allocations: 176.3 kB / 0.6463 GB, free: 5.137 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.823e-05/0.007208, allocations: 180.2 kB / 0.6465 GB, free: 4.953 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.00731, allocations: 320.1 kB / 0.6468 GB, free: 4.617 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.007342, allocations: 105 kB / 0.6469 GB, free: 4.508 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.007393, allocations: 184.2 kB / 0.6471 GB, free: 4.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.275e-05/0.007456, allocations: 101 kB / 0.6472 GB, free: 4.215 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.007501, allocations: 180.3 kB / 0.6474 GB, free: 4.031 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.007532, allocations: 112.9 kB / 0.6475 GB, free: 3.914 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.612e-05/0.007548, allocations: 4.859 kB / 0.6475 GB, free: 3.906 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.007548, allocations: 0 / 0.6475 GB, free: 3.906 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000323/0.007871, allocations: 43.8 kB / 0.6475 GB, free: 3.863 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.0005638/0.008435, allocations: 346.4 kB / 0.6478 GB, free: 3.516 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 2.971e-05/0.008464, allocations: 3.938 kB / 0.6479 GB, free: 3.512 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.008467, allocations: 0 / 0.6479 GB, free: 3.512 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.008468, allocations: 4 kB / 0.6479 GB, free: 3.508 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.008723, allocations: 471.5 kB / 0.6483 GB, free: 3.043 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.008914, allocations: 159 kB / 0.6485 GB, free: 2.859 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.008945, allocations: 51.36 kB / 0.6485 GB, free: 2.789 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 7.454e-06/0.008953, allocations: 0 / 0.6485 GB, free: 2.789 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.00898, allocations: 51.38 kB / 0.6486 GB, free: 2.734 MB / 0.6043 GB Notification: Performance of SimCode: time 5.31e-07/0.00898, allocations: 0 / 0.6486 GB, free: 2.734 MB / 0.6043 GB Notification: Performance of Templates: time 0.003139/0.01212, allocations: 1.179 MB / 0.6497 GB, free: 1.555 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 660] (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4269495769403875]