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.001366/0.001366, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001471/0.001471, allocations: 169 kB / 23.02 MB, free: 1.551 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.083/1.083, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7853/0.7853, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.442e-06/1.442e-06, allocations: 0 / 0.5204 GB, free: 2.121 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.079e-05, allocations: 4 kB / 0.5204 GB, free: 2.117 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001355/0.001376, allocations: 0.8076 MB / 0.5212 GB, free: 1.332 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.002377, allocations: 0.926 MB / 0.5221 GB, free: 404 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.002492, allocations: 7.938 kB / 0.5221 GB, free: 396 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.002634, allocations: 12.42 kB / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.701e-05/0.002671, allocations: 16.55 kB / 0.5221 GB, free: 368 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.002875, allocations: 29.19 kB / 0.5221 GB, free: 340 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.985e-05/0.002975, allocations: 79.66 kB / 0.5222 GB, free: 260 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.003081, allocations: 19.97 kB / 0.5222 GB, free: 240 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.003214, allocations: 48.53 kB / 0.5223 GB, free: 192 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.27e-05/0.003277, allocations: 21.72 kB / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.003296, allocations: 8 kB / 0.5223 GB, free: 164 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.959e-05/0.003335, allocations: 8 kB / 0.5223 GB, free: 156 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.003351, allocations: 11.92 kB / 0.5223 GB, free: 144 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.003377, allocations: 23.92 kB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.003496, allocations: 49.48 kB / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003498, allocations: 0 / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.003499, allocations: 0 / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.003503, allocations: 3.938 kB / 0.5224 GB, free: 68 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.0004095/0.003912, allocations: 413.7 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.003948, allocations: 8.031 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.004065, allocations: 20.88 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.004239, allocations: 145.7 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.00425, allocations: 4.375 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.004263, allocations: 5.844 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.004378, allocations: 70.88 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.004388, allocations: 192 / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.004397, allocations: 1.719 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.004406, allocations: 384 / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.915e-05/0.004445, allocations: 23.91 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.004781, allocations: 303.1 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.61e-05/0.004867, allocations: 43.05 kB / 0.5234 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.004889, allocations: 15.69 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.004905, allocations: 0 / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.00493, allocations: 37.39 kB / 0.5234 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.004931, allocations: 0 / 0.5234 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001574/0.005089, allocations: 53.77 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.00512, allocations: 51.41 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.005227, allocations: 193.6 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.005244, allocations: 33.69 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.005306, allocations: 143.4 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.005323, allocations: 12.38 kB / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.005358, allocations: 27.36 kB / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.005492, allocations: 0.4893 MB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.005512, allocations: 7.984 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.262e-05/0.005525, allocations: 1.469 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.00556, allocations: 19.69 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.005562, allocations: 0 / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.207e-05/0.005634, allocations: 57.56 kB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.005648, allocations: 5.5 kB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.005653, allocations: 0 / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.005669, allocations: 0 / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.495e-05/0.005724, allocations: 7.984 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.005729, allocations: 2.469 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.005755, allocations: 7.953 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.005761, allocations: 0 / 0.5245 GB, free: 13.7 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.769e-05/0.005839, allocations: 156.6 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.005861, allocations: 19.88 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.00589, allocations: 11.09 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.005892, allocations: 4 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.005897, allocations: 0 / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.0059, allocations: 0 / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.00602, allocations: 136.5 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.006021, allocations: 0 / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-05/0.006036, allocations: 3.938 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.006039, allocations: 3.938 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.006046, allocations: 5.188 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006047, allocations: 0 / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006048, allocations: 0 / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.006159, allocations: 197.1 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.00617, allocations: 7.984 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.006189, allocations: 3.984 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.006227, allocations: 8.938 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.006275, allocations: 15.97 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.006278, allocations: 0.6562 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.113e-05/0.006329, allocations: 141.2 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006329, allocations: 1.156 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001467/0.006476, allocations: 15.89 kB / 0.5252 GB, free: 12.93 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 8.108e-05/0.006557, allocations: 101.6 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.827e-05/0.006645, allocations: 27.67 kB / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.006646, allocations: 0 / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.006669, allocations: 15.67 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.006861, allocations: 11.09 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.007326, allocations: 181.4 kB / 0.5255 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.392e-05/0.00737, allocations: 67.86 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.007395, allocations: 0 / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.007431, allocations: 20.14 kB / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.007431, allocations: 0 / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.002469/0.009901, allocations: 0.9106 MB / 0.5265 GB, free: 11.6 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.92834166996181]