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.04288/0.04288, allocations: 9.13 MB / 28.99 MB, free: 0.8125 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.000828/0.000828, allocations: 87.28 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.001014/0.001014, allocations: 166.7 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.01/1.01, 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.004023/0.004023, allocations: 0.8293 MB / 276.5 MB, free: 0.7578 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.772/1.772, 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.924e-06/1.924e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.784e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.004312/0.00434, allocations: 1.929 MB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.003081/0.007421, allocations: 2.029 MB / 0.6418 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.007523, allocations: 4 kB / 0.6418 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.0078, allocations: 31.72 kB / 0.6418 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0005231/0.008323, allocations: 107.3 kB / 0.6419 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.00892, allocations: 187.3 kB / 0.6421 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.009268, allocations: 261.4 kB / 0.6424 GB, free: 9.504 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.009376, allocations: 17.95 kB / 0.6424 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02982/0.0392, allocations: 9.469 MB / 0.6516 GB, free: 15.91 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.03936, allocations: 79.81 kB / 0.6517 GB, free: 15.84 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.03939, allocations: 16 kB / 0.6517 GB, free: 15.82 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.03967, allocations: 119.9 kB / 0.6518 GB, free: 15.7 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.03975, allocations: 79.75 kB / 0.6519 GB, free: 15.62 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.03983, allocations: 71.75 kB / 0.652 GB, free: 15.55 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.04024, allocations: 286.9 kB / 0.6522 GB, free: 15.27 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.04024, allocations: 4 kB / 0.6522 GB, free: 15.27 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.873e-06/0.04024, allocations: 0 / 0.6522 GB, free: 15.27 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.04025, allocations: 0 / 0.6522 GB, free: 15.27 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.0005415/0.04079, allocations: 460.1 kB / 0.6527 GB, free: 14.79 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.04083, allocations: 19.98 kB / 0.6527 GB, free: 14.77 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.04095, allocations: 36.84 kB / 0.6527 GB, free: 14.74 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.0412, allocations: 240.6 kB / 0.653 GB, free: 14.47 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.04122, allocations: 16.7 kB / 0.653 GB, free: 14.46 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.04124, allocations: 16.38 kB / 0.653 GB, free: 14.44 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.04145, allocations: 222.3 kB / 0.6532 GB, free: 14.2 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.04146, allocations: 3.938 kB / 0.6532 GB, free: 14.19 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.04148, allocations: 15.92 kB / 0.6532 GB, free: 14.18 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.04149, allocations: 4 kB / 0.6532 GB, free: 14.17 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.04193, allocations: 483 kB / 0.6537 GB, free: 13.7 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.04244, allocations: 350.9 kB / 0.654 GB, free: 13.34 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.04267, allocations: 136 kB / 0.6542 GB, free: 13.2 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.939e-05/0.04273, allocations: 41.41 kB / 0.6542 GB, free: 13.15 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.04301, allocations: 72.19 kB / 0.6543 GB, free: 13.08 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.04317, allocations: 123.2 kB / 0.6544 GB, free: 12.95 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=35): time 2.595e-06/0.04317, allocations: 0 / 0.6544 GB, free: 12.95 MB / 0.6199 GB Notification: Performance of matching and sorting (n=35): time 0.0002616/0.04344, allocations: 165.5 kB / 0.6545 GB, free: 12.78 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.04348, allocations: 110.8 kB / 0.6546 GB, free: 12.65 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.04361, allocations: 209 kB / 0.6548 GB, free: 12.43 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.04364, allocations: 29.7 kB / 0.6549 GB, free: 12.4 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.04368, allocations: 113.1 kB / 0.655 GB, free: 12.29 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/0.04375, allocations: 115 kB / 0.6551 GB, free: 12.17 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.374e-05/0.04381, allocations: 65.64 kB / 0.6552 GB, free: 12.1 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.0439, allocations: 338.8 kB / 0.6555 GB, free: 11.76 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.223e-05/0.04394, allocations: 27.92 kB / 0.6555 GB, free: 11.73 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/0.04402, allocations: 123 kB / 0.6556 GB, free: 11.59 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.04413, allocations: 99.98 kB / 0.6557 GB, free: 11.49 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.04413, allocations: 32 / 0.6557 GB, free: 11.49 MB / 0.6199 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001808/0.04431, allocations: 145.5 kB / 0.6559 GB, free: 11.34 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.04433, allocations: 4 kB / 0.6559 GB, free: 11.34 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.04433, allocations: 0 / 0.6559 GB, free: 11.34 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.04434, allocations: 0 / 0.6559 GB, free: 11.34 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.0445, allocations: 67.89 kB / 0.6559 GB, free: 11.27 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.0445, allocations: 4 kB / 0.6559 GB, free: 11.27 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.185e-05/0.04457, allocations: 23.78 kB / 0.656 GB, free: 11.25 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.04459, allocations: 7.984 kB / 0.656 GB, free: 11.24 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 9.197e-05/0.04468, allocations: 140.5 kB / 0.6561 GB, free: 11.09 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.04471, allocations: 31.97 kB / 0.6561 GB, free: 11.06 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.04499, allocations: 229 kB / 0.6563 GB, free: 10.83 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.045, allocations: 8 kB / 0.6563 GB, free: 10.82 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.045, allocations: 0 / 0.6563 GB, free: 10.82 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.045, allocations: 0 / 0.6563 GB, free: 10.82 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.04515, allocations: 153.6 kB / 0.6565 GB, free: 10.66 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.04515, allocations: 7.922 kB / 0.6565 GB, free: 10.65 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.04527, allocations: 63.84 kB / 0.6566 GB, free: 10.59 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.04527, allocations: 4 kB / 0.6566 GB, free: 10.58 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.04528, allocations: 4 kB / 0.6566 GB, free: 10.58 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.04528, allocations: 0 / 0.6566 GB, free: 10.58 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.04528, allocations: 0 / 0.6566 GB, free: 10.58 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.04546, allocations: 174.2 kB / 0.6567 GB, free: 10.39 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 7.578e-05/0.04553, allocations: 63.69 kB / 0.6568 GB, free: 10.32 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.04556, allocations: 11.98 kB / 0.6568 GB, free: 10.31 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.072e-05/0.04562, allocations: 8 kB / 0.6568 GB, free: 10.3 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.04567, allocations: 27.89 kB / 0.6568 GB, free: 10.28 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.04569, allocations: 7.984 kB / 0.6569 GB, free: 10.27 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 5.552e-05/0.04574, allocations: 70.78 kB / 0.6569 GB, free: 10.2 MB / 0.6199 GB Notification: Performance of sort global known variables: time 8e-08/0.04574, allocations: 0 / 0.6569 GB, free: 10.2 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0001815/0.04592, allocations: 67.88 kB / 0.657 GB, free: 10.13 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.0009954/0.04692, allocations: 461.2 kB / 0.6574 GB, free: 9.668 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.04717, allocations: 125 kB / 0.6575 GB, free: 9.543 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.04718, allocations: 8 kB / 0.6576 GB, free: 9.535 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 7.856e-05/0.04726, allocations: 76.61 kB / 0.6576 GB, free: 9.457 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.04741, allocations: 52.36 kB / 0.6577 GB, free: 9.402 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007022/0.04811, allocations: 425.7 kB / 0.6581 GB, free: 8.961 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.458e-05/0.04816, allocations: 97.81 kB / 0.6582 GB, free: 8.844 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.04829, allocations: 82.95 kB / 0.6583 GB, free: 8.762 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.04842, allocations: 107.3 kB / 0.6584 GB, free: 8.656 MB / 0.6199 GB Notification: Performance of SimCode: time 1.052e-06/0.04842, allocations: 4 kB / 0.6584 GB, free: 8.652 MB / 0.6199 GB Notification: Performance of Templates: time 0.005633/0.05406, allocations: 3.553 MB / 0.6618 GB, free: 5.09 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.613998590037227]