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.04182/0.04182, allocations: 9.131 MB / 28.99 MB, free: 0.8203 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.001297/0.001297, allocations: 87.28 kB / 35.33 MB, free: 1.086 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.001172/0.001172, allocations: 165.1 kB / 38.73 MB, free: 2.512 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.9621/0.9621, allocations: 177.1 MB / 219.2 MB, free: 10.11 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.003895/0.003895, allocations: 0.826 MB / 276.5 MB, free: 0.7422 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.585/1.585, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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.152e-06/1.152e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.362e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.002134/0.002147, allocations: 1.886 MB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.004045, allocations: 1.659 MB / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.024e-05/0.004116, allocations: 0 / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.004318, allocations: 27.78 kB / 0.6414 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.004667, allocations: 131.1 kB / 0.6415 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.005029, allocations: 179.4 kB / 0.6417 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.005299, allocations: 289.4 kB / 0.6419 GB, free: 9.938 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.005389, allocations: 22.33 kB / 0.642 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02243/0.02782, allocations: 9.492 MB / 0.6512 GB, free: 324 kB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.02794, allocations: 75.78 kB / 0.6513 GB, free: 248 kB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.02796, allocations: 20 kB / 0.6513 GB, free: 228 kB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.02816, allocations: 103.9 kB / 0.6514 GB, free: 124 kB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/0.02823, allocations: 87.73 kB / 0.6515 GB, free: 36 kB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.814e-05/0.0283, allocations: 55.83 kB / 0.6516 GB, free: 15.98 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.02864, allocations: 282.8 kB / 0.6518 GB, free: 15.7 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.02865, allocations: 0 / 0.6518 GB, free: 15.7 MB / 0.6199 GB Notification: Performance of FrontEnd: time 8.72e-07/0.02865, allocations: 0 / 0.6518 GB, free: 15.7 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.02865, allocations: 0 / 0.6518 GB, free: 15.7 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.0004948/0.02915, allocations: 482.6 kB / 0.6523 GB, free: 15.21 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.02918, allocations: 15.98 kB / 0.6523 GB, free: 15.19 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.02923, allocations: 40.91 kB / 0.6523 GB, free: 15.15 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.02946, allocations: 244.7 kB / 0.6526 GB, free: 14.88 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.02948, allocations: 16.31 kB / 0.6526 GB, free: 14.87 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.0295, allocations: 16.38 kB / 0.6526 GB, free: 14.85 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.02965, allocations: 130.1 kB / 0.6527 GB, free: 14.72 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.02965, allocations: 192 / 0.6527 GB, free: 14.72 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.02967, allocations: 8.125 kB / 0.6527 GB, free: 14.71 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.02967, allocations: 4 kB / 0.6527 GB, free: 14.71 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.03007, allocations: 487 kB / 0.6532 GB, free: 14.23 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.03051, allocations: 354.6 kB / 0.6535 GB, free: 13.87 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.03069, allocations: 146.7 kB / 0.6537 GB, free: 13.71 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.878e-05/0.03075, allocations: 52.69 kB / 0.6537 GB, free: 13.66 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.031, allocations: 63.94 kB / 0.6538 GB, free: 13.59 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.03116, allocations: 123.2 kB / 0.6539 GB, free: 13.46 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=37): time 1.472e-06/0.03116, allocations: 0 / 0.6539 GB, free: 13.46 MB / 0.6199 GB Notification: Performance of matching and sorting (n=37): time 0.0002261/0.03138, allocations: 188.8 kB / 0.6541 GB, free: 13.27 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.03141, allocations: 55.41 kB / 0.6541 GB, free: 13.2 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.03153, allocations: 225 kB / 0.6544 GB, free: 12.97 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.03155, allocations: 29.7 kB / 0.6544 GB, free: 12.94 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.0316, allocations: 113.5 kB / 0.6545 GB, free: 12.82 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/0.03166, allocations: 122.9 kB / 0.6546 GB, free: 12.7 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.03172, allocations: 57.67 kB / 0.6547 GB, free: 12.64 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.03183, allocations: 342.8 kB / 0.655 GB, free: 12.29 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.529e-05/0.03186, allocations: 23.98 kB / 0.655 GB, free: 12.27 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.562e-05/0.0319, allocations: 31.86 kB / 0.655 GB, free: 12.24 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.032, allocations: 112.9 kB / 0.6552 GB, free: 12.12 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.032, allocations: 0 / 0.6552 GB, free: 12.12 MB / 0.6199 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000164/0.03217, allocations: 137.4 kB / 0.6553 GB, free: 11.98 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.03218, allocations: 12 kB / 0.6553 GB, free: 11.97 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.03219, allocations: 0 / 0.6553 GB, free: 11.97 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.0322, allocations: 0 / 0.6553 GB, free: 11.97 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.03232, allocations: 63.91 kB / 0.6554 GB, free: 11.91 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.03233, allocations: 0 / 0.6554 GB, free: 11.91 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.915e-05/0.03236, allocations: 19.84 kB / 0.6554 GB, free: 11.89 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.03238, allocations: 11.98 kB / 0.6554 GB, free: 11.88 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 8.933e-05/0.03247, allocations: 128.5 kB / 0.6555 GB, free: 11.74 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.0325, allocations: 31.97 kB / 0.6555 GB, free: 11.71 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.0328, allocations: 248.8 kB / 0.6558 GB, free: 11.46 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.0328, allocations: 4 kB / 0.6558 GB, free: 11.46 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.0328, allocations: 0 / 0.6558 GB, free: 11.46 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.03281, allocations: 3.984 kB / 0.6558 GB, free: 11.46 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.03295, allocations: 165.6 kB / 0.6559 GB, free: 11.28 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.03296, allocations: 0 / 0.6559 GB, free: 11.28 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.727e-05/0.03305, allocations: 63.84 kB / 0.656 GB, free: 11.21 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.03306, allocations: 3.984 kB / 0.656 GB, free: 11.21 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.03307, allocations: 7.984 kB / 0.656 GB, free: 11.2 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.03307, allocations: 4 kB / 0.656 GB, free: 11.2 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.03307, allocations: 0 / 0.656 GB, free: 11.2 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.03322, allocations: 186.1 kB / 0.6562 GB, free: 11 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.03328, allocations: 63.64 kB / 0.6563 GB, free: 10.94 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.03331, allocations: 8 kB / 0.6563 GB, free: 10.93 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.049e-05/0.03334, allocations: 4 kB / 0.6563 GB, free: 10.93 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.03337, allocations: 23.95 kB / 0.6563 GB, free: 10.9 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.03339, allocations: 7.984 kB / 0.6563 GB, free: 10.89 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 5.275e-05/0.03344, allocations: 78.72 kB / 0.6564 GB, free: 10.82 MB / 0.6199 GB Notification: Performance of sort global known variables: time 2.4e-07/0.03344, allocations: 0 / 0.6564 GB, free: 10.82 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0001643/0.0336, allocations: 63.92 kB / 0.6564 GB, free: 10.75 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.0009488/0.03455, allocations: 469 kB / 0.6569 GB, free: 10.28 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.03472, allocations: 136.5 kB / 0.657 GB, free: 10.14 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.03472, allocations: 12 kB / 0.657 GB, free: 10.13 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.0348, allocations: 80.67 kB / 0.6571 GB, free: 10.05 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.03495, allocations: 48.47 kB / 0.6571 GB, free: 10 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.03543, allocations: 451.3 kB / 0.6576 GB, free: 9.535 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.246e-05/0.03548, allocations: 97.12 kB / 0.6577 GB, free: 9.422 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001286/0.03561, allocations: 86.95 kB / 0.6578 GB, free: 9.336 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.03573, allocations: 111.3 kB / 0.6579 GB, free: 9.227 MB / 0.6199 GB Notification: Performance of SimCode: time 4.51e-07/0.03573, allocations: 0 / 0.6579 GB, free: 9.227 MB / 0.6199 GB Notification: Performance of Templates: time 0.00528/0.04101, allocations: 3.385 MB / 0.6612 GB, free: 5.836 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 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.601028664037585]