Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.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.04153/0.04153, allocations: 9.132 MB / 28.99 MB, free: 0.8281 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.0008545/0.0008545, allocations: 91.16 kB / 35.33 MB, free: 1.09 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.0009647/0.0009647, allocations: 167.6 kB / 38.73 MB, free: 2.52 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.9232/0.9232, 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.003816/0.003816, allocations: 0.8186 MB / 276.5 MB, free: 0.7383 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.586/1.586, allocations: 274.9 MB / 0.5419 GB, free: 0.6445 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.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.184e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001353/0.001375, allocations: 0.8079 MB / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.000997/0.002372, allocations: 0.9286 MB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.603e-05/0.002458, allocations: 7.938 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.002578, allocations: 15.8 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.167e-05/0.00261, allocations: 7.875 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.002784, allocations: 43.83 kB / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.12e-05/0.002875, allocations: 75.78 kB / 0.6398 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.13e-05/0.002966, allocations: 15.98 kB / 0.6398 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.003089, allocations: 51.89 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.003146, allocations: 19.91 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.003162, allocations: 8 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 3.745e-05/0.003199, allocations: 8 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.003214, allocations: 11.92 kB / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.003236, allocations: 23.92 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.641e-05/0.003332, allocations: 51.7 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003334, allocations: 0 / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003335, allocations: 4 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.003338, allocations: 0 / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002924/0.003631, allocations: 288.6 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.003663, allocations: 11.98 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.634e-05/0.00376, allocations: 16.92 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.003891, allocations: 141.6 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.003899, allocations: 384 / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.003914, allocations: 4.375 kB / 0.6404 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.407e-05/0.004008, allocations: 74.88 kB / 0.6405 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.004014, allocations: 192 / 0.6405 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.004021, allocations: 384 / 0.6405 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.004025, allocations: 384 / 0.6405 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.57e-05/0.004051, allocations: 11.94 kB / 0.6405 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/0.004275, allocations: 188.1 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.538e-05/0.004341, allocations: 34.55 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.358e-05/0.004354, allocations: 8.859 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.004365, allocations: 4 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.004383, allocations: 38.5 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.004384, allocations: 3.938 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 9.871e-05/0.004483, allocations: 45.81 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.004508, allocations: 51.41 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.413e-05/0.004572, allocations: 131.1 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.004587, allocations: 25.7 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.004625, allocations: 100.1 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.004637, allocations: 7.953 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.004663, allocations: 13.72 kB / 0.6411 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.004737, allocations: 322.8 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-06/0.004747, allocations: 4 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.051e-05/0.004758, allocations: 4 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.884e-05/0.004786, allocations: 20.84 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.004788, allocations: 0 / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.667e-05/0.004835, allocations: 45.62 kB / 0.6415 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.00485, allocations: 7.938 kB / 0.6415 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.004854, allocations: 0 / 0.6415 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.004863, allocations: 0 / 0.6415 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.119e-05/0.004904, allocations: 7.984 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.004906, allocations: 0 / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.162e-05/0.004938, allocations: 8 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.004942, allocations: 0 / 0.6415 GB, free: 10.25 MB / 0.6043 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 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.746e-05/0.005, allocations: 117.8 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.005015, allocations: 7.938 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.005036, allocations: 8.344 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005038, allocations: 336 / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.005039, allocations: 0 / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.005042, allocations: 0 / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.334e-05/0.005135, allocations: 89.81 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.005137, allocations: 7.938 kB / 0.6417 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.005153, allocations: 11.98 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.00516, allocations: 0 / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.005165, allocations: 0 / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.005167, allocations: 7.922 kB / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.005168, allocations: 0 / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.35e-05/0.005241, allocations: 131.5 kB / 0.6419 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.00525, allocations: 7.984 kB / 0.6419 GB, free: 9.82 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.005263, allocations: 3.938 kB / 0.6419 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.583e-05/0.005299, allocations: 7.938 kB / 0.6419 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.005332, allocations: 11.98 kB / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.005335, allocations: 0 / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.473e-05/0.00536, allocations: 40.78 kB / 0.6419 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.00536, allocations: 0 / 0.6419 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001211/0.005481, allocations: 15.89 kB / 0.6419 GB, free: 9.738 MB / 0.6043 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 8.229e-05/0.005564, allocations: 84.36 kB / 0.642 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.058e-05/0.005624, allocations: 12.86 kB / 0.642 GB, free: 9.629 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.005627, allocations: 0 / 0.642 GB, free: 9.629 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.005645, allocations: 16.84 kB / 0.642 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.005789, allocations: 8 kB / 0.6421 GB, free: 9.602 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.006154, allocations: 176.1 kB / 0.6422 GB, free: 9.402 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.35e-05/0.006188, allocations: 59.36 kB / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.618e-05/0.006214, allocations: 3.984 kB / 0.6423 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.006265, allocations: 55.38 kB / 0.6423 GB, free: 9.266 MB / 0.6043 GB Notification: Performance of SimCode: time 3.81e-07/0.006266, allocations: 4 kB / 0.6423 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of Templates: time 0.002394/0.00866, allocations: 0.9892 MB / 0.6433 GB, free: 8.277 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.237302652094513]