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.04434/0.04434, allocations: 9.128 MB / 28.99 MB, free: 0.8086 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.001016/0.001016, allocations: 90.72 kB / 35.33 MB, free: 1.074 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.001922/0.001922, allocations: 164.5 kB / 38.73 MB, free: 2.508 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.021/1.021, allocations: 177.1 MB / 219.2 MB, free: 10.1 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.006988/0.006988, allocations: 0.8254 MB / 276.5 MB, free: 0.7266 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.614/1.614, allocations: 274.9 MB / 0.5419 GB, free: 0.6055 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.813e-06/1.813e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.293e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed): time 0.003006/0.003029, allocations: 1.741 MB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002123/0.005152, allocations: 1.57 MB / 0.6411 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.558e-05/0.005218, allocations: 0 / 0.6411 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.005462, allocations: 35.72 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.005843, allocations: 119.3 kB / 0.6413 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005168/0.00636, allocations: 155.4 kB / 0.6414 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.006663, allocations: 257.5 kB / 0.6417 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.727e-05/0.00675, allocations: 15.98 kB / 0.6417 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0268/0.03355, allocations: 9.45 MB / 0.6509 GB, free: 0.6211 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.03368, allocations: 79.78 kB / 0.651 GB, free: 0.543 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.03372, allocations: 16 kB / 0.651 GB, free: 0.5273 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.0339, allocations: 91.81 kB / 0.6511 GB, free: 448 kB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.03397, allocations: 79.8 kB / 0.6511 GB, free: 368 kB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.245e-05/0.03403, allocations: 67.77 kB / 0.6512 GB, free: 300 kB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.03434, allocations: 255 kB / 0.6515 GB, free: 44 kB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.03435, allocations: 0 / 0.6515 GB, free: 44 kB / 0.6043 GB Notification: Performance of FrontEnd: time 1.262e-06/0.03435, allocations: 0 / 0.6515 GB, free: 44 kB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.03435, allocations: 4 kB / 0.6515 GB, free: 40 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004889/0.03484, allocations: 456 kB / 0.6519 GB, free: 15.56 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.03487, allocations: 11.98 kB / 0.6519 GB, free: 15.55 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.03505, allocations: 48.88 kB / 0.652 GB, free: 15.5 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.03527, allocations: 240.7 kB / 0.6522 GB, free: 15.24 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.03529, allocations: 8.375 kB / 0.6522 GB, free: 15.23 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.03531, allocations: 16.38 kB / 0.6522 GB, free: 15.22 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.03552, allocations: 224.7 kB / 0.6524 GB, free: 14.97 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.03553, allocations: 192 / 0.6524 GB, free: 14.97 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.03554, allocations: 8.125 kB / 0.6524 GB, free: 14.96 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.03554, allocations: 4 kB / 0.6524 GB, free: 14.96 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.03594, allocations: 498.5 kB / 0.6529 GB, free: 14.47 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.03634, allocations: 335 kB / 0.6532 GB, free: 14.12 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.03652, allocations: 144 kB / 0.6534 GB, free: 13.97 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.03657, allocations: 45.41 kB / 0.6534 GB, free: 13.93 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.0366, allocations: 20.2 kB / 0.6534 GB, free: 13.91 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.03673, allocations: 132.8 kB / 0.6536 GB, free: 13.77 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=34): time 1.313e-06/0.03673, allocations: 0 / 0.6536 GB, free: 13.77 MB / 0.6199 GB Notification: Performance of matching and sorting (n=34): time 0.0002233/0.03696, allocations: 169.5 kB / 0.6537 GB, free: 13.59 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.037, allocations: 106.8 kB / 0.6538 GB, free: 13.46 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.0371, allocations: 209 kB / 0.654 GB, free: 13.25 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.03712, allocations: 29.7 kB / 0.654 GB, free: 13.21 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.03716, allocations: 109.2 kB / 0.6541 GB, free: 13.1 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 6.075e-05/0.03722, allocations: 122.9 kB / 0.6543 GB, free: 12.98 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.03728, allocations: 53.67 kB / 0.6543 GB, free: 12.92 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 7.339e-05/0.03735, allocations: 334.8 kB / 0.6546 GB, free: 12.59 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.03739, allocations: 31.97 kB / 0.6547 GB, free: 12.55 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.538e-05/0.03747, allocations: 117.8 kB / 0.6548 GB, free: 12.42 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.03757, allocations: 103.4 kB / 0.6549 GB, free: 12.31 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.03758, allocations: 0 / 0.6549 GB, free: 12.31 MB / 0.6199 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001473/0.03772, allocations: 153.8 kB / 0.655 GB, free: 12.16 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.03773, allocations: 4 kB / 0.655 GB, free: 12.15 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.03774, allocations: 4.031 kB / 0.655 GB, free: 12.15 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.03775, allocations: 4 kB / 0.655 GB, free: 12.14 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.03789, allocations: 51.91 kB / 0.6551 GB, free: 12.09 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.03789, allocations: 4 kB / 0.6551 GB, free: 12.09 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.03796, allocations: 23.88 kB / 0.6551 GB, free: 12.07 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.03797, allocations: 8 kB / 0.6551 GB, free: 12.06 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 7.678e-05/0.03805, allocations: 124.6 kB / 0.6552 GB, free: 11.93 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.03808, allocations: 35.89 kB / 0.6553 GB, free: 11.89 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.03835, allocations: 234 kB / 0.6555 GB, free: 11.66 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.03835, allocations: 4 kB / 0.6555 GB, free: 11.65 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.03835, allocations: 0 / 0.6555 GB, free: 11.65 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.03835, allocations: 3.984 kB / 0.6555 GB, free: 11.65 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.03849, allocations: 157.6 kB / 0.6557 GB, free: 11.48 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.03849, allocations: 0 / 0.6557 GB, free: 11.48 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.03859, allocations: 55.91 kB / 0.6557 GB, free: 11.42 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.03859, allocations: 8 kB / 0.6557 GB, free: 11.41 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.03861, allocations: 11.92 kB / 0.6557 GB, free: 11.4 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.03861, allocations: 7.938 kB / 0.6557 GB, free: 11.39 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.03861, allocations: 4 kB / 0.6557 GB, free: 11.39 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.03877, allocations: 174.2 kB / 0.6559 GB, free: 11.2 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.03883, allocations: 51.75 kB / 0.656 GB, free: 11.15 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.03886, allocations: 11.94 kB / 0.656 GB, free: 11.14 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.559e-05/0.03891, allocations: 12 kB / 0.656 GB, free: 11.13 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.03894, allocations: 19.95 kB / 0.656 GB, free: 11.11 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.03896, allocations: 11.98 kB / 0.656 GB, free: 11.1 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 4.658e-05/0.03901, allocations: 66.78 kB / 0.6561 GB, free: 11.03 MB / 0.6199 GB Notification: Performance of sort global known variables: time 1.6e-07/0.03901, allocations: 0 / 0.6561 GB, free: 11.03 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0001451/0.03915, allocations: 59.89 kB / 0.6561 GB, free: 10.97 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.0008544/0.04, allocations: 441.2 kB / 0.6565 GB, free: 10.53 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001606/0.04017, allocations: 128.7 kB / 0.6567 GB, free: 10.4 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.04017, allocations: 0 / 0.6567 GB, free: 10.4 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 9.729e-05/0.04027, allocations: 89.17 kB / 0.6568 GB, free: 10.31 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.04038, allocations: 36.47 kB / 0.6568 GB, free: 10.27 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.04093, allocations: 408.5 kB / 0.6572 GB, free: 9.848 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.071e-05/0.04098, allocations: 98.05 kB / 0.6573 GB, free: 9.727 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.000123/0.0411, allocations: 78.95 kB / 0.6573 GB, free: 9.648 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.04123, allocations: 111.3 kB / 0.6575 GB, free: 9.539 MB / 0.6199 GB Notification: Performance of SimCode: time 7.51e-07/0.04123, allocations: 0 / 0.6575 GB, free: 9.539 MB / 0.6199 GB Notification: Performance of Templates: time 0.004606/0.04584, allocations: 3.215 MB / 0.6606 GB, free: 6.312 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 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.611887431703508]