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.001083/0.001083, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001574/0.002657, allocations: 440 kB / 10.41 MB, free: 284 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.001038/0.001038, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002424, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9948/0.9948, allocations: 177.2 MB / 189.7 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09051/1.085, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.8772/0.8772, allocations: 155.3 MB / 399.5 MB, free: 15.83 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.301/1.178, allocations: 49.13 MB / 448.6 MB, free: 5.949 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.944e-06/1.944e-06, allocations: 0 / 450 MB, free: 4.578 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.795e-05, allocations: 2.312 kB / 450 MB, free: 4.574 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002612/0.00264, allocations: 0.8561 MB / 450.9 MB, free: 3.758 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.003945, allocations: 0.9403 MB / 451.8 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.456e-05/0.004039, allocations: 0 / 451.8 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 9.265e-05/0.004132, allocations: 21.5 kB / 451.8 MB, free: 2.785 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.875e-05/0.004181, allocations: 8.391 kB / 451.8 MB, free: 2.781 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.004325, allocations: 29.31 kB / 451.9 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.004481, allocations: 85.84 kB / 452 MB, free: 2.684 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.004629, allocations: 26.45 kB / 452 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.004918, allocations: 57.52 kB / 452 MB, free: 2.609 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.005023, allocations: 19.48 kB / 452.1 MB, free: 2.594 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.005047, allocations: 14.88 kB / 452.1 MB, free: 2.582 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.44e-05/0.005121, allocations: 8.547 kB / 452.1 MB, free: 2.574 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.005146, allocations: 8.484 kB / 452.1 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.005172, allocations: 15.94 kB / 452.1 MB, free: 2.551 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.005323, allocations: 43.83 kB / 452.1 MB, free: 2.508 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.005337, allocations: 0 / 452.1 MB, free: 2.508 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.005339, allocations: 0 / 452.1 MB, free: 2.508 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.005348, allocations: 0 / 452.1 MB, free: 2.508 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.0005056/0.005854, allocations: 299.5 kB / 452.4 MB, free: 2.191 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.005898, allocations: 8.031 kB / 452.4 MB, free: 2.184 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.006119, allocations: 102.7 kB / 452.5 MB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.006359, allocations: 140.9 kB / 452.7 MB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.006374, allocations: 8.312 kB / 452.7 MB, free: 1.898 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.006389, allocations: 384 / 452.7 MB, free: 1.898 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.006556, allocations: 64.19 kB / 452.8 MB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.006564, allocations: 192 / 452.8 MB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.006574, allocations: 4.375 kB / 452.8 MB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.006582, allocations: 4.906 kB / 452.8 MB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.911e-05/0.006621, allocations: 11.92 kB / 452.8 MB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.006955, allocations: 183.2 kB / 453 MB, free: 1.617 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.007057, allocations: 26.56 kB / 453 MB, free: 1.582 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.007079, allocations: 16.89 kB / 453 MB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.007094, allocations: 3.938 kB / 453 MB, free: 1.559 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.007122, allocations: 34.5 kB / 453 MB, free: 1.516 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 3.987e-06/0.007126, allocations: 5.312 kB / 453 MB, free: 1.512 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001519/0.007278, allocations: 37.78 kB / 453.1 MB, free: 1.469 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.007311, allocations: 56.31 kB / 453.1 MB, free: 1.402 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.007423, allocations: 136.6 kB / 453.3 MB, free: 1.258 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.007445, allocations: 33.7 kB / 453.3 MB, free: 1.219 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.007491, allocations: 90 kB / 453.4 MB, free: 1.129 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.007512, allocations: 11.88 kB / 453.4 MB, free: 1.117 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.007551, allocations: 21.7 kB / 453.4 MB, free: 1.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.007649, allocations: 318.8 kB / 453.7 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.007671, allocations: 7.938 kB / 453.7 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.591e-05/0.007687, allocations: 6.016 kB / 453.7 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.886e-05/0.007725, allocations: 12.86 kB / 453.8 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.007728, allocations: 0.75 kB / 453.8 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.879e-05/0.007807, allocations: 41.69 kB / 453.8 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.007829, allocations: 12.86 kB / 453.8 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.007834, allocations: 0 / 453.8 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.007849, allocations: 0.75 kB / 453.8 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.047e-05/0.007919, allocations: 4.906 kB / 453.8 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.007924, allocations: 3.938 kB / 453.8 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.942e-05/0.007964, allocations: 8.766 kB / 453.8 MB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.007971, allocations: 4 kB / 453.8 MB, free: 0.6641 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 7.463e-05/0.008045, allocations: 106.6 kB / 453.9 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.008076, allocations: 13.09 kB / 453.9 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.008108, allocations: 8.344 kB / 454 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.008112, allocations: 3.984 kB / 454 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.008113, allocations: 1.938 kB / 454 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.008117, allocations: 1.875 kB / 454 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.008257, allocations: 85.83 kB / 454 MB, free: 428 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.008259, allocations: 0 / 454 MB, free: 428 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.008303, allocations: 0 / 454 MB, free: 428 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.008316, allocations: 4.906 kB / 454.1 MB, free: 424 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.00832, allocations: 0 / 454.1 MB, free: 424 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.008331, allocations: 11.92 kB / 454.1 MB, free: 412 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.008333, allocations: 4.656 kB / 454.1 MB, free: 408 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.008336, allocations: 4 kB / 454.1 MB, free: 404 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.008455, allocations: 136.1 kB / 454.2 MB, free: 252 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.008473, allocations: 5 kB / 454.2 MB, free: 248 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.008555, allocations: 11.94 kB / 454.2 MB, free: 236 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.0086, allocations: 7.969 kB / 454.2 MB, free: 228 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.008606, allocations: 4.875 kB / 454.2 MB, free: 224 kB / 426.7 MB Notification: Performance of sorting global known variables: time 3.472e-05/0.008641, allocations: 22.41 kB / 454.3 MB, free: 200 kB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008641, allocations: 0.8125 kB / 454.3 MB, free: 200 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.000198/0.008839, allocations: 15.95 kB / 454.3 MB, free: 184 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 0.0001263/0.008965, allocations: 77.64 kB / 454.3 MB, free: 100 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.167e-05/0.009047, allocations: 25.81 kB / 454.4 MB, free: 72 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.009053, allocations: 0.6562 kB / 454.4 MB, free: 72 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.302e-05/0.009086, allocations: 13.48 kB / 454.4 MB, free: 56 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.009361, allocations: 101.6 kB / 454.5 MB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.01038, allocations: 191.5 kB / 454.7 MB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.261e-05/0.01042, allocations: 59.34 kB / 454.7 MB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.232e-05/0.01046, allocations: 9.719 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.173e-05/0.01054, allocations: 63.34 kB / 454.8 MB, free: 15.59 MB / 442.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01054, allocations: 0 / 454.8 MB, free: 15.59 MB / 442.7 MB Notification: Performance of Templates: time 0.003646/0.01419, allocations: 0.9904 MB / 455.8 MB, free: 14.66 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.5439922036603093]