Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.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.08974/0.08974, 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.0009102/0.0009102, 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.0009274/0.0009274, allocations: 167.7 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.006/1.006, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.004085/0.004085, allocations: 0.8336 MB / 276.5 MB, free: 0.7539 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.791/1.791, 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.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/1.991e-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.CheckWindSpeed): time 0.00262/0.00264, allocations: 1.792 MB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.004156, allocations: 1.574 MB / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.004216, allocations: 0 / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.004432, allocations: 39.7 kB / 0.6412 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.004709, allocations: 111.2 kB / 0.6414 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.004986, allocations: 155.5 kB / 0.6415 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.0052, allocations: 257.5 kB / 0.6417 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.789e-05/0.005278, allocations: 11.98 kB / 0.6418 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02326/0.02853, allocations: 9.454 MB / 0.651 GB, free: 0.5391 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.02865, allocations: 71.83 kB / 0.6511 GB, free: 480 kB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.02868, allocations: 16 kB / 0.6511 GB, free: 464 kB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.02886, allocations: 91.91 kB / 0.6512 GB, free: 372 kB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.02893, allocations: 79.8 kB / 0.6512 GB, free: 292 kB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.029, allocations: 71.75 kB / 0.6513 GB, free: 220 kB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.02931, allocations: 259.1 kB / 0.6516 GB, free: 15.96 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.02932, allocations: 0 / 0.6516 GB, free: 15.96 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.774e-06/0.02932, allocations: 0 / 0.6516 GB, free: 15.96 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.02932, allocations: 0 / 0.6516 GB, free: 15.96 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004887/0.02981, allocations: 452 kB / 0.652 GB, free: 15.49 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.02984, allocations: 11.98 kB / 0.652 GB, free: 15.48 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.03004, allocations: 52.83 kB / 0.652 GB, free: 15.43 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.03027, allocations: 236.8 kB / 0.6523 GB, free: 15.17 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.03028, allocations: 8.375 kB / 0.6523 GB, free: 15.16 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.0303, allocations: 20.31 kB / 0.6523 GB, free: 15.14 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.03052, allocations: 220.8 kB / 0.6525 GB, free: 14.89 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.03053, allocations: 4.125 kB / 0.6525 GB, free: 14.89 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.03054, allocations: 8.125 kB / 0.6525 GB, free: 14.88 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.03055, allocations: 4 kB / 0.6525 GB, free: 14.88 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.03097, allocations: 498.5 kB / 0.653 GB, free: 14.39 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.03141, allocations: 338.9 kB / 0.6533 GB, free: 14.04 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.03161, allocations: 140 kB / 0.6535 GB, free: 13.89 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.204e-05/0.03166, allocations: 41.41 kB / 0.6535 GB, free: 13.85 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.03169, allocations: 20.2 kB / 0.6535 GB, free: 13.83 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.03183, allocations: 128.8 kB / 0.6536 GB, free: 13.7 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=34): time 1.483e-06/0.03183, allocations: 0 / 0.6536 GB, free: 13.7 MB / 0.6199 GB Notification: Performance of matching and sorting (n=34): time 0.00023/0.03206, allocations: 173.5 kB / 0.6538 GB, free: 13.52 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.03213, allocations: 106.8 kB / 0.6539 GB, free: 13.39 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.03223, allocations: 205 kB / 0.6541 GB, free: 13.18 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.03226, allocations: 29.7 kB / 0.6541 GB, free: 13.14 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.03231, allocations: 113.2 kB / 0.6542 GB, free: 13.03 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 6.425e-05/0.03237, allocations: 118.9 kB / 0.6544 GB, free: 12.91 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.03243, allocations: 57.66 kB / 0.6544 GB, free: 12.85 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.03256, allocations: 334.8 kB / 0.6547 GB, free: 12.51 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.03261, allocations: 27.98 kB / 0.6548 GB, free: 12.48 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.733e-05/0.03268, allocations: 125.7 kB / 0.6549 GB, free: 12.34 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.03279, allocations: 99.44 kB / 0.655 GB, free: 12.24 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.03279, allocations: 4 kB / 0.655 GB, free: 12.23 MB / 0.6199 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001498/0.03294, allocations: 149.9 kB / 0.6551 GB, free: 12.08 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.03295, allocations: 4 kB / 0.6551 GB, free: 12.08 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.03296, allocations: 0 / 0.6551 GB, free: 12.08 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.03297, allocations: 4 kB / 0.6551 GB, free: 12.07 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.03312, allocations: 59.89 kB / 0.6552 GB, free: 12.02 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.03313, allocations: 4 kB / 0.6552 GB, free: 12.01 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.519e-05/0.03319, allocations: 27.91 kB / 0.6552 GB, free: 11.98 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.03321, allocations: 8 kB / 0.6552 GB, free: 11.98 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 (35): * Single equations (assignments): 35 * 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.16e-05/0.03329, allocations: 124.6 kB / 0.6553 GB, free: 11.84 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.03332, allocations: 35.89 kB / 0.6554 GB, free: 11.81 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.03359, allocations: 234 kB / 0.6556 GB, free: 11.57 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.0336, allocations: 4 kB / 0.6556 GB, free: 11.57 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.0336, allocations: 0 / 0.6556 GB, free: 11.57 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.0336, allocations: 3.984 kB / 0.6556 GB, free: 11.57 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.03374, allocations: 165.6 kB / 0.6558 GB, free: 11.39 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.03374, allocations: 0 / 0.6558 GB, free: 11.39 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.03385, allocations: 59.95 kB / 0.6558 GB, free: 11.33 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.03386, allocations: 7.938 kB / 0.6558 GB, free: 11.32 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.03387, allocations: 7.938 kB / 0.6558 GB, free: 11.31 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.03387, allocations: 0 / 0.6558 GB, free: 11.31 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.03387, allocations: 0 / 0.6558 GB, free: 11.31 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.03402, allocations: 178.2 kB / 0.656 GB, free: 11.12 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.03408, allocations: 47.75 kB / 0.656 GB, free: 11.07 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.03411, allocations: 11.94 kB / 0.6561 GB, free: 11.06 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.03417, allocations: 19.98 kB / 0.6561 GB, free: 11.04 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.03421, allocations: 19.95 kB / 0.6561 GB, free: 11.02 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.03422, allocations: 11.98 kB / 0.6561 GB, free: 11.01 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.03428, allocations: 70.78 kB / 0.6562 GB, free: 10.94 MB / 0.6199 GB Notification: Performance of sort global known variables: time 4e-08/0.03428, allocations: 0 / 0.6562 GB, free: 10.94 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0001533/0.03443, allocations: 55.89 kB / 0.6562 GB, free: 10.89 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 (34): * Single equations (assignments): 33 * 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.00102/0.03545, allocations: 449.1 kB / 0.6567 GB, free: 10.43 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.03562, allocations: 124.7 kB / 0.6568 GB, free: 10.31 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.03562, allocations: 0 / 0.6568 GB, free: 10.31 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 7.807e-05/0.0357, allocations: 81.19 kB / 0.6569 GB, free: 10.23 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.03583, allocations: 44.38 kB / 0.6569 GB, free: 10.18 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.03642, allocations: 412.5 kB / 0.6573 GB, free: 9.754 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.781e-05/0.03646, allocations: 97.98 kB / 0.6574 GB, free: 9.633 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.03659, allocations: 78.97 kB / 0.6575 GB, free: 9.555 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.03672, allocations: 111.3 kB / 0.6576 GB, free: 9.445 MB / 0.6199 GB Notification: Performance of SimCode: time 8.01e-07/0.03672, allocations: 0 / 0.6576 GB, free: 9.445 MB / 0.6199 GB Notification: Performance of Templates: time 0.005043/0.04176, allocations: 3.219 MB / 0.6607 GB, free: 6.215 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.makefile [Timeout 660] (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.576924903318286]