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.03987/0.03987, 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.0009587/0.0009587, 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.0009454/0.0009454, 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.9609/0.9609, 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.005706/0.005706, allocations: 0.8262 MB / 276.5 MB, free: 0.7305 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.601/1.601, 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.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 1.704e-06/1.704e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.041e-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.LessThreshold): time 0.001386/0.001406, allocations: 0.8079 MB / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009648/0.002371, allocations: 0.9364 MB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.554e-05/0.002466, allocations: 4 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.002626, allocations: 7.875 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.2e-05/0.002668, allocations: 15.86 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.002889, allocations: 35.8 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.003008, allocations: 75.77 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.003118, allocations: 19.97 kB / 0.6398 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.003265, allocations: 51.89 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.003335, allocations: 15.92 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.003353, allocations: 12 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.619e-05/0.003399, allocations: 8 kB / 0.6399 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.003417, allocations: 11.92 kB / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.003442, allocations: 23.92 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.003561, allocations: 55.69 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.003563, allocations: 0 / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003564, allocations: 0 / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.003568, 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.0003605/0.003928, allocations: 284.6 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.00397, allocations: 11.98 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.004098, allocations: 20.92 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.004265, allocations: 137.7 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.004275, allocations: 384 / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.004287, allocations: 4.375 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.004398, allocations: 74.86 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.004404, allocations: 192 / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.004412, allocations: 384 / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004416, allocations: 384 / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.004444, allocations: 19.94 kB / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.00468, allocations: 176.2 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.912e-05/0.004759, allocations: 34.55 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.305e-05/0.004772, allocations: 8.859 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.004783, allocations: 0 / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.004806, allocations: 42.58 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.004807, allocations: 0 / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001117/0.004919, allocations: 45.72 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.004951, allocations: 51.41 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.07e-05/0.005021, allocations: 134.7 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.00504, allocations: 29.7 kB / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.005081, allocations: 99.95 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.005098, allocations: 11.94 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.005125, allocations: 17.7 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.005212, allocations: 326.8 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-06/0.005222, allocations: 0 / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.003e-05/0.005232, allocations: 4 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.005259, allocations: 20.78 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005262, allocations: 0 / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.895e-05/0.00531, allocations: 41.69 kB / 0.6415 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.005321, allocations: 11.94 kB / 0.6415 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.005325, allocations: 0 / 0.6415 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.005334, allocations: 0 / 0.6415 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.125e-05/0.005376, allocations: 4 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.005378, allocations: 0 / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.005403, allocations: 7.984 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.005409, allocations: 3.984 kB / 0.6415 GB, free: 10.24 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 5.901e-05/0.005468, allocations: 109.8 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.005484, allocations: 11.88 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.005505, allocations: 16.33 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.005507, allocations: 0 / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.005508, allocations: 0 / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.005512, allocations: 0 / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.836e-05/0.005601, allocations: 89.83 kB / 0.6417 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005602, allocations: 0 / 0.6417 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.445e-05/0.005616, allocations: 4 kB / 0.6417 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.005617, allocations: 0 / 0.6417 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.005629, allocations: 3.984 kB / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.005631, allocations: 3.938 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.005632, allocations: 0 / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.143e-05/0.005703, allocations: 135.5 kB / 0.6419 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-06/0.005713, allocations: 8.359 kB / 0.6419 GB, free: 9.824 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.005727, allocations: 0 / 0.6419 GB, free: 9.824 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.645e-05/0.005764, allocations: 11.92 kB / 0.6419 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.0058, allocations: 15.92 kB / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.005803, allocations: 0 / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.161e-05/0.005824, allocations: 29.28 kB / 0.6419 GB, free: 9.766 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.005824, allocations: 3.938 kB / 0.6419 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001156/0.00594, allocations: 19.89 kB / 0.6419 GB, free: 9.742 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 8.416e-05/0.006024, allocations: 84.41 kB / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.384e-05/0.006078, allocations: 16.84 kB / 0.642 GB, free: 9.629 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.00608, allocations: 0 / 0.642 GB, free: 9.629 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.167e-05/0.006102, allocations: 12.86 kB / 0.642 GB, free: 9.613 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.006241, allocations: 15.92 kB / 0.6421 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.006666, allocations: 168.1 kB / 0.6422 GB, free: 9.406 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.571e-05/0.006701, allocations: 59.34 kB / 0.6423 GB, free: 9.328 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.006726, allocations: 8 kB / 0.6423 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.167e-05/0.006788, allocations: 59.36 kB / 0.6423 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of SimCode: time 1.062e-06/0.006789, allocations: 0 / 0.6423 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of Templates: time 0.002726/0.009515, allocations: 0.9775 MB / 0.6433 GB, free: 8.289 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.312835761345923]