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.05051/0.05051, allocations: 9.131 MB / 28.99 MB, free: 328 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.0008593/0.0008593, allocations: 102.4 kB / 35.33 MB, free: 0.9219 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.001218/0.001218, allocations: 167.9 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.9659/0.9659, allocations: 177.2 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.006658/0.006658, allocations: 0.8261 MB / 276.5 MB, free: 0.7148 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.749/1.749, 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.633e-06/1.633e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.748e-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.ConvertRadiation): time 0.003687/0.003715, allocations: 1.819 MB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002326/0.006041, allocations: 1.527 MB / 0.6412 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.006146, allocations: 4 kB / 0.6412 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.006406, allocations: 19.8 kB / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.006833, allocations: 111.3 kB / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.007255, allocations: 151.4 kB / 0.6415 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.000329/0.007584, allocations: 257.5 kB / 0.6417 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.007693, allocations: 21.94 kB / 0.6417 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0282/0.0359, allocations: 9.461 MB / 0.651 GB, free: 0.5625 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.03609, allocations: 79.84 kB / 0.6511 GB, free: 496 kB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.03613, allocations: 16 kB / 0.6511 GB, free: 480 kB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.03629, allocations: 63.91 kB / 0.6511 GB, free: 416 kB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 8.903e-05/0.03638, allocations: 75.75 kB / 0.6512 GB, free: 340 kB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 8.574e-05/0.03647, allocations: 75.75 kB / 0.6513 GB, free: 264 kB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003934/0.03686, allocations: 235 kB / 0.6515 GB, free: 28 kB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.03687, allocations: 4 kB / 0.6515 GB, free: 24 kB / 0.6043 GB Notification: Performance of FrontEnd: time 2.575e-06/0.03687, allocations: 0 / 0.6515 GB, free: 24 kB / 0.6043 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.03688, allocations: 0 / 0.6515 GB, free: 24 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.0006757/0.03755, allocations: 456.4 kB / 0.6519 GB, free: 15.55 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.0376, allocations: 11.98 kB / 0.652 GB, free: 15.54 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.03766, allocations: 32.91 kB / 0.652 GB, free: 15.5 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.0379, allocations: 244.7 kB / 0.6522 GB, free: 15.24 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.03792, allocations: 12.7 kB / 0.6522 GB, free: 15.23 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.03794, allocations: 12.38 kB / 0.6522 GB, free: 15.21 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.03815, allocations: 226.2 kB / 0.6525 GB, free: 14.96 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.03816, allocations: 192 / 0.6525 GB, free: 14.96 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.03817, allocations: 8.125 kB / 0.6525 GB, free: 14.96 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.03818, allocations: 4 kB / 0.6525 GB, free: 14.95 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.03859, allocations: 487 kB / 0.6529 GB, free: 14.48 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.03901, allocations: 338.7 kB / 0.6533 GB, free: 14.13 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.03915, allocations: 112 kB / 0.6534 GB, free: 14.01 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.0392, allocations: 45.34 kB / 0.6534 GB, free: 13.96 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.03923, allocations: 19.97 kB / 0.6534 GB, free: 13.95 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.03937, allocations: 121.4 kB / 0.6535 GB, free: 13.81 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=33): time 1.192e-06/0.03937, allocations: 0 / 0.6535 GB, free: 13.81 MB / 0.6199 GB Notification: Performance of matching and sorting (n=33): time 0.0002252/0.0396, allocations: 167.2 kB / 0.6537 GB, free: 13.64 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.03964, allocations: 106.8 kB / 0.6538 GB, free: 13.52 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.03975, allocations: 209 kB / 0.654 GB, free: 13.3 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.03977, allocations: 29.7 kB / 0.654 GB, free: 13.26 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.03981, allocations: 121.1 kB / 0.6541 GB, free: 13.14 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.03987, allocations: 107.1 kB / 0.6542 GB, free: 13.04 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.03993, allocations: 53.66 kB / 0.6543 GB, free: 12.98 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.04002, allocations: 342.8 kB / 0.6546 GB, free: 12.63 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.675e-05/0.04005, allocations: 27.92 kB / 0.6547 GB, free: 12.61 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.545e-05/0.04013, allocations: 115 kB / 0.6548 GB, free: 12.47 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.04023, allocations: 104 kB / 0.6549 GB, free: 12.37 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.04024, allocations: 0 / 0.6549 GB, free: 12.37 MB / 0.6199 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001375/0.04037, allocations: 129.6 kB / 0.655 GB, free: 12.23 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.04038, allocations: 8 kB / 0.655 GB, free: 12.23 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.04039, allocations: 0 / 0.655 GB, free: 12.23 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.0404, allocations: 4.031 kB / 0.655 GB, free: 12.22 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.04053, allocations: 59.89 kB / 0.6551 GB, free: 12.16 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.04054, allocations: 0 / 0.6551 GB, free: 12.16 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.857e-05/0.04061, allocations: 31.78 kB / 0.6551 GB, free: 12.13 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.04062, allocations: 7.984 kB / 0.6551 GB, free: 12.12 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 7.644e-05/0.04069, allocations: 128.5 kB / 0.6552 GB, free: 11.99 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.04072, allocations: 31.97 kB / 0.6552 GB, free: 11.96 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.04098, allocations: 225 kB / 0.6555 GB, free: 11.73 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.04098, allocations: 4 kB / 0.6555 GB, free: 11.73 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.04098, allocations: 0 / 0.6555 GB, free: 11.73 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.04099, allocations: 3.984 kB / 0.6555 GB, free: 11.73 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.04112, allocations: 149.7 kB / 0.6556 GB, free: 11.56 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.04113, allocations: 4 kB / 0.6556 GB, free: 11.56 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.646e-05/0.04122, allocations: 63.84 kB / 0.6557 GB, free: 11.5 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.04122, allocations: 0 / 0.6557 GB, free: 11.5 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.04123, allocations: 7.984 kB / 0.6557 GB, free: 11.49 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.04124, allocations: 4 kB / 0.6557 GB, free: 11.48 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.04124, allocations: 0 / 0.6557 GB, free: 11.48 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.04138, allocations: 166 kB / 0.6558 GB, free: 11.3 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.04144, allocations: 63.62 kB / 0.6559 GB, free: 11.24 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.04146, allocations: 4 kB / 0.6559 GB, free: 11.24 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.337e-05/0.04152, allocations: 15.92 kB / 0.6559 GB, free: 11.22 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.04156, allocations: 27.95 kB / 0.6559 GB, free: 11.2 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.04157, allocations: 11.98 kB / 0.656 GB, free: 11.18 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 5.055e-05/0.04162, allocations: 66.78 kB / 0.656 GB, free: 11.11 MB / 0.6199 GB Notification: Performance of sort global known variables: time 5e-08/0.04162, allocations: 0 / 0.656 GB, free: 11.11 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0001485/0.04177, allocations: 55.94 kB / 0.6561 GB, free: 11.06 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.0008583/0.04263, allocations: 445.2 kB / 0.6565 GB, free: 10.61 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.04278, allocations: 121.2 kB / 0.6566 GB, free: 10.49 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.04279, allocations: 4 kB / 0.6566 GB, free: 10.48 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 8.013e-05/0.04287, allocations: 76.61 kB / 0.6567 GB, free: 10.41 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.043, allocations: 32.48 kB / 0.6567 GB, free: 10.38 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.04358, allocations: 416.6 kB / 0.6571 GB, free: 9.941 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.109e-05/0.04363, allocations: 94.05 kB / 0.6572 GB, free: 9.824 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.04375, allocations: 74.95 kB / 0.6573 GB, free: 9.75 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.04389, allocations: 115.3 kB / 0.6574 GB, free: 9.637 MB / 0.6199 GB Notification: Performance of SimCode: time 5.01e-07/0.04389, allocations: 0 / 0.6574 GB, free: 9.637 MB / 0.6199 GB Notification: Performance of Templates: time 0.004594/0.04848, allocations: 3.085 MB / 0.6604 GB, free: 6.539 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5639852257445455]