Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009673/0.0009673, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.002259, 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.0007671/0.0007671, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009965/0.001764, 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 1.017/1.017, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1016/1.118, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7761/0.7761, allocations: 154.6 MB / 398.8 MB, free: 396 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.3012/1.077, allocations: 49.04 MB / 447.8 MB, free: 6.602 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/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0.5469 kB / 449.2 MB, free: 5.23 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.073e-05, allocations: 2.312 kB / 449.2 MB, free: 5.227 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002058/0.002088, allocations: 0.8559 MB / 450.1 MB, free: 4.418 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009426/0.003031, allocations: 0.9449 MB / 451 MB, free: 3.461 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.003145, allocations: 7.938 kB / 451 MB, free: 3.453 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 9.561e-05/0.003241, allocations: 13.06 kB / 451 MB, free: 3.441 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.902e-05/0.00328, allocations: 10.17 kB / 451 MB, free: 3.438 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.00342, allocations: 27.95 kB / 451.1 MB, free: 3.41 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.003546, allocations: 78.58 kB / 451.1 MB, free: 3.348 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.003654, allocations: 23.97 kB / 451.2 MB, free: 3.324 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.003829, allocations: 65.23 kB / 451.2 MB, free: 3.266 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.546e-05/0.003904, allocations: 16.25 kB / 451.2 MB, free: 3.254 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.003924, allocations: 9.406 kB / 451.3 MB, free: 3.246 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.688e-05/0.003981, allocations: 8 kB / 451.3 MB, free: 3.238 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.004003, allocations: 11.94 kB / 451.3 MB, free: 3.227 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.004026, allocations: 11.94 kB / 451.3 MB, free: 3.215 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.004147, allocations: 48.58 kB / 451.3 MB, free: 3.168 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.464e-05/0.004161, allocations: 0 / 451.3 MB, free: 3.168 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.004163, allocations: 4.906 kB / 451.3 MB, free: 3.164 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.004177, allocations: 3.938 kB / 451.3 MB, free: 3.16 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.0004113/0.004589, allocations: 296.2 kB / 451.6 MB, free: 2.848 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.004621, allocations: 8.031 kB / 451.6 MB, free: 2.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.004773, allocations: 94.03 kB / 451.7 MB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.004934, allocations: 139.8 kB / 451.9 MB, free: 2.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.004944, allocations: 4.375 kB / 451.9 MB, free: 2.566 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.004967, allocations: 13.59 kB / 451.9 MB, free: 2.555 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.005093, allocations: 58.88 kB / 451.9 MB, free: 2.488 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.005102, allocations: 192 / 451.9 MB, free: 2.488 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.005112, allocations: 5.062 kB / 452 MB, free: 2.484 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.005118, allocations: 4.375 kB / 452 MB, free: 2.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.07e-05/0.005148, allocations: 9 kB / 452 MB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.005432, allocations: 184.2 kB / 452.1 MB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.569e-05/0.005517, allocations: 32.64 kB / 452.2 MB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.005534, allocations: 9.484 kB / 452.2 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.005548, allocations: 0 / 452.2 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.005577, allocations: 39.56 kB / 452.2 MB, free: 2.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.005578, allocations: 0 / 452.2 MB, free: 2.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001419/0.00572, allocations: 41.81 kB / 452.3 MB, free: 2.133 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.005756, allocations: 56.56 kB / 452.3 MB, free: 2.066 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.005838, allocations: 143.7 kB / 452.5 MB, free: 1.914 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.00586, allocations: 25.7 kB / 452.5 MB, free: 1.883 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.005912, allocations: 92.83 kB / 452.6 MB, free: 1.789 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.00593, allocations: 7.891 kB / 452.6 MB, free: 1.781 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.005961, allocations: 19.22 kB / 452.6 MB, free: 1.758 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.006056, allocations: 322.8 kB / 452.9 MB, free: 1.434 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.006071, allocations: 4 kB / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.233e-05/0.006083, allocations: 5.781 kB / 452.9 MB, free: 1.426 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.995e-05/0.006113, allocations: 14.34 kB / 452.9 MB, free: 1.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006115, allocations: 0 / 452.9 MB, free: 1.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.585e-05/0.006171, allocations: 45.62 kB / 453 MB, free: 1.359 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.006186, allocations: 7.938 kB / 453 MB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.006191, allocations: 0.6875 kB / 453 MB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.006204, allocations: 4 kB / 453 MB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/0.006265, allocations: 5.078 kB / 453 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.006271, allocations: 4 kB / 453 MB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.006296, allocations: 8.578 kB / 453 MB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.006301, allocations: 0 / 453 MB, free: 1.332 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 6.241e-05/0.006363, allocations: 117.1 kB / 453.1 MB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.006378, allocations: 7.938 kB / 453.1 MB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.006408, allocations: 12.34 kB / 453.2 MB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.00641, allocations: 0 / 453.2 MB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.006411, allocations: 3.938 kB / 453.2 MB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.006415, allocations: 0.5625 kB / 453.2 MB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.034e-05/0.006506, allocations: 81.86 kB / 453.2 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.006508, allocations: 7.984 kB / 453.2 MB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.00653, allocations: 8.5 kB / 453.3 MB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.102e-05/0.006541, allocations: 5.172 kB / 453.3 MB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.006544, allocations: 0 / 453.3 MB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.006551, allocations: 3.938 kB / 453.3 MB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.006552, allocations: 4 kB / 453.3 MB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.006554, allocations: 2.625 kB / 453.3 MB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.843e-05/0.006643, allocations: 135.5 kB / 453.4 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.006659, allocations: 4.5 kB / 453.4 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.865e-05/0.006698, allocations: 8.625 kB / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.006738, allocations: 8.609 kB / 453.4 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.006742, allocations: 3.984 kB / 453.4 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.42e-05/0.006766, allocations: 31.58 kB / 453.5 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006766, allocations: 0 / 453.5 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001155/0.006882, allocations: 8.625 kB / 453.5 MB, free: 0.8438 MB / 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.0001122/0.006994, allocations: 77.98 kB / 453.5 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.881e-05/0.007063, allocations: 24.78 kB / 453.6 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.007067, allocations: 0 / 453.6 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.345e-05/0.007091, allocations: 15.14 kB / 453.6 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.00729, allocations: 108.9 kB / 453.7 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006742/0.007964, allocations: 178.4 kB / 453.9 MB, free: 408 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.512e-05/0.008009, allocations: 63.2 kB / 453.9 MB, free: 324 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.21e-05/0.008041, allocations: 10.47 kB / 453.9 MB, free: 316 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.008103, allocations: 55.38 kB / 454 MB, free: 260 kB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/0.008104, allocations: 0.6562 kB / 454 MB, free: 260 kB / 426.7 MB Notification: Performance of Templates: time 0.002733/0.01084, allocations: 1.004 MB / 455 MB, free: 15.31 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.59274775814265]