Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.05039/0.05039, allocations: 9.129 MB / 28.99 MB, free: 328 kB / 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.001205/0.001205, allocations: 95.27 kB / 35.33 MB, free: 0.9219 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.00105/0.00105, allocations: 169.1 kB / 38.73 MB, free: 2.398 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.922/0.922, 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.005682/0.005682, allocations: 0.8215 MB / 276.5 MB, free: 0.7422 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.559/1.559, 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.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.791e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001865/0.001893, allocations: 0.7058 MB / 0.6386 GB, free: 13.4 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007977/0.002691, allocations: 0.8741 MB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.572e-05/0.002727, allocations: 4 kB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.002752, allocations: 3.938 kB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.67e-05/0.002829, allocations: 3.938 kB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.002958, allocations: 35.83 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.602e-05/0.003024, allocations: 39.92 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.307e-05/0.003097, allocations: 11.98 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.496e-05/0.003172, allocations: 27.91 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.003222, allocations: 19.97 kB / 0.6395 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.003243, allocations: 4 kB / 0.6395 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.003252, allocations: 8 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.003275, allocations: 11.94 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.003297, allocations: 15.97 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.685e-05/0.003374, allocations: 31.84 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.003377, allocations: 4 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003378, allocations: 0 / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.003382, allocations: 3.938 kB / 0.6396 GB, free: 12.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002938/0.003675, allocations: 252.8 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.003706, allocations: 11.98 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.003735, allocations: 12.94 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.81e-05/0.003803, allocations: 113.8 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.003818, allocations: 384 / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.003828, allocations: 4.375 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.003931, allocations: 70.91 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.003937, allocations: 3.938 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.003944, allocations: 0 / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.003947, allocations: 0 / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.827e-05/0.003976, allocations: 15.92 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.004192, allocations: 172.2 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.064e-05/0.004272, allocations: 42.55 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.004292, allocations: 16.86 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.004308, allocations: 3.938 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.00433, allocations: 34.56 kB / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.004331, allocations: 0 / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001145/0.004446, allocations: 45.62 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.004478, allocations: 59.39 kB / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.827e-05/0.004536, allocations: 106.8 kB / 0.6405 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.004549, allocations: 29.69 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.004585, allocations: 96.08 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.0046, allocations: 7.953 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.004627, allocations: 17.7 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.004698, allocations: 314.8 kB / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.004712, allocations: 7.938 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.004724, allocations: 4 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.175e-05/0.004756, allocations: 24.78 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004758, allocations: 0 / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.447e-05/0.004812, allocations: 53.61 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.004823, allocations: 7.906 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.004826, allocations: 4 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.004835, allocations: 0 / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.004899, allocations: 8 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.004902, allocations: 3.984 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.004926, allocations: 4 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.00493, allocations: 0 / 0.6411 GB, free: 10.61 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: 2 (reaToInt.y,intLesEquThr.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.095e-05/0.004981, allocations: 109.8 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.004994, allocations: 7.875 kB / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.944e-05/0.005013, allocations: 15.98 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005015, allocations: 0 / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.005016, allocations: 4 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.005018, allocations: 0 / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.187e-05/0.0051, allocations: 73.88 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.0051, allocations: 0 / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.005128, allocations: 8 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-07/0.005128, allocations: 0 / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.005137, allocations: 11.92 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005137, allocations: 0 / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.005139, allocations: 4 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.201e-05/0.005221, allocations: 139.9 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.005231, allocations: 15.89 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.00524, allocations: 3.938 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.225e-05/0.005282, allocations: 7.984 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.00532, allocations: 11.92 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.005324, allocations: 4 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.133e-05/0.005335, allocations: 12.84 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005335, allocations: 0 / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001134/0.005449, allocations: 12 kB / 0.6415 GB, free: 10.13 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 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 7.46e-05/0.005523, allocations: 72.42 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.015e-05/0.005583, allocations: 28.83 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.005585, allocations: 3.938 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/0.005607, allocations: 20.8 kB / 0.6416 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.00573, allocations: 11.98 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002221/0.005952, allocations: 124.5 kB / 0.6418 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.318e-05/0.005985, allocations: 59.34 kB / 0.6418 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.775e-05/0.006013, allocations: 8 kB / 0.6418 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.006063, allocations: 55.36 kB / 0.6419 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of SimCode: time 9.62e-07/0.006064, allocations: 0 / 0.6419 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of Templates: time 0.002183/0.008247, allocations: 0.9687 MB / 0.6428 GB, free: 8.727 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.105310969054699]