Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.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.04167/0.04167, allocations: 9.13 MB / 28.99 MB, free: 0.8086 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.000833/0.000833, allocations: 90.38 kB / 35.33 MB, free: 1.074 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.0009586/0.0009586, allocations: 163.8 kB / 38.73 MB, free: 2.504 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.9412/0.9412, allocations: 177.1 MB / 219.2 MB, free: 10.12 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.00511/0.00511, allocations: 0.8225 MB / 276.5 MB, free: 0.7539 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.685/1.685, 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.CheckRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 4 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.326e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation): time 0.0022/0.002223, allocations: 1.822 MB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.003718, allocations: 1.694 MB / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/0.003772, allocations: 0 / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.003963, allocations: 39.7 kB / 0.6414 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.004242, allocations: 127.2 kB / 0.6415 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.004504, allocations: 175.4 kB / 0.6417 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.004726, allocations: 281.4 kB / 0.6419 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.361e-05/0.004799, allocations: 13.97 kB / 0.6419 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02166/0.02646, allocations: 9.477 MB / 0.6512 GB, free: 352 kB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.0266, allocations: 83.83 kB / 0.6513 GB, free: 268 kB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.02663, allocations: 20 kB / 0.6513 GB, free: 248 kB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.02681, allocations: 87.83 kB / 0.6514 GB, free: 160 kB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 7.81e-05/0.02689, allocations: 91.72 kB / 0.6515 GB, free: 68 kB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.318e-05/0.02695, allocations: 63.78 kB / 0.6515 GB, free: 4 kB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.0273, allocations: 286.9 kB / 0.6518 GB, free: 15.72 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.0273, allocations: 0 / 0.6518 GB, free: 15.72 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.312e-06/0.0273, allocations: 0 / 0.6518 GB, free: 15.72 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.02731, allocations: 0 / 0.6518 GB, free: 15.72 MB / 0.6199 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005076/0.02781, allocations: 463.8 kB / 0.6522 GB, free: 15.24 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.02785, allocations: 15.98 kB / 0.6523 GB, free: 15.23 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.02811, allocations: 76.78 kB / 0.6523 GB, free: 15.15 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.02833, allocations: 248.6 kB / 0.6526 GB, free: 14.88 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.02835, allocations: 16.38 kB / 0.6526 GB, free: 14.87 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.02838, allocations: 20.38 kB / 0.6526 GB, free: 14.85 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.02861, allocations: 236.7 kB / 0.6528 GB, free: 14.59 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.02861, allocations: 192 / 0.6528 GB, free: 14.59 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.02863, allocations: 16.11 kB / 0.6528 GB, free: 14.57 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.02864, allocations: 8 kB / 0.6528 GB, free: 14.56 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/0.02905, allocations: 491 kB / 0.6533 GB, free: 14.08 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.02954, allocations: 370.8 kB / 0.6537 GB, free: 13.7 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.02977, allocations: 167.4 kB / 0.6538 GB, free: 13.53 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.02982, allocations: 53.41 kB / 0.6539 GB, free: 13.47 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.02985, allocations: 16.27 kB / 0.6539 GB, free: 13.46 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.03, allocations: 135.2 kB / 0.654 GB, free: 13.31 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=35): time 1.233e-06/0.03, allocations: 0 / 0.654 GB, free: 13.31 MB / 0.6199 GB Notification: Performance of matching and sorting (n=35): time 0.0002448/0.03024, allocations: 177.4 kB / 0.6542 GB, free: 13.13 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.03028, allocations: 106.8 kB / 0.6543 GB, free: 13 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.0304, allocations: 209 kB / 0.6545 GB, free: 12.79 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.03042, allocations: 37.7 kB / 0.6545 GB, free: 12.74 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.03046, allocations: 117.5 kB / 0.6546 GB, free: 12.62 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 6.337e-05/0.03053, allocations: 118.9 kB / 0.6548 GB, free: 12.51 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.03059, allocations: 57.67 kB / 0.6548 GB, free: 12.45 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.03067, allocations: 342.7 kB / 0.6551 GB, free: 12.1 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.03071, allocations: 31.92 kB / 0.6552 GB, free: 12.07 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.133e-05/0.0308, allocations: 119.1 kB / 0.6553 GB, free: 11.93 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.03091, allocations: 111.9 kB / 0.6554 GB, free: 11.82 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.03092, allocations: 8.031 kB / 0.6554 GB, free: 11.81 MB / 0.6199 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001613/0.03108, allocations: 149.3 kB / 0.6555 GB, free: 11.66 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.03109, allocations: 4 kB / 0.6555 GB, free: 11.66 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.0311, allocations: 4 kB / 0.6555 GB, free: 11.65 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.03111, allocations: 0 / 0.6555 GB, free: 11.65 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.03127, allocations: 59.91 kB / 0.6556 GB, free: 11.59 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.03127, allocations: 4 kB / 0.6556 GB, free: 11.59 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.779e-05/0.03135, allocations: 31.81 kB / 0.6556 GB, free: 11.56 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.03136, allocations: 11.98 kB / 0.6557 GB, free: 11.55 MB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (timCon.tNext,$PRE.timCon.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.825e-05/0.03145, allocations: 128.5 kB / 0.6558 GB, free: 11.41 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.03148, allocations: 27.97 kB / 0.6558 GB, free: 11.38 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.03176, allocations: 236.8 kB / 0.656 GB, free: 11.15 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.03177, allocations: 4 kB / 0.656 GB, free: 11.14 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.03177, allocations: 8 kB / 0.656 GB, free: 11.14 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.03177, allocations: 0 / 0.656 GB, free: 11.14 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.03191, allocations: 161.6 kB / 0.6562 GB, free: 10.96 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.03192, allocations: 4 kB / 0.6562 GB, free: 10.96 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.03204, allocations: 59.91 kB / 0.6563 GB, free: 10.9 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.03204, allocations: 0 / 0.6563 GB, free: 10.9 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.03205, allocations: 7.984 kB / 0.6563 GB, free: 10.89 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.03205, allocations: 4 kB / 0.6563 GB, free: 10.89 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.03205, allocations: 0 / 0.6563 GB, free: 10.89 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.03222, allocations: 190.6 kB / 0.6564 GB, free: 10.68 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/0.0323, allocations: 59.7 kB / 0.6565 GB, free: 10.62 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.03232, allocations: 8 kB / 0.6565 GB, free: 10.62 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.03239, allocations: 15.98 kB / 0.6565 GB, free: 10.6 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.03243, allocations: 23.95 kB / 0.6565 GB, free: 10.58 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.03244, allocations: 7.984 kB / 0.6566 GB, free: 10.57 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.03249, allocations: 70.78 kB / 0.6566 GB, free: 10.5 MB / 0.6199 GB Notification: Performance of sort global known variables: time 4e-08/0.03249, allocations: 0 / 0.6566 GB, free: 10.5 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0001557/0.03265, allocations: 59.94 kB / 0.6567 GB, free: 10.44 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,timCon.tNext) * Number of discrete states: 1 (timCon.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008432/0.03349, allocations: 453 kB / 0.6571 GB, free: 9.984 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.03367, allocations: 136.7 kB / 0.6572 GB, free: 9.848 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.03367, allocations: 4 kB / 0.6572 GB, free: 9.844 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 8.356e-05/0.03375, allocations: 88.53 kB / 0.6573 GB, free: 9.754 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.03388, allocations: 40.33 kB / 0.6574 GB, free: 9.715 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005947/0.03447, allocations: 454.9 kB / 0.6578 GB, free: 9.246 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.866e-05/0.03452, allocations: 93.81 kB / 0.6579 GB, free: 9.133 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.03466, allocations: 82.95 kB / 0.658 GB, free: 9.051 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.0348, allocations: 119.3 kB / 0.6581 GB, free: 8.934 MB / 0.6199 GB Notification: Performance of SimCode: time 7.32e-07/0.0348, allocations: 3.938 kB / 0.6581 GB, free: 8.93 MB / 0.6199 GB Notification: Performance of Templates: time 0.004824/0.03962, allocations: 3.355 MB / 0.6614 GB, free: 5.562 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.makefile [Timeout 660] (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.618550181854516]