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.0008071/0.0008071, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009352/0.0009352, allocations: 173 kB / 23.5 MB, free: 1.055 MB / 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 1.057/1.057, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.7702/0.7702, allocations: 154.6 MB / 414.9 MB, free: 0.6719 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 1.492e-06/1.492e-06, allocations: 0 / 0.5204 GB, free: 2.418 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.003e-05, allocations: 8.062 kB / 0.5204 GB, free: 2.41 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001298/0.001318, allocations: 0.8056 MB / 0.5212 GB, free: 1.625 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008704/0.002189, allocations: 0.9227 MB / 0.5221 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.002268, allocations: 7.938 kB / 0.5221 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.998e-05/0.002368, allocations: 7.875 kB / 0.5221 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.292e-05/0.002401, allocations: 17.58 kB / 0.5221 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.00258, allocations: 31.84 kB / 0.5222 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.773e-05/0.002678, allocations: 79.77 kB / 0.5222 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.002778, allocations: 15.98 kB / 0.5222 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.002906, allocations: 48.64 kB / 0.5223 GB, free: 500 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.727e-05/0.002964, allocations: 23.91 kB / 0.5223 GB, free: 476 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.002981, allocations: 9.406 kB / 0.5223 GB, free: 468 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.703e-05/0.003018, allocations: 8 kB / 0.5223 GB, free: 460 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.003032, allocations: 11.92 kB / 0.5223 GB, free: 448 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.003058, allocations: 19.94 kB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.003172, allocations: 53.09 kB / 0.5224 GB, free: 376 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.003174, allocations: 0 / 0.5224 GB, free: 376 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003175, allocations: 3.938 kB / 0.5224 GB, free: 372 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.003178, allocations: 0 / 0.5224 GB, free: 372 kB / 490.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.0006396/0.003818, allocations: 414 kB / 0.5228 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.00385, allocations: 8.031 kB / 0.5228 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.003961, allocations: 16.89 kB / 0.5228 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.004109, allocations: 146.7 kB / 0.523 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.004118, allocations: 4.375 kB / 0.523 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.004128, allocations: 8.359 kB / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.00423, allocations: 66.88 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-06/0.004235, allocations: 0.75 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.004244, allocations: 4.375 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.00425, allocations: 0.9375 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.973e-05/0.00429, allocations: 16.83 kB / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.004605, allocations: 308.1 kB / 0.5234 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.529e-05/0.00468, allocations: 36.5 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.004704, allocations: 19.77 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.004716, allocations: 0 / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.004737, allocations: 37.39 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.004737, allocations: 0.9375 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001279/0.004865, allocations: 53.67 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.004891, allocations: 56.94 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/0.004978, allocations: 187.8 kB / 0.5237 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.004992, allocations: 29.7 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.005044, allocations: 150.8 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.005057, allocations: 8.969 kB / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.005084, allocations: 23.38 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.005186, allocations: 0.4923 MB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.005203, allocations: 4.688 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.429e-05/0.005217, allocations: 7.984 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.695e-05/0.005244, allocations: 16.97 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.005246, allocations: 4 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.401e-05/0.0053, allocations: 53.56 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.005309, allocations: 4.625 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.005313, allocations: 0 / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.005322, allocations: 0.9688 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.823e-05/0.00536, allocations: 8 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.005364, allocations: 3.25 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.005389, allocations: 11.94 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.005393, allocations: 0 / 0.5245 GB, free: 14 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 5.579e-05/0.005449, allocations: 156.6 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.005465, allocations: 11.89 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.005485, allocations: 16.33 kB / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.005486, allocations: 0 / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.005489, allocations: 0 / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.005491, allocations: 3.359 kB / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.925e-05/0.00559, allocations: 132.6 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.005592, allocations: 7.922 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.237e-05/0.005604, allocations: 0 / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.005607, allocations: 7.938 kB / 0.5249 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.005613, allocations: 0 / 0.5249 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005614, allocations: 0 / 0.5249 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.005616, allocations: 3.984 kB / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.854e-05/0.005704, allocations: 193.4 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.005714, allocations: 15.92 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.005729, allocations: 0 / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.005765, allocations: 4 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.005808, allocations: 8.484 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.00581, allocations: 0.5 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.824e-05/0.005859, allocations: 151.6 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005859, allocations: 7.938 kB / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001411/0.006, allocations: 7.953 kB / 0.5252 GB, free: 13.23 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 6.538e-05/0.006065, allocations: 99.19 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.597e-05/0.006141, allocations: 27.67 kB / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.006142, allocations: 2.438 kB / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.917e-05/0.006162, allocations: 11.69 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.006339, allocations: 15.98 kB / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.006781, allocations: 187 kB / 0.5256 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.79e-05/0.006819, allocations: 59.34 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.503e-05/0.006844, allocations: 4 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.00687, allocations: 9.531 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.006871, allocations: 0 / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.002139/0.009011, allocations: 0.9159 MB / 0.5265 GB, free: 11.9 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.755906467093155]