Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.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.06168/0.06168, allocations: 9.125 MB / 28.99 MB, free: 0.8086 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.0008326/0.0008326, allocations: 87.28 kB / 35.32 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.000925/0.000925, allocations: 164 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 0.8739/0.8739, allocations: 177.1 MB / 219.2 MB, free: 10.08 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.007451/0.007451, allocations: 0.8221 MB / 276.5 MB, free: 0.7109 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.536/1.536, 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.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.085e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001334/0.001355, allocations: 0.702 MB / 0.6385 GB, free: 13.43 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007653/0.002121, allocations: 0.8857 MB / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.002154, allocations: 0 / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.00218, allocations: 7.922 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.153e-05/0.002252, allocations: 4 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.00237, allocations: 27.84 kB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.616e-05/0.002436, allocations: 47.84 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.884e-05/0.002505, allocations: 8 kB / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.895e-05/0.002584, allocations: 31.95 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.573e-05/0.00264, allocations: 19.92 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.00266, allocations: 4 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.002668, allocations: 8 kB / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.002685, allocations: 7.984 kB / 0.6396 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.002704, allocations: 11.98 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.761e-05/0.002781, allocations: 39.83 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.002784, allocations: 0 / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.61e-07/0.002784, allocations: 0 / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.896e-06/0.002787, allocations: 0 / 0.6396 GB, free: 12.32 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.0002846/0.003072, allocations: 252.8 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.003104, allocations: 15.98 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.003127, allocations: 4.938 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.631e-05/0.003204, allocations: 113.8 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.00322, allocations: 384 / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.00323, allocations: 8.375 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.003338, allocations: 66.91 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.003345, allocations: 3.938 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.003353, allocations: 4 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.003357, allocations: 0 / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.784e-05/0.003385, allocations: 15.92 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.0036, allocations: 176.1 kB / 0.6402 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.549e-05/0.003666, allocations: 34.56 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.003683, allocations: 16.86 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.003695, allocations: 3.938 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.003716, allocations: 38.48 kB / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.003716, allocations: 0 / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001035/0.00382, allocations: 45.69 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.003847, allocations: 55.41 kB / 0.6404 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.931e-05/0.003897, allocations: 114.8 kB / 0.6405 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.003905, allocations: 25.7 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.657e-05/0.003932, allocations: 88.09 kB / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.003946, allocations: 11.94 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.003973, allocations: 21.7 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.004038, allocations: 314.8 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.004052, allocations: 7.984 kB / 0.641 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.134e-05/0.004063, allocations: 7.938 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.944e-05/0.004092, allocations: 16.84 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.004094, allocations: 0 / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.151e-05/0.004145, allocations: 49.62 kB / 0.6411 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.004155, allocations: 7.906 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.004158, allocations: 4 kB / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.004169, allocations: 336 / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-05/0.004229, allocations: 11.98 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-06/0.004231, allocations: 0 / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.004255, allocations: 4 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.004259, allocations: 0 / 0.6411 GB, free: 10.65 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,intLesThr.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.312e-05/0.004312, allocations: 121.8 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.004326, allocations: 7.938 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.468e-05/0.004341, allocations: 4 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.004342, allocations: 0 / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.004344, allocations: 8 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.004346, allocations: 0 / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.019e-05/0.004427, allocations: 81.88 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.004427, allocations: 3.938 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.004452, allocations: 11.98 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.004453, allocations: 0 / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.004459, allocations: 3.938 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.004459, allocations: 0 / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00446, allocations: 0 / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.169e-05/0.004542, allocations: 143.5 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-06/0.004549, allocations: 7.953 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-06/0.004559, allocations: 3.938 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.56e-05/0.004594, allocations: 8 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.004633, allocations: 11.98 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.004636, allocations: 3.984 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.226e-05/0.004649, allocations: 12.86 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004649, allocations: 0 / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001131/0.004762, allocations: 7.938 kB / 0.6415 GB, free: 10.17 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 (intLesThr.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.232e-05/0.004834, allocations: 76.42 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.531e-05/0.004889, allocations: 24.84 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.004891, allocations: 0 / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.524e-05/0.004917, allocations: 28.77 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.005035, allocations: 7.938 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002118/0.005247, allocations: 128.5 kB / 0.6418 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.804e-05/0.005275, allocations: 55.36 kB / 0.6418 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.475e-05/0.0053, allocations: 8 kB / 0.6418 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.005352, allocations: 63.36 kB / 0.6419 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of SimCode: time 5.21e-07/0.005352, allocations: 0 / 0.6419 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of Templates: time 0.002166/0.007518, allocations: 0.9688 MB / 0.6428 GB, free: 8.754 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.241777523886412]