Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.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.04184/0.04184, allocations: 9.131 MB / 28.99 MB, free: 6.098 MB / 24.77 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.001252/0.001252, allocations: 95.2 kB / 35.33 MB, free: 0.7734 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.001214/0.001214, allocations: 170.4 kB / 38.73 MB, free: 2.145 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.949/0.949, 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.005793/0.005793, allocations: 0.8263 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.653/1.653, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.863e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.002389/0.002408, allocations: 1.867 MB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.004331, allocations: 2.041 MB / 0.6417 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.00439, allocations: 0 / 0.6417 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.004592, allocations: 27.72 kB / 0.6417 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.004889, allocations: 123.3 kB / 0.6418 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.005179, allocations: 183.4 kB / 0.642 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.005396, allocations: 257.4 kB / 0.6423 GB, free: 9.59 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.945e-05/0.005476, allocations: 17.95 kB / 0.6423 GB, free: 9.57 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02192/0.02739, allocations: 9.485 MB / 0.6515 GB, free: 15.98 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.02752, allocations: 71.83 kB / 0.6516 GB, free: 15.91 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.02754, allocations: 16 kB / 0.6516 GB, free: 15.89 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.02775, allocations: 115.9 kB / 0.6517 GB, free: 15.78 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 7.709e-05/0.02783, allocations: 87.73 kB / 0.6518 GB, free: 15.7 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.02789, allocations: 59.83 kB / 0.6519 GB, free: 15.64 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.02822, allocations: 290.8 kB / 0.6522 GB, free: 15.36 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.02822, allocations: 4 kB / 0.6522 GB, free: 15.35 MB / 0.6199 GB Notification: Performance of FrontEnd: time 9.12e-07/0.02823, allocations: 7.938 kB / 0.6522 GB, free: 15.34 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.02823, allocations: 0 / 0.6522 GB, free: 15.34 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004815/0.02871, allocations: 468.1 kB / 0.6526 GB, free: 14.86 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.02874, allocations: 11.98 kB / 0.6526 GB, free: 14.85 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.02886, allocations: 36.84 kB / 0.6527 GB, free: 14.81 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.0291, allocations: 236.7 kB / 0.6529 GB, free: 14.55 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.02911, allocations: 12.7 kB / 0.6529 GB, free: 14.54 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.02913, allocations: 16.38 kB / 0.6529 GB, free: 14.52 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.02932, allocations: 222.3 kB / 0.6531 GB, free: 14.28 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.02933, allocations: 3.938 kB / 0.6531 GB, free: 14.27 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.02934, allocations: 15.94 kB / 0.6531 GB, free: 14.26 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.02935, allocations: 4 kB / 0.6532 GB, free: 14.25 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.02973, allocations: 487 kB / 0.6536 GB, free: 13.78 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.03017, allocations: 335 kB / 0.6539 GB, free: 13.43 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.03043, allocations: 151.9 kB / 0.6541 GB, free: 13.27 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.786e-05/0.0305, allocations: 41.34 kB / 0.6541 GB, free: 13.23 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.03071, allocations: 72.2 kB / 0.6542 GB, free: 13.16 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.03085, allocations: 123.3 kB / 0.6543 GB, free: 13.03 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=35): time 1.974e-06/0.03085, allocations: 0 / 0.6543 GB, free: 13.03 MB / 0.6199 GB Notification: Performance of matching and sorting (n=35): time 0.000224/0.03107, allocations: 169.4 kB / 0.6545 GB, free: 12.86 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.03112, allocations: 110.8 kB / 0.6546 GB, free: 12.72 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.03123, allocations: 205 kB / 0.6548 GB, free: 12.51 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.03125, allocations: 37.7 kB / 0.6548 GB, free: 12.47 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.03129, allocations: 109.1 kB / 0.6549 GB, free: 12.36 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.03135, allocations: 115 kB / 0.655 GB, free: 12.25 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.03141, allocations: 53.67 kB / 0.6551 GB, free: 12.19 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 8.541e-05/0.03149, allocations: 342.8 kB / 0.6554 GB, free: 11.84 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.03153, allocations: 31.97 kB / 0.6554 GB, free: 11.81 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.03168, allocations: 118.8 kB / 0.6555 GB, free: 11.68 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.03179, allocations: 103.5 kB / 0.6556 GB, free: 11.57 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.03179, allocations: 0 / 0.6556 GB, free: 11.57 MB / 0.6199 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001548/0.03194, allocations: 153.9 kB / 0.6558 GB, free: 11.41 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.03196, allocations: 4 kB / 0.6558 GB, free: 11.41 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.03196, allocations: 0 / 0.6558 GB, free: 11.41 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.03197, allocations: 4 kB / 0.6558 GB, free: 11.41 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.03214, allocations: 51.91 kB / 0.6558 GB, free: 11.36 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.03215, allocations: 4 kB / 0.6558 GB, free: 11.35 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.03225, allocations: 35.8 kB / 0.6559 GB, free: 11.32 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.03227, allocations: 8 kB / 0.6559 GB, free: 11.31 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 (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 0.0001044/0.03238, allocations: 128.5 kB / 0.656 GB, free: 11.17 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.03241, allocations: 27.97 kB / 0.656 GB, free: 11.14 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.0327, allocations: 228.9 kB / 0.6563 GB, free: 10.92 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.03271, allocations: 4 kB / 0.6563 GB, free: 10.91 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.03271, allocations: 0 / 0.6563 GB, free: 10.91 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.03271, allocations: 0 / 0.6563 GB, free: 10.91 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.03287, allocations: 161.6 kB / 0.6564 GB, free: 10.74 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.03287, allocations: 0 / 0.6564 GB, free: 10.74 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.03297, allocations: 59.84 kB / 0.6565 GB, free: 10.68 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.03297, allocations: 0 / 0.6565 GB, free: 10.68 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.03298, allocations: 8 kB / 0.6565 GB, free: 10.67 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.03299, allocations: 4 kB / 0.6565 GB, free: 10.67 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.03299, allocations: 3.938 kB / 0.6565 GB, free: 10.66 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.03315, allocations: 186.6 kB / 0.6567 GB, free: 10.46 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.03322, allocations: 55.69 kB / 0.6567 GB, free: 10.41 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.03325, allocations: 7.984 kB / 0.6567 GB, free: 10.4 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.554e-05/0.03331, allocations: 15.94 kB / 0.6567 GB, free: 10.38 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.03336, allocations: 23.95 kB / 0.6568 GB, free: 10.36 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.03337, allocations: 11.98 kB / 0.6568 GB, free: 10.35 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 5.47e-05/0.03343, allocations: 62.78 kB / 0.6568 GB, free: 10.29 MB / 0.6199 GB Notification: Performance of sort global known variables: time 7.1e-08/0.03343, allocations: 4 kB / 0.6568 GB, free: 10.28 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0001635/0.03359, allocations: 71.88 kB / 0.6569 GB, free: 10.21 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 (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.0009062/0.0345, allocations: 461.1 kB / 0.6573 GB, free: 9.746 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.03466, allocations: 124.6 kB / 0.6575 GB, free: 9.621 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.03467, allocations: 4 kB / 0.6575 GB, free: 9.617 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 8.401e-05/0.03475, allocations: 85.42 kB / 0.6576 GB, free: 9.531 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.03488, allocations: 40.42 kB / 0.6576 GB, free: 9.488 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006534/0.03553, allocations: 437.7 kB / 0.658 GB, free: 9.035 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.968e-05/0.03558, allocations: 89.81 kB / 0.6581 GB, free: 8.926 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.03571, allocations: 74.95 kB / 0.6582 GB, free: 8.852 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.03584, allocations: 119.3 kB / 0.6583 GB, free: 8.734 MB / 0.6199 GB Notification: Performance of SimCode: time 7.81e-07/0.03584, allocations: 0 / 0.6583 GB, free: 8.734 MB / 0.6199 GB Notification: Performance of Templates: time 0.005393/0.04123, allocations: 3.549 MB / 0.6617 GB, free: 5.176 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile [Timeout 660] (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.553958134260029]