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.04274/0.04274, allocations: 9.132 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.001379/0.001379, allocations: 95.14 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.001952/0.001952, allocations: 168.8 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.9942/0.9942, allocations: 177.1 MB / 219.2 MB, free: 10.13 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.004043/0.004043, allocations: 0.8257 MB / 276.5 MB, free: 0.7617 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.693/1.693, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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 1.833e-06/1.833e-06, allocations: 0 / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.028e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation): time 0.003055/0.003085, allocations: 1.884 MB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002018/0.005103, allocations: 1.69 MB / 0.6414 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.141e-05/0.005175, allocations: 0 / 0.6414 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.005398, allocations: 35.72 kB / 0.6415 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.005721, allocations: 115.3 kB / 0.6416 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.00604, allocations: 171.3 kB / 0.6417 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.006285, allocations: 285.4 kB / 0.642 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.68e-05/0.006382, allocations: 21.94 kB / 0.642 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02404/0.03042, allocations: 9.474 MB / 0.6513 GB, free: 244 kB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.03057, allocations: 87.75 kB / 0.6514 GB, free: 156 kB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.0306, allocations: 16 kB / 0.6514 GB, free: 140 kB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.03081, allocations: 95.83 kB / 0.6515 GB, free: 44 kB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 9.267e-05/0.0309, allocations: 87.73 kB / 0.6516 GB, free: 15.96 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 6.829e-05/0.03097, allocations: 71.75 kB / 0.6516 GB, free: 15.89 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.03132, allocations: 278.9 kB / 0.6519 GB, free: 15.61 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.03133, allocations: 0 / 0.6519 GB, free: 15.61 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.603e-06/0.03133, allocations: 0 / 0.6519 GB, free: 15.61 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.03133, allocations: 0 / 0.6519 GB, free: 15.61 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.0005213/0.03185, allocations: 471.8 kB / 0.6523 GB, free: 15.12 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.03189, allocations: 15.98 kB / 0.6524 GB, free: 15.11 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.03216, allocations: 68.81 kB / 0.6524 GB, free: 15.04 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.0324, allocations: 244.7 kB / 0.6527 GB, free: 14.78 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.03242, allocations: 12.31 kB / 0.6527 GB, free: 14.77 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.03244, allocations: 24.38 kB / 0.6527 GB, free: 14.74 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.03268, allocations: 240.7 kB / 0.6529 GB, free: 14.48 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.03268, allocations: 192 / 0.6529 GB, free: 14.48 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.0327, allocations: 8.125 kB / 0.6529 GB, free: 14.47 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.03271, allocations: 4 kB / 0.6529 GB, free: 14.46 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.03313, allocations: 495 kB / 0.6534 GB, free: 13.98 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.03361, allocations: 382.7 kB / 0.6538 GB, free: 13.59 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.03384, allocations: 159.5 kB / 0.6539 GB, free: 13.42 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.03389, allocations: 45.41 kB / 0.654 GB, free: 13.38 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.03392, allocations: 20.27 kB / 0.654 GB, free: 13.36 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.03408, allocations: 135.2 kB / 0.6541 GB, free: 13.21 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=35): time 1.644e-06/0.03408, allocations: 0 / 0.6541 GB, free: 13.21 MB / 0.6199 GB Notification: Performance of matching and sorting (n=35): time 0.0002575/0.03434, allocations: 173.5 kB / 0.6543 GB, free: 13.04 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.03438, allocations: 114.7 kB / 0.6544 GB, free: 12.9 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.0345, allocations: 205 kB / 0.6546 GB, free: 12.68 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.03452, allocations: 37.7 kB / 0.6546 GB, free: 12.64 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.03457, allocations: 113.5 kB / 0.6547 GB, free: 12.53 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 6.609e-05/0.03463, allocations: 126.9 kB / 0.6548 GB, free: 12.4 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.0347, allocations: 61.66 kB / 0.6549 GB, free: 12.34 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.03479, allocations: 338.7 kB / 0.6552 GB, free: 12 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/0.03484, allocations: 31.97 kB / 0.6553 GB, free: 11.96 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-05/0.03492, allocations: 119.1 kB / 0.6554 GB, free: 11.83 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.03504, allocations: 107.9 kB / 0.6555 GB, free: 11.72 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.03505, allocations: 4.031 kB / 0.6555 GB, free: 11.71 MB / 0.6199 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001681/0.03521, allocations: 153.3 kB / 0.6556 GB, free: 11.56 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.03523, allocations: 4 kB / 0.6556 GB, free: 11.55 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.03523, allocations: 0 / 0.6556 GB, free: 11.55 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.03525, allocations: 4 kB / 0.6556 GB, free: 11.55 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.03543, allocations: 67.89 kB / 0.6557 GB, free: 11.48 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.03543, allocations: 0 / 0.6557 GB, free: 11.48 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.03551, allocations: 27.88 kB / 0.6557 GB, free: 11.46 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.03553, allocations: 7.984 kB / 0.6557 GB, free: 11.45 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 9.529e-05/0.03562, allocations: 136.5 kB / 0.6559 GB, free: 11.3 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.03566, allocations: 23.98 kB / 0.6559 GB, free: 11.28 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.03597, allocations: 244.8 kB / 0.6561 GB, free: 11.04 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.03597, allocations: 7.984 kB / 0.6561 GB, free: 11.03 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.03597, allocations: 4 kB / 0.6561 GB, free: 11.03 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.03598, allocations: 0 / 0.6561 GB, free: 11.03 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.03614, allocations: 173.6 kB / 0.6563 GB, free: 10.84 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.03615, allocations: 0 / 0.6563 GB, free: 10.84 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.03628, allocations: 63.89 kB / 0.6564 GB, free: 10.78 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.03628, allocations: 4 kB / 0.6564 GB, free: 10.77 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.03629, allocations: 4 kB / 0.6564 GB, free: 10.77 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.0363, allocations: 0 / 0.6564 GB, free: 10.77 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.0363, allocations: 0 / 0.6564 GB, free: 10.77 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.03648, allocations: 190.7 kB / 0.6565 GB, free: 10.57 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/0.03656, allocations: 63.67 kB / 0.6566 GB, free: 10.5 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.03659, allocations: 12 kB / 0.6566 GB, free: 10.49 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.745e-05/0.03666, allocations: 8 kB / 0.6566 GB, free: 10.48 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.03671, allocations: 23.94 kB / 0.6566 GB, free: 10.46 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.03673, allocations: 8 kB / 0.6567 GB, free: 10.45 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 5.529e-05/0.03679, allocations: 70.78 kB / 0.6567 GB, free: 10.38 MB / 0.6199 GB Notification: Performance of sort global known variables: time 4e-08/0.03679, allocations: 0 / 0.6567 GB, free: 10.38 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0001637/0.03695, allocations: 59.92 kB / 0.6568 GB, free: 10.32 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.001038/0.03799, allocations: 445.1 kB / 0.6572 GB, free: 9.875 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.03821, allocations: 132.7 kB / 0.6573 GB, free: 9.742 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.03822, allocations: 8 kB / 0.6573 GB, free: 9.734 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.0383, allocations: 84.55 kB / 0.6574 GB, free: 9.648 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.03845, allocations: 48.34 kB / 0.6575 GB, free: 9.602 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007016/0.03915, allocations: 450.8 kB / 0.6579 GB, free: 9.137 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.137e-05/0.03921, allocations: 93.81 kB / 0.658 GB, free: 9.023 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001595/0.03937, allocations: 86.94 kB / 0.6581 GB, free: 8.938 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.03963, allocations: 115.3 kB / 0.6582 GB, free: 8.824 MB / 0.6199 GB Notification: Performance of SimCode: time 2.194e-06/0.03963, allocations: 0 / 0.6582 GB, free: 8.824 MB / 0.6199 GB Notification: Performance of Templates: time 0.006765/0.04639, allocations: 3.355 MB / 0.6615 GB, free: 5.457 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.656839708797634]