Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.04242/0.04242, allocations: 9.133 MB / 28.99 MB, free: 6.105 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.0008779/0.0008779, allocations: 90.66 kB / 35.33 MB, free: 0.7695 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.001053/0.001053, allocations: 166.8 kB / 38.73 MB, free: 2.121 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.9618/0.9618, allocations: 177.2 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.004216/0.004216, allocations: 0.8144 MB / 276.5 MB, free: 0.75 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.643/1.643, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.638 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.497e-05, allocations: 6.25 kB / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001728/0.001753, allocations: 0.8588 MB / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009745/0.002727, allocations: 0.9286 MB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.904e-05/0.002806, allocations: 4 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.002923, allocations: 11.81 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.896e-05/0.002962, allocations: 15.86 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.00312, allocations: 31.86 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.263e-05/0.003213, allocations: 79.77 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.805e-05/0.003301, allocations: 19.97 kB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.003427, allocations: 55.83 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.003486, allocations: 11.98 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.003503, allocations: 8 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.042e-05/0.003554, allocations: 8 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.00357, allocations: 15.92 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.003592, allocations: 19.92 kB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.003701, allocations: 63.67 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003703, allocations: 0 / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003704, allocations: 0 / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.003708, allocations: 4 kB / 0.64 GB, free: 11.88 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.0003031/0.004011, allocations: 280.6 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.004045, allocations: 11.98 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.004145, allocations: 16.92 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.004287, allocations: 137.7 kB / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/0.004293, allocations: 384 / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.004302, allocations: 8.359 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.528e-05/0.004397, allocations: 78.86 kB / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.004403, allocations: 192 / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.004412, allocations: 4.375 kB / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.004416, allocations: 4.312 kB / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.42e-05/0.00444, allocations: 11.94 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002299/0.00467, allocations: 184.1 kB / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.019e-05/0.00473, allocations: 26.58 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.004744, allocations: 12.86 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.004757, allocations: 4.078 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.004777, allocations: 38.59 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.004778, allocations: 3.938 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 9.997e-05/0.004878, allocations: 41.69 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.004904, allocations: 51.41 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.004977, allocations: 134.6 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.004995, allocations: 29.7 kB / 0.6411 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.005034, allocations: 100.1 kB / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.005046, allocations: 3.953 kB / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.005075, allocations: 21.7 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.005152, allocations: 322.8 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.005162, allocations: 4 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-06/0.005172, allocations: 4 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.805e-05/0.0052, allocations: 20.78 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.005201, allocations: 0 / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.283e-05/0.005254, allocations: 41.69 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.005266, allocations: 7.938 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.00527, allocations: 0 / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.005283, allocations: 0 / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.599e-05/0.005329, allocations: 4 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.005333, allocations: 3.984 kB / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.005361, allocations: 4 kB / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.005365, allocations: 4 kB / 0.6416 GB, free: 10.12 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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 6.049e-05/0.005426, allocations: 117.8 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.005445, allocations: 15.92 kB / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.818e-05/0.005464, allocations: 8.344 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.005465, allocations: 0 / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.005466, allocations: 0 / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.005468, allocations: 4.328 kB / 0.6417 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.098e-05/0.005559, allocations: 77.83 kB / 0.6418 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.00556, allocations: 0 / 0.6418 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.614e-05/0.005576, allocations: 11.92 kB / 0.6418 GB, free: 9.871 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.005578, allocations: 7.984 kB / 0.6418 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-06/0.005582, allocations: 0 / 0.6418 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.005584, allocations: 3.938 kB / 0.6418 GB, free: 9.859 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005585, allocations: 0 / 0.6418 GB, free: 9.859 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.469e-05/0.00566, allocations: 131.5 kB / 0.642 GB, free: 9.715 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-06/0.005669, allocations: 7.984 kB / 0.642 GB, free: 9.707 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.005683, allocations: 4 kB / 0.642 GB, free: 9.703 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.813e-05/0.005721, allocations: 11.92 kB / 0.642 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.005756, allocations: 11.92 kB / 0.642 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.005759, allocations: 0 / 0.642 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.253e-05/0.005782, allocations: 32.75 kB / 0.642 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005782, allocations: 0 / 0.642 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001192/0.005901, allocations: 15.89 kB / 0.642 GB, free: 9.629 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.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 9.718e-05/0.005998, allocations: 80.41 kB / 0.6421 GB, free: 9.539 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.918e-05/0.006057, allocations: 12.86 kB / 0.6421 GB, free: 9.523 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.006061, allocations: 4 kB / 0.6421 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.016e-05/0.006081, allocations: 16.78 kB / 0.6421 GB, free: 9.5 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.006221, allocations: 8 kB / 0.6422 GB, free: 9.492 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.00661, allocations: 172.1 kB / 0.6423 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.358e-05/0.006643, allocations: 63.34 kB / 0.6424 GB, free: 9.215 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.00667, allocations: 3.984 kB / 0.6424 GB, free: 9.211 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.006725, allocations: 63.38 kB / 0.6424 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of SimCode: time 5.71e-07/0.006726, allocations: 0 / 0.6424 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of Templates: time 0.002492/0.009218, allocations: 0.9781 MB / 0.6434 GB, free: 8.176 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.302249918691814]