Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.conf.json 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.000656/0.000656, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008909/0.001547, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007183/0.0007183, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009465/0.001665, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 1.038/1.038, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1048/1.143, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.8054/0.8054, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3063/1.112, allocations: 49.13 MB / 448.4 MB, free: 6.035 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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) Running command: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 449.8 MB, free: 4.684 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.494e-05, allocations: 4.141 kB / 449.8 MB, free: 4.68 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001818/0.001833, allocations: 0.8407 MB / 450.6 MB, free: 3.879 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.002969, allocations: 0.9344 MB / 451.5 MB, free: 2.93 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.044e-05/0.003049, allocations: 4 kB / 451.5 MB, free: 2.926 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.207e-05/0.003131, allocations: 23.56 kB / 451.6 MB, free: 2.906 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.849e-05/0.00318, allocations: 15.64 kB / 451.6 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.003303, allocations: 24.95 kB / 451.6 MB, free: 2.871 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.003438, allocations: 77.53 kB / 451.7 MB, free: 2.809 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.003546, allocations: 30.33 kB / 451.7 MB, free: 2.781 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.003723, allocations: 61.55 kB / 451.8 MB, free: 2.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.445e-05/0.003807, allocations: 27.91 kB / 451.8 MB, free: 2.703 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.003826, allocations: 4 kB / 451.8 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.193e-05/0.003888, allocations: 8 kB / 451.8 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.003905, allocations: 11.94 kB / 451.8 MB, free: 2.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.003929, allocations: 13.41 kB / 451.8 MB, free: 2.668 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.004058, allocations: 47.77 kB / 451.9 MB, free: 2.621 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.004071, allocations: 0 / 451.9 MB, free: 2.621 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004071, allocations: 0 / 451.9 MB, free: 2.621 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.004085, allocations: 0.5938 kB / 451.9 MB, free: 2.621 MB / 426.7 MB 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.0004032/0.004489, allocations: 299 kB / 452.2 MB, free: 2.305 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.00452, allocations: 8.031 kB / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.00469, allocations: 95.92 kB / 452.3 MB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.004861, allocations: 145.6 kB / 452.4 MB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.004869, allocations: 384 / 452.4 MB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.00488, allocations: 5.938 kB / 452.4 MB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.004984, allocations: 62.94 kB / 452.5 MB, free: 1.945 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.004996, allocations: 1.188 kB / 452.5 MB, free: 1.945 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.005002, allocations: 384 / 452.5 MB, free: 1.945 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.005006, allocations: 384 / 452.5 MB, free: 1.945 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.183e-05/0.005048, allocations: 29.89 kB / 452.5 MB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.005322, allocations: 172.7 kB / 452.7 MB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.434e-05/0.005407, allocations: 35.09 kB / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.623e-05/0.005423, allocations: 6.141 kB / 452.7 MB, free: 1.684 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.005439, allocations: 8 kB / 452.7 MB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.005465, allocations: 34.5 kB / 452.8 MB, free: 1.633 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.005466, allocations: 0.6875 kB / 452.8 MB, free: 1.633 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001202/0.005586, allocations: 42.48 kB / 452.8 MB, free: 1.586 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.00562, allocations: 57.31 kB / 452.9 MB, free: 1.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/0.005703, allocations: 136 kB / 453 MB, free: 1.375 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.005724, allocations: 29.7 kB / 453 MB, free: 1.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.005773, allocations: 92.11 kB / 453.1 MB, free: 1.246 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.005791, allocations: 11.89 kB / 453.1 MB, free: 1.234 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.005829, allocations: 23 kB / 453.1 MB, free: 1.207 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.005948, allocations: 318.8 kB / 453.5 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.005968, allocations: 4 kB / 453.5 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.152e-05/0.00598, allocations: 7.984 kB / 453.5 MB, free: 0.875 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.884e-05/0.006009, allocations: 9.875 kB / 453.5 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006011, allocations: 1.375 kB / 453.5 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.936e-05/0.00606, allocations: 44.55 kB / 453.5 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.006074, allocations: 21.38 kB / 453.5 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.006078, allocations: 5.047 kB / 453.5 MB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.006085, allocations: 0 / 453.5 MB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.799e-05/0.006133, allocations: 4 kB / 453.6 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.006135, allocations: 0.7188 kB / 453.6 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.00616, allocations: 7.984 kB / 453.6 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-06/0.006164, allocations: 0.9062 kB / 453.6 MB, free: 0.7812 MB / 426.7 MB 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.195e-05/0.006216, allocations: 110.4 kB / 453.7 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.006232, allocations: 11.94 kB / 453.7 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.00625, allocations: 5.781 kB / 453.7 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.006251, allocations: 0 / 453.7 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.006254, allocations: 3.984 kB / 453.7 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.006257, allocations: 4 kB / 453.7 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.829e-05/0.006346, allocations: 86.61 kB / 453.8 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.006346, allocations: 0 / 453.8 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.414e-05/0.00636, allocations: 5.438 kB / 453.8 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.006368, allocations: 4 kB / 453.8 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.006369, allocations: 0 / 453.8 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.006374, allocations: 3.938 kB / 453.8 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.006376, allocations: 4.828 kB / 453.8 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006377, allocations: 0 / 453.8 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.782e-05/0.006445, allocations: 136.1 kB / 453.9 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.006457, allocations: 0 / 453.9 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-05/0.006493, allocations: 8.781 kB / 453.9 MB, free: 372 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.006527, allocations: 15.97 kB / 454 MB, free: 356 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.006529, allocations: 0.625 kB / 454 MB, free: 356 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.769e-05/0.006547, allocations: 26.33 kB / 454 MB, free: 328 kB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006547, allocations: 0 / 454 MB, free: 328 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001118/0.006659, allocations: 15.95 kB / 454 MB, free: 312 kB / 426.7 MB 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 5.953e-05/0.006719, allocations: 78.52 kB / 454.1 MB, free: 228 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.218e-05/0.006771, allocations: 21.86 kB / 454.1 MB, free: 204 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.006776, allocations: 4 kB / 454.1 MB, free: 200 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.545e-05/0.006791, allocations: 8.859 kB / 454.1 MB, free: 188 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.006925, allocations: 21.95 kB / 454.1 MB, free: 168 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006186/0.007544, allocations: 184.9 kB / 454.3 MB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.245e-05/0.007576, allocations: 60.53 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.418e-05/0.007601, allocations: 8.609 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.007656, allocations: 59.38 kB / 454.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of SimCode: time 8.41e-07/0.007657, allocations: 0.5938 kB / 454.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of Templates: time 0.002441/0.0101, allocations: 0.9986 MB / 455.4 MB, free: 14.88 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5154799949377775]