Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.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.04394/0.04394, allocations: 9.133 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.0008899/0.0008899, allocations: 98.64 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.001656/0.001656, allocations: 169 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 1.002/1.002, 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.004113/0.004113, allocations: 0.8263 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.712/1.712, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.291e-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.CheckSkyCover): time 0.006969/0.006992, allocations: 1.925 MB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002987/0.009979, allocations: 1.659 MB / 0.6414 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.01005, allocations: 4 kB / 0.6414 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.01026, allocations: 31.67 kB / 0.6415 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.01062, allocations: 123.2 kB / 0.6416 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.01101, allocations: 175.4 kB / 0.6417 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.01131, allocations: 285.4 kB / 0.642 GB, free: 9.836 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.0114, allocations: 26.33 kB / 0.642 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02364/0.03505, allocations: 9.485 MB / 0.6513 GB, free: 228 kB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.0352, allocations: 71.84 kB / 0.6514 GB, free: 156 kB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.03524, allocations: 16 kB / 0.6514 GB, free: 140 kB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.03555, allocations: 111.9 kB / 0.6515 GB, free: 28 kB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.03565, allocations: 79.73 kB / 0.6516 GB, free: 15.95 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 7.696e-05/0.03573, allocations: 63.78 kB / 0.6516 GB, free: 15.89 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.0004411/0.03617, allocations: 290.8 kB / 0.6519 GB, free: 15.6 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.03618, allocations: 0 / 0.6519 GB, free: 15.6 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.364e-06/0.03619, allocations: 0 / 0.6519 GB, free: 15.6 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.0362, allocations: 0 / 0.6519 GB, free: 15.6 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.0005954/0.03679, allocations: 474.7 kB / 0.6524 GB, free: 15.11 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.03683, allocations: 11.98 kB / 0.6524 GB, free: 15.1 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.03688, allocations: 32.91 kB / 0.6524 GB, free: 15.07 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.03713, allocations: 256.6 kB / 0.6527 GB, free: 14.79 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.03714, allocations: 16.38 kB / 0.6527 GB, free: 14.77 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.03716, allocations: 12.38 kB / 0.6527 GB, free: 14.76 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.0373, allocations: 126.1 kB / 0.6528 GB, free: 14.63 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.03731, allocations: 192 / 0.6528 GB, free: 14.63 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.03733, allocations: 20.11 kB / 0.6528 GB, free: 14.61 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.03733, allocations: 4 kB / 0.6528 GB, free: 14.61 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.03776, allocations: 487 kB / 0.6533 GB, free: 14.13 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.03824, allocations: 350.7 kB / 0.6536 GB, free: 13.77 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.03843, allocations: 154.6 kB / 0.6538 GB, free: 13.61 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.03849, allocations: 52.69 kB / 0.6538 GB, free: 13.55 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/0.03871, allocations: 63.94 kB / 0.6539 GB, free: 13.49 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.03891, allocations: 119.3 kB / 0.654 GB, free: 13.36 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=37): time 2.254e-06/0.03892, allocations: 0 / 0.654 GB, free: 13.36 MB / 0.6199 GB Notification: Performance of matching and sorting (n=37): time 0.0002767/0.03919, allocations: 192.8 kB / 0.6542 GB, free: 13.17 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.03923, allocations: 55.41 kB / 0.6542 GB, free: 13.1 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.03936, allocations: 221 kB / 0.6544 GB, free: 12.88 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.03938, allocations: 33.7 kB / 0.6545 GB, free: 12.84 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.03942, allocations: 113.5 kB / 0.6546 GB, free: 12.72 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 7.214e-05/0.0395, allocations: 126.9 kB / 0.6547 GB, free: 12.59 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.03955, allocations: 57.67 kB / 0.6548 GB, free: 12.53 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/0.03964, allocations: 338.8 kB / 0.6551 GB, free: 12.19 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.906e-05/0.03968, allocations: 23.98 kB / 0.6551 GB, free: 12.17 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.809e-05/0.03972, allocations: 27.98 kB / 0.6551 GB, free: 12.14 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.03983, allocations: 108.9 kB / 0.6552 GB, free: 12.03 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.03984, allocations: 0 / 0.6552 GB, free: 12.03 MB / 0.6199 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001551/0.03999, allocations: 141.3 kB / 0.6554 GB, free: 11.89 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.04001, allocations: 8 kB / 0.6554 GB, free: 11.88 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.04001, allocations: 0 / 0.6554 GB, free: 11.88 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.04003, allocations: 4 kB / 0.6554 GB, free: 11.88 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.04021, allocations: 67.89 kB / 0.6554 GB, free: 11.81 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.04021, allocations: 8 kB / 0.6555 GB, free: 11.8 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.04026, allocations: 19.84 kB / 0.6555 GB, free: 11.78 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.04027, allocations: 4 kB / 0.6555 GB, free: 11.78 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.577e-05/0.04037, allocations: 140.5 kB / 0.6556 GB, free: 11.63 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.04039, allocations: 23.98 kB / 0.6556 GB, free: 11.61 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.04071, allocations: 240.8 kB / 0.6559 GB, free: 11.37 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.04071, allocations: 8 kB / 0.6559 GB, free: 11.36 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.04071, allocations: 0 / 0.6559 GB, free: 11.36 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.04071, allocations: 0 / 0.6559 GB, free: 11.36 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.04088, allocations: 169.6 kB / 0.656 GB, free: 11.18 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.04088, allocations: 0 / 0.656 GB, free: 11.18 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.04099, allocations: 63.84 kB / 0.6561 GB, free: 11.11 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.04099, allocations: 0 / 0.6561 GB, free: 11.11 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.04101, allocations: 15.98 kB / 0.6561 GB, free: 11.1 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.04101, allocations: 3.938 kB / 0.6561 GB, free: 11.09 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.04101, allocations: 0 / 0.6561 GB, free: 11.09 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.04119, allocations: 186 kB / 0.6563 GB, free: 10.89 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/0.04126, allocations: 67.64 kB / 0.6564 GB, free: 10.83 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.04129, allocations: 8 kB / 0.6564 GB, free: 10.82 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.321e-05/0.04133, allocations: 12 kB / 0.6564 GB, free: 10.81 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.04138, allocations: 19.95 kB / 0.6564 GB, free: 10.79 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.0414, allocations: 7.984 kB / 0.6564 GB, free: 10.78 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 5.255e-05/0.04145, allocations: 74.78 kB / 0.6565 GB, free: 10.71 MB / 0.6199 GB Notification: Performance of sort global known variables: time 4e-08/0.04145, allocations: 0 / 0.6565 GB, free: 10.71 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.000162/0.04161, allocations: 67.92 kB / 0.6565 GB, free: 10.64 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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.0009344/0.04254, allocations: 469 kB / 0.657 GB, free: 10.17 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.04269, allocations: 132.6 kB / 0.6571 GB, free: 10.04 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.0427, allocations: 4 kB / 0.6571 GB, free: 10.03 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 7.569e-05/0.04277, allocations: 84.67 kB / 0.6572 GB, free: 9.945 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.04293, allocations: 56.41 kB / 0.6572 GB, free: 9.887 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005112/0.04344, allocations: 459.3 kB / 0.6577 GB, free: 9.414 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.944e-05/0.0435, allocations: 97.12 kB / 0.6578 GB, free: 9.301 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001241/0.04362, allocations: 82.89 kB / 0.6579 GB, free: 9.219 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.04374, allocations: 107.3 kB / 0.658 GB, free: 9.113 MB / 0.6199 GB Notification: Performance of SimCode: time 5.11e-07/0.04374, allocations: 4 kB / 0.658 GB, free: 9.109 MB / 0.6199 GB Notification: Performance of Templates: time 0.005004/0.04874, allocations: 3.373 MB / 0.6613 GB, free: 5.73 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.makefile [Timeout 660] (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.650920255109668]