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.0006458/0.0006458, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001665, 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.001051/0.001051, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002395, 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 0.9934/0.9934, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1007/1.094, 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/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.8023/0.8023, allocations: 154.6 MB / 398.5 MB, free: 0.5117 MB / 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.2864/1.089, allocations: 49.03 MB / 447.6 MB, free: 6.68 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 1.202e-06/1.202e-06, allocations: 0 / 448.9 MB, free: 5.336 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.287e-05, allocations: 4.422 kB / 448.9 MB, free: 5.332 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001205/0.001218, allocations: 0.8448 MB / 449.8 MB, free: 4.531 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008212/0.002039, allocations: 0.9379 MB / 450.7 MB, free: 3.582 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.32e-05/0.002122, allocations: 3.938 kB / 450.7 MB, free: 3.578 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.325e-05/0.002195, allocations: 20.12 kB / 450.7 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.544e-05/0.002231, allocations: 11.11 kB / 450.8 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.959e-05/0.002331, allocations: 32.44 kB / 450.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.002436, allocations: 74.41 kB / 450.9 MB, free: 3.461 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.002537, allocations: 24.62 kB / 450.9 MB, free: 3.438 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.002681, allocations: 61.58 kB / 450.9 MB, free: 3.383 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.002741, allocations: 26.52 kB / 451 MB, free: 3.359 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.002757, allocations: 4 kB / 451 MB, free: 3.355 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.219e-05/0.00281, allocations: 12 kB / 451 MB, free: 3.344 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.002823, allocations: 12.69 kB / 451 MB, free: 3.332 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.002843, allocations: 15.94 kB / 451 MB, free: 3.316 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.002944, allocations: 45.38 kB / 451.1 MB, free: 3.273 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.002956, allocations: 0 / 451.1 MB, free: 3.273 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002957, allocations: 0 / 451.1 MB, free: 3.273 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.002969, allocations: 0 / 451.1 MB, free: 3.273 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.0003538/0.003323, allocations: 303.2 kB / 451.4 MB, free: 2.953 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.003353, allocations: 8.031 kB / 451.4 MB, free: 2.945 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.003502, allocations: 95.91 kB / 451.5 MB, free: 2.836 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.003649, allocations: 137.7 kB / 451.6 MB, free: 2.676 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.003657, allocations: 384 / 451.6 MB, free: 2.676 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.003666, allocations: 6.469 kB / 451.6 MB, free: 2.672 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.003782, allocations: 70.81 kB / 451.7 MB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.003791, allocations: 192 / 451.7 MB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.003799, allocations: 1.656 kB / 451.7 MB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.003807, allocations: 384 / 451.7 MB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.862e-05/0.003845, allocations: 15.92 kB / 451.7 MB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.004146, allocations: 184.8 kB / 451.9 MB, free: 2.383 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.511e-05/0.004241, allocations: 31.62 kB / 451.9 MB, free: 2.344 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.004259, allocations: 8.859 kB / 451.9 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.004272, allocations: 1.703 kB / 451.9 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.004298, allocations: 38.5 kB / 451.9 MB, free: 2.285 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.0043, allocations: 0.625 kB / 451.9 MB, free: 2.285 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001412/0.004441, allocations: 45.81 kB / 452 MB, free: 2.234 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.004475, allocations: 52.06 kB / 452 MB, free: 2.172 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.131e-05/0.004566, allocations: 137.4 kB / 452.2 MB, free: 2.027 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.004585, allocations: 25.7 kB / 452.2 MB, free: 1.996 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.004633, allocations: 104 kB / 452.3 MB, free: 1.891 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.004651, allocations: 7.891 kB / 452.3 MB, free: 1.883 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.00469, allocations: 18.77 kB / 452.3 MB, free: 1.859 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.004786, allocations: 318.8 kB / 452.6 MB, free: 1.539 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.004799, allocations: 1.156 kB / 452.6 MB, free: 1.539 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.635e-05/0.004815, allocations: 9.25 kB / 452.6 MB, free: 1.531 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/0.00485, allocations: 20.78 kB / 452.7 MB, free: 1.508 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.004853, allocations: 0 / 452.7 MB, free: 1.508 MB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.7e-05/0.00492, allocations: 46.41 kB / 452.7 MB, free: 1.457 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.004936, allocations: 9.438 kB / 452.7 MB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.00494, allocations: 0 / 452.7 MB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.004951, allocations: 3.984 kB / 452.7 MB, free: 1.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.005015, allocations: 4 kB / 452.7 MB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.005019, allocations: 1.5 kB / 452.7 MB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.865e-05/0.005057, allocations: 13.31 kB / 452.7 MB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.005066, allocations: 3.984 kB / 452.8 MB, free: 1.426 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.414e-05/0.00513, allocations: 110.5 kB / 452.9 MB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.005149, allocations: 7.938 kB / 452.9 MB, free: 1.301 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.005173, allocations: 9.438 kB / 452.9 MB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.005176, allocations: 0 / 452.9 MB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.005178, allocations: 7.938 kB / 452.9 MB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.005182, allocations: 4.609 kB / 452.9 MB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.947e-05/0.005272, allocations: 73.88 kB / 453 MB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005273, allocations: 3.312 kB / 453 MB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.739e-05/0.0053, allocations: 8 kB / 453 MB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.00531, allocations: 7.953 kB / 453 MB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.005312, allocations: 0 / 453 MB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.005317, allocations: 3.938 kB / 453 MB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.005318, allocations: 0 / 453 MB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.00532, allocations: 3.984 kB / 453 MB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.604e-05/0.005406, allocations: 132.1 kB / 453.1 MB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.005419, allocations: 0.5625 kB / 453.1 MB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.479e-05/0.005454, allocations: 7.938 kB / 453.1 MB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.005489, allocations: 18.36 kB / 453.1 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.005492, allocations: 0 / 453.1 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.141e-05/0.005513, allocations: 29.55 kB / 453.2 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005513, allocations: 4.688 kB / 453.2 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000137/0.00565, allocations: 8 kB / 453.2 MB, free: 0.9531 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 8.469e-05/0.005735, allocations: 81.61 kB / 453.3 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.898e-05/0.005804, allocations: 17.47 kB / 453.3 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.00581, allocations: 4 kB / 453.3 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.738e-05/0.005827, allocations: 9.422 kB / 453.3 MB, free: 0.832 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.005972, allocations: 24.5 kB / 453.3 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007109/0.006683, allocations: 184.2 kB / 453.5 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.268e-05/0.006716, allocations: 63.2 kB / 453.6 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.186e-05/0.006747, allocations: 9.703 kB / 453.6 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.006808, allocations: 55.38 kB / 453.6 MB, free: 476 kB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.006809, allocations: 0.9062 kB / 453.6 MB, free: 476 kB / 426.7 MB Notification: Performance of Templates: time 0.002615/0.009424, allocations: 0.9932 MB / 454.6 MB, free: 15.54 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.473771406337619]