Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.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.05353/0.05353, allocations: 9.128 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.0008766/0.0008766, allocations: 90.72 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.0009956/0.0009956, allocations: 163.6 kB / 38.73 MB, free: 2.508 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.023/1.023, allocations: 177.1 MB / 219.2 MB, free: 10.09 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.004013/0.004013, allocations: 0.8255 MB / 276.5 MB, free: 0.7227 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.706/1.706, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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.ConvertRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.437e-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.ConvertRadiation): time 0.002313/0.002338, allocations: 1.772 MB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.00394, allocations: 1.527 MB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.004006, allocations: 3.938 kB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.004242, allocations: 27.84 kB / 0.6411 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.004612, allocations: 123.3 kB / 0.6412 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.004931, allocations: 143.5 kB / 0.6414 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.005185, allocations: 257.4 kB / 0.6416 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.752e-05/0.005273, allocations: 21.95 kB / 0.6416 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02342/0.02869, allocations: 9.462 MB / 0.6509 GB, free: 0.6445 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.02884, allocations: 71.84 kB / 0.651 GB, free: 0.5742 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.02887, allocations: 16 kB / 0.651 GB, free: 0.5586 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.029, allocations: 63.86 kB / 0.651 GB, free: 0.4961 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 8.376e-05/0.02909, allocations: 87.73 kB / 0.6511 GB, free: 420 kB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.754e-05/0.02916, allocations: 63.81 kB / 0.6512 GB, free: 356 kB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.02948, allocations: 243 kB / 0.6514 GB, free: 112 kB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.02948, allocations: 0 / 0.6514 GB, free: 112 kB / 0.6043 GB Notification: Performance of FrontEnd: time 1.182e-06/0.02949, allocations: 4 kB / 0.6514 GB, free: 108 kB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.02949, allocations: 0 / 0.6514 GB, free: 108 kB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005168/0.03001, allocations: 456.2 kB / 0.6518 GB, free: 15.63 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.03005, allocations: 11.98 kB / 0.6519 GB, free: 15.62 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.0301, allocations: 36.91 kB / 0.6519 GB, free: 15.59 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.03033, allocations: 232.7 kB / 0.6521 GB, free: 15.33 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.03035, allocations: 16.7 kB / 0.6521 GB, free: 15.32 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.03037, allocations: 16.38 kB / 0.6521 GB, free: 15.3 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.03057, allocations: 226.2 kB / 0.6524 GB, free: 15.05 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.03057, allocations: 192 / 0.6524 GB, free: 15.05 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.03059, allocations: 16.12 kB / 0.6524 GB, free: 15.04 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.03059, allocations: 4 kB / 0.6524 GB, free: 15.03 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/0.03098, allocations: 479 kB / 0.6528 GB, free: 14.56 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.03142, allocations: 342.7 kB / 0.6532 GB, free: 14.21 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.03156, allocations: 111.9 kB / 0.6533 GB, free: 14.09 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.03161, allocations: 41.36 kB / 0.6533 GB, free: 14.05 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.03164, allocations: 23.95 kB / 0.6533 GB, free: 14.03 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.03178, allocations: 121.4 kB / 0.6535 GB, free: 13.89 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.03178, allocations: 4 kB / 0.6535 GB, free: 13.89 MB / 0.6199 GB Notification: Performance of matching and sorting (n=33): time 0.0002276/0.03201, allocations: 159.2 kB / 0.6536 GB, free: 13.73 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.03206, allocations: 106.8 kB / 0.6537 GB, free: 13.6 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.03217, allocations: 209 kB / 0.6539 GB, free: 13.38 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.0322, allocations: 29.7 kB / 0.6539 GB, free: 13.35 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.03224, allocations: 113.1 kB / 0.654 GB, free: 13.23 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/0.0323, allocations: 111 kB / 0.6541 GB, free: 13.12 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.03236, allocations: 57.66 kB / 0.6542 GB, free: 13.06 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.03244, allocations: 334.8 kB / 0.6545 GB, free: 12.73 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.99e-05/0.03248, allocations: 27.97 kB / 0.6546 GB, free: 12.7 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/0.03256, allocations: 122.9 kB / 0.6547 GB, free: 12.56 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.03266, allocations: 108 kB / 0.6548 GB, free: 12.45 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.03266, allocations: 0 / 0.6548 GB, free: 12.45 MB / 0.6199 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001416/0.0328, allocations: 137.6 kB / 0.6549 GB, free: 12.31 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.03282, allocations: 4 kB / 0.6549 GB, free: 12.3 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.03282, allocations: 0 / 0.6549 GB, free: 12.3 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.03283, allocations: 0 / 0.6549 GB, free: 12.3 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.03306, allocations: 55.91 kB / 0.655 GB, free: 12.25 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.03307, allocations: 0 / 0.655 GB, free: 12.25 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.331e-05/0.03314, allocations: 31.77 kB / 0.655 GB, free: 12.22 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.03315, allocations: 8 kB / 0.655 GB, free: 12.21 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 (34): * Single equations (assignments): 34 * 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.134e-05/0.03325, allocations: 132.5 kB / 0.6551 GB, free: 12.07 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.03328, allocations: 27.97 kB / 0.6551 GB, free: 12.04 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.03354, allocations: 229 kB / 0.6554 GB, free: 11.82 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.03354, allocations: 0 / 0.6554 GB, free: 11.82 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.03354, allocations: 4 kB / 0.6554 GB, free: 11.81 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.03355, allocations: 0 / 0.6554 GB, free: 11.81 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.03369, allocations: 153.7 kB / 0.6555 GB, free: 11.64 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.03369, allocations: 0 / 0.6555 GB, free: 11.64 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.0338, allocations: 47.91 kB / 0.6556 GB, free: 11.6 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.0338, allocations: 4 kB / 0.6556 GB, free: 11.59 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.03381, allocations: 7.984 kB / 0.6556 GB, free: 11.59 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.03381, allocations: 3.938 kB / 0.6556 GB, free: 11.58 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.03381, allocations: 0 / 0.6556 GB, free: 11.58 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.03397, allocations: 177.9 kB / 0.6557 GB, free: 11.39 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.03403, allocations: 55.66 kB / 0.6558 GB, free: 11.34 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.03406, allocations: 11.98 kB / 0.6558 GB, free: 11.32 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.124e-05/0.03412, allocations: 8 kB / 0.6558 GB, free: 11.32 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.03416, allocations: 23.95 kB / 0.6558 GB, free: 11.29 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.03417, allocations: 7.984 kB / 0.6559 GB, free: 11.29 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 5.049e-05/0.03422, allocations: 66.78 kB / 0.6559 GB, free: 11.21 MB / 0.6199 GB Notification: Performance of sort global known variables: time 5e-08/0.03422, allocations: 4 kB / 0.6559 GB, free: 11.21 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0001512/0.03437, allocations: 47.94 kB / 0.656 GB, free: 11.16 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 (33): * Single equations (assignments): 32 * 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.001044/0.03542, allocations: 457 kB / 0.6564 GB, free: 10.7 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.03561, allocations: 121.2 kB / 0.6565 GB, free: 10.58 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.03562, allocations: 4 kB / 0.6565 GB, free: 10.58 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 7.374e-05/0.03569, allocations: 76.62 kB / 0.6566 GB, free: 10.5 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.03583, allocations: 40.47 kB / 0.6566 GB, free: 10.46 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006761/0.03651, allocations: 412.6 kB / 0.657 GB, free: 10.03 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.322e-05/0.03656, allocations: 97.98 kB / 0.6571 GB, free: 9.91 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.000123/0.03669, allocations: 74.95 kB / 0.6572 GB, free: 9.836 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.03682, allocations: 107.3 kB / 0.6573 GB, free: 9.73 MB / 0.6199 GB Notification: Performance of SimCode: time 1.232e-06/0.03682, allocations: 4 kB / 0.6573 GB, free: 9.727 MB / 0.6199 GB Notification: Performance of Templates: time 0.005113/0.04194, allocations: 3.081 MB / 0.6603 GB, free: 6.633 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.makefile [Timeout 660] (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.709867205936462]