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.0013/0.0013, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001531/0.001531, allocations: 169 kB / 24.05 MB, free: 460 kB / 18.57 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.9339/0.9339, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.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.7943/0.7943, allocations: 154.6 MB / 415.6 MB, free: 0.5352 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. " [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.665e-06/2.665e-06, allocations: 0 / 0.5216 GB, free: 1.844 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/3.042e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.004773/0.004804, allocations: 0.7932 MB / 0.5224 GB, free: 1.07 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.005925, allocations: 0.9348 MB / 0.5233 GB, free: 128 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.006029, allocations: 7.938 kB / 0.5233 GB, free: 120 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.006159, allocations: 15.81 kB / 0.5233 GB, free: 104 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.7e-05/0.006196, allocations: 7.875 kB / 0.5233 GB, free: 96 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.006377, allocations: 29.78 kB / 0.5233 GB, free: 68 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.006492, allocations: 71.83 kB / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.006597, allocations: 27.86 kB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.006749, allocations: 51.81 kB / 0.5235 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.006811, allocations: 21.58 kB / 0.5235 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.006828, allocations: 8 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.881e-05/0.006867, allocations: 8 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.006883, allocations: 11.98 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.006907, allocations: 20.67 kB / 0.5236 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.007023, allocations: 55.75 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.007026, allocations: 1.406 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.007027, allocations: 0 / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.007032, allocations: 0 / 0.5236 GB, free: 15.8 MB / 0.4948 GB 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.0003795/0.007411, allocations: 400.3 kB / 0.524 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.007444, allocations: 13.38 kB / 0.524 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/0.01059, allocations: 16.89 kB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.01076, allocations: 153.7 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.01077, allocations: 8.312 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.01078, allocations: 8.375 kB / 0.5242 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.01089, allocations: 61.59 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.0109, allocations: 192 / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.0109, allocations: 384 / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.01091, allocations: 4.375 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.319e-05/0.01094, allocations: 15.86 kB / 0.5243 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.01136, allocations: 276.8 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.458e-05/0.01145, allocations: 44.11 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.01147, allocations: 11.69 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.01148, allocations: 4 kB / 0.5246 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.0115, allocations: 38.92 kB / 0.5246 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 4.959e-06/0.01151, allocations: 3.984 kB / 0.5246 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001415/0.01165, allocations: 49.67 kB / 0.5247 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.01167, allocations: 51.41 kB / 0.5247 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/0.01177, allocations: 201 kB / 0.5249 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.01178, allocations: 25.7 kB / 0.5249 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.01184, allocations: 148.2 kB / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.01186, allocations: 7.953 kB / 0.5251 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.01189, allocations: 23.36 kB / 0.5251 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.01201, allocations: 496.1 kB / 0.5256 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.01203, allocations: 9.141 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.25e-05/0.01204, allocations: 4 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.01207, allocations: 15.69 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01208, allocations: 4.688 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.327e-05/0.01215, allocations: 53.56 kB / 0.5257 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.01216, allocations: 5.281 kB / 0.5257 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.01217, allocations: 0 / 0.5257 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.345e-06/0.01217, allocations: 0 / 0.5257 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.943e-05/0.01222, allocations: 11.23 kB / 0.5257 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-06/0.01223, allocations: 0 / 0.5257 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.01226, allocations: 11.95 kB / 0.5257 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.01226, allocations: 0 / 0.5257 GB, free: 13.48 MB / 0.4948 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 (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.632e-05/0.01234, allocations: 156.6 kB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.01237, allocations: 15.88 kB / 0.5259 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.169e-05/0.01239, allocations: 8.344 kB / 0.5259 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01239, allocations: 7.938 kB / 0.5259 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.01239, allocations: 2.844 kB / 0.5259 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.01239, allocations: 0 / 0.5259 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.01252, allocations: 117.2 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01252, allocations: 0 / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/0.01255, allocations: 7.984 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01255, allocations: 0 / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.01255, allocations: 0 / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.01256, allocations: 7.875 kB / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01256, allocations: 1.469 kB / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.01267, allocations: 191.9 kB / 0.5262 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.01268, allocations: 0 / 0.5262 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.0127, allocations: 8 kB / 0.5262 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.83e-05/0.01275, allocations: 12.42 kB / 0.5262 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.01279, allocations: 6.141 kB / 0.5262 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.01279, allocations: 4 kB / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.01284, allocations: 137 kB / 0.5263 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01284, allocations: 0 / 0.5263 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001997/0.01304, allocations: 11.95 kB / 0.5264 GB, free: 12.75 MB / 0.4948 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 (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.0001109/0.01315, allocations: 102 kB / 0.5265 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.616e-05/0.01323, allocations: 31.58 kB / 0.5265 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.01323, allocations: 0 / 0.5265 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.319e-05/0.01325, allocations: 15.69 kB / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/0.01651, allocations: 14.09 kB / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.01698, allocations: 189.3 kB / 0.5267 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.846e-05/0.01702, allocations: 56.73 kB / 0.5267 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.01706, allocations: 9.016 kB / 0.5268 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.731e-05/0.01712, allocations: 79.12 kB / 0.5268 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/0.01713, allocations: 0 / 0.5268 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.006142/0.02327, allocations: 1.011 MB / 0.5278 GB, free: 11.25 MB / 0.4948 GB " [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.680545381270349]