Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.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.03939/0.03939, allocations: 9.129 MB / 28.99 MB, free: 0.8164 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.0008207/0.0008207, allocations: 91.16 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.000986/0.000986, allocations: 167.9 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.9167/0.9167, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.003933/0.003933, allocations: 0.8255 MB / 276.5 MB, free: 0.7539 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.62/1.62, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.911e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Less): time 0.001372/0.001391, allocations: 0.8507 MB / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009394/0.00233, allocations: 0.9482 MB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.209e-05/0.002423, allocations: 7.938 kB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.002541, allocations: 11.81 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.467e-05/0.002576, allocations: 7.875 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.002764, allocations: 51.81 kB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.002869, allocations: 103.7 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.002971, allocations: 35.95 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.003112, allocations: 59.83 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.003173, allocations: 31.89 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.003192, allocations: 8 kB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.146e-05/0.003233, allocations: 12 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.003253, allocations: 19.92 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.003279, allocations: 23.92 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.003387, allocations: 67.67 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003389, allocations: 4 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003389, allocations: 4 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.665e-06/0.003392, allocations: 0 / 0.6401 GB, free: 11.81 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003419/0.003734, allocations: 304.5 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.003766, allocations: 15.98 kB / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.003869, allocations: 16.92 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.004007, allocations: 141.6 kB / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.004015, allocations: 4.375 kB / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.004027, allocations: 12.38 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.004136, allocations: 78.91 kB / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.004142, allocations: 192 / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.004149, allocations: 384 / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.004153, allocations: 384 / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.002e-05/0.004183, allocations: 23.86 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.004417, allocations: 204.1 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.503e-05/0.004492, allocations: 38.5 kB / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.004509, allocations: 12.86 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.004522, allocations: 4 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.00454, allocations: 34.64 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.004541, allocations: 0 / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001191/0.00466, allocations: 53.62 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.004687, allocations: 51.41 kB / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.452e-05/0.004752, allocations: 134.6 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.004767, allocations: 25.7 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.004805, allocations: 107.9 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.00482, allocations: 11.89 kB / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.004847, allocations: 21.7 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/0.004917, allocations: 326.8 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.00493, allocations: 4 kB / 0.6417 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.187e-05/0.004942, allocations: 4 kB / 0.6417 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.071e-05/0.004972, allocations: 16.84 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.004974, allocations: 3.938 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.188e-05/0.005026, allocations: 49.56 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.00504, allocations: 11.98 kB / 0.6417 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.005045, allocations: 0 / 0.6417 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.005054, allocations: 0 / 0.6417 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.284e-05/0.005107, allocations: 4.188 kB / 0.6417 GB, free: 9.965 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.00511, allocations: 4 kB / 0.6417 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.005141, allocations: 19.98 kB / 0.6418 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.005147, allocations: 0 / 0.6418 GB, free: 9.941 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 (5): * Single equations (assignments): 5 * 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.195e-05/0.005209, allocations: 109.8 kB / 0.6419 GB, free: 9.824 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.005228, allocations: 11.92 kB / 0.6419 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.00525, allocations: 8.531 kB / 0.6419 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.005253, allocations: 3.984 kB / 0.6419 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.005256, allocations: 4 kB / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005258, allocations: 0 / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.922e-05/0.005357, allocations: 85.86 kB / 0.642 GB, free: 9.695 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.005359, allocations: 4 kB / 0.642 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.005382, allocations: 11.92 kB / 0.642 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.005383, allocations: 3.938 kB / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.005389, allocations: 4 kB / 0.642 GB, free: 9.672 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.00539, allocations: 0 / 0.642 GB, free: 9.672 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.005391, allocations: 0 / 0.642 GB, free: 9.672 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.728e-05/0.005468, allocations: 135.5 kB / 0.6421 GB, free: 9.523 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.005477, allocations: 7.953 kB / 0.6421 GB, free: 9.516 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.005494, allocations: 3.938 kB / 0.6421 GB, free: 9.512 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-05/0.005538, allocations: 15.98 kB / 0.6422 GB, free: 9.496 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.005581, allocations: 11.98 kB / 0.6422 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.005584, allocations: 0 / 0.6422 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.298e-05/0.005607, allocations: 28.83 kB / 0.6422 GB, free: 9.453 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005607, allocations: 0 / 0.6422 GB, free: 9.453 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001254/0.005732, allocations: 15.89 kB / 0.6422 GB, free: 9.438 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 (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 8.11e-05/0.005813, allocations: 84.34 kB / 0.6423 GB, free: 9.344 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.442e-05/0.005878, allocations: 20.86 kB / 0.6423 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.005883, allocations: 4 kB / 0.6423 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.275e-05/0.005905, allocations: 16.84 kB / 0.6423 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.006038, allocations: 15.98 kB / 0.6423 GB, free: 9.281 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.006411, allocations: 196.4 kB / 0.6425 GB, free: 9.062 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.372e-05/0.006444, allocations: 59.34 kB / 0.6426 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.778e-05/0.006472, allocations: 8 kB / 0.6426 GB, free: 8.977 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.006538, allocations: 63.36 kB / 0.6427 GB, free: 8.914 MB / 0.6043 GB Notification: Performance of SimCode: time 5.41e-07/0.006538, allocations: 0 / 0.6427 GB, free: 8.914 MB / 0.6043 GB Notification: Performance of Templates: time 0.002413/0.008951, allocations: 1.113 MB / 0.6437 GB, free: 7.805 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.283027334138751]