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.04165/0.04165, allocations: 9.128 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.001204/0.001204, allocations: 90.72 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.001661/0.001661, allocations: 164.5 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.9567/0.9567, allocations: 177.2 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.004117/0.004117, allocations: 0.8224 MB / 276.5 MB, free: 0.7031 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.754/1.754, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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 2.665e-06/2.665e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.637e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001469/0.001495, allocations: 0.749 MB / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008889/0.002384, allocations: 0.8858 MB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.002422, allocations: 0 / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.002451, allocations: 3.938 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.447e-05/0.002525, allocations: 3.938 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.002704, allocations: 19.92 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.191e-05/0.002776, allocations: 55.77 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.67e-05/0.002852, allocations: 11.98 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.222e-05/0.002935, allocations: 23.98 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.002986, allocations: 23.91 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.003006, allocations: 8 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-06/0.003015, allocations: 4 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.003035, allocations: 11.98 kB / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.899e-05/0.003054, allocations: 11.94 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.215e-05/0.003136, allocations: 31.94 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003139, allocations: 0 / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.61e-07/0.003139, allocations: 0 / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.003144, allocations: 7.938 kB / 0.6397 GB, free: 12.21 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.0005803/0.003724, allocations: 252.8 kB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.003754, allocations: 11.98 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.00378, allocations: 8.938 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.211e-05/0.003862, allocations: 117.7 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.003879, allocations: 4.375 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.003886, allocations: 384 / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.003999, allocations: 62.94 kB / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.004006, allocations: 3.938 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.004013, allocations: 0 / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.004021, allocations: 7.984 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.872e-05/0.00405, allocations: 8 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.004317, allocations: 180.1 kB / 0.6403 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.023e-05/0.004397, allocations: 42.61 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.004419, allocations: 12.86 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.004433, allocations: 3.938 kB / 0.6404 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.004457, allocations: 38.55 kB / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.004458, allocations: 0 / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001331/0.004591, allocations: 49.62 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.004623, allocations: 51.41 kB / 0.6405 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.012e-05/0.004683, allocations: 114.7 kB / 0.6406 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.004692, allocations: 29.7 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.004733, allocations: 88.09 kB / 0.6408 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.004751, allocations: 7.938 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.00478, allocations: 21.7 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.004862, allocations: 314.8 kB / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.004878, allocations: 7.984 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.969e-06/0.004888, allocations: 0 / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.711e-05/0.004925, allocations: 20.84 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004927, allocations: 0 / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.822e-05/0.004985, allocations: 49.56 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.004998, allocations: 8 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.005004, allocations: 4 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.005018, allocations: 3.938 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.005088, allocations: 7.984 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.00509, allocations: 0 / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.005115, allocations: 4 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.005121, allocations: 3.984 kB / 0.6412 GB, free: 10.54 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 6.282e-05/0.005184, allocations: 117.8 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.0052, allocations: 7.938 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.005221, allocations: 8 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.005223, allocations: 4 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.005224, allocations: 0 / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.005228, allocations: 0 / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.738e-05/0.005315, allocations: 77.89 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.005316, allocations: 0 / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.005342, allocations: 7.984 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.005343, allocations: 0 / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.00535, allocations: 11.88 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.00535, allocations: 0 / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.005351, allocations: 0 / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.215e-05/0.005443, allocations: 147.8 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.00545, allocations: 4 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.00546, allocations: 7.922 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.732e-05/0.005497, allocations: 7.984 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.005539, allocations: 11.98 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.005541, allocations: 0 / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.082e-05/0.005552, allocations: 12.86 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005552, allocations: 0 / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001123/0.005664, allocations: 11.94 kB / 0.6416 GB, free: 10.07 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.67e-05/0.005741, allocations: 84.41 kB / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.858e-05/0.00581, allocations: 24.78 kB / 0.6417 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.005812, allocations: 0 / 0.6417 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-05/0.005834, allocations: 12.86 kB / 0.6417 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.005963, allocations: 11.98 kB / 0.6417 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002137/0.006176, allocations: 128.5 kB / 0.6419 GB, free: 9.766 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.256e-05/0.006209, allocations: 59.34 kB / 0.6419 GB, free: 9.688 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.483e-05/0.006234, allocations: 11.94 kB / 0.6419 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.006283, allocations: 55.38 kB / 0.642 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of SimCode: time 7.41e-07/0.006284, allocations: 7.938 kB / 0.642 GB, free: 9.613 MB / 0.6043 GB Notification: Performance of Templates: time 0.002325/0.008609, allocations: 0.9688 MB / 0.6429 GB, free: 8.648 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.382061581127346]