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.00226/0.00226, allocations: 93.47 kB / 19.44 MB, free: 332 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.00276/0.00276, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.601/1.601, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.359/1.359, allocations: 154.6 MB / 414.1 MB, free: 0.625 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 178] 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 3.066e-06/3.066e-06, allocations: 0 / 0.5197 GB, free: 2.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.399e-05, allocations: 6.25 kB / 0.5197 GB, free: 2.469 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.00212/0.002154, allocations: 0.7992 MB / 0.5205 GB, free: 1.695 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.003531, allocations: 0.9067 MB / 0.5214 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.636e-05/0.003607, allocations: 4 kB / 0.5214 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.003734, allocations: 10.66 kB / 0.5214 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.174e-05/0.003776, allocations: 15.86 kB / 0.5214 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.003968, allocations: 35.78 kB / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.004103, allocations: 79.77 kB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.004209, allocations: 19.98 kB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.004384, allocations: 43.89 kB / 0.5216 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.09e-05/0.004465, allocations: 28.47 kB / 0.5216 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.004486, allocations: 4 kB / 0.5216 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.169e-05/0.004528, allocations: 8.969 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.004548, allocations: 11.92 kB / 0.5216 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.004587, allocations: 21.56 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.004765, allocations: 91.58 kB / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.004768, allocations: 0 / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.004769, allocations: 4 kB / 0.5217 GB, free: 420 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.004774, allocations: 0 / 0.5217 GB, free: 420 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.0006305/0.005404, allocations: 405.1 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.005443, allocations: 13.42 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.005607, allocations: 20.89 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.005845, allocations: 146.8 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.005858, allocations: 4.375 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.005874, allocations: 4.375 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.006028, allocations: 62.86 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.006036, allocations: 192 / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.00605, allocations: 5.656 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.006057, allocations: 4.125 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.904e-05/0.006156, allocations: 27.98 kB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.006862, allocations: 316.9 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.007023, allocations: 51.75 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.007079, allocations: 23.73 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.007097, allocations: 1.844 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.00713, allocations: 37.42 kB / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.007131, allocations: 0 / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002599/0.007391, allocations: 65.67 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.00744, allocations: 57.12 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.007628, allocations: 207.9 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.007652, allocations: 25.7 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.007759, allocations: 154.7 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.007776, allocations: 9.328 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.007828, allocations: 27.38 kB / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002763/0.008105, allocations: 0.4923 MB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/0.00816, allocations: 11.98 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.843e-05/0.008198, allocations: 12.5 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.046e-05/0.008278, allocations: 32.64 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.008283, allocations: 4 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001462/0.008429, allocations: 67.12 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.008442, allocations: 4 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.008446, allocations: 0 / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.008463, allocations: 4.5 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.008523, allocations: 4 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.008531, allocations: 6.047 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.008585, allocations: 7.953 kB / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.008597, allocations: 7.984 kB / 0.524 GB, free: 13.93 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 0.0001329/0.00873, allocations: 168.5 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.00876, allocations: 10.38 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.008796, allocations: 12.33 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.008797, allocations: 0 / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.008801, allocations: 0 / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.008803, allocations: 4 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.008992, allocations: 140.6 kB / 0.5243 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.008996, allocations: 4 kB / 0.5243 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.009033, allocations: 6.125 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.009041, allocations: 0 / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.009049, allocations: 0 / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.00905, allocations: 4 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.009051, allocations: 0 / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.009281, allocations: 205 kB / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.009299, allocations: 7.891 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.009319, allocations: 7.938 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.009397, allocations: 8.922 kB / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.009453, allocations: 7.984 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.009458, allocations: 7.219 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001133/0.009571, allocations: 149.4 kB / 0.5247 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.009571, allocations: 3.938 kB / 0.5247 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002099/0.009781, allocations: 15.89 kB / 0.5247 GB, free: 13.13 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.0001418/0.009923, allocations: 99.23 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.01009, allocations: 39.67 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.01009, allocations: 2.781 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.469e-05/0.01016, allocations: 27.62 kB / 0.5248 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.01041, allocations: 11.92 kB / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.01081, allocations: 184.3 kB / 0.525 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.167e-05/0.01089, allocations: 74.61 kB / 0.5251 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.812e-05/0.01094, allocations: 7.75 kB / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.01099, allocations: 13.78 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.01099, allocations: 0 / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.003929/0.01491, allocations: 0.9111 MB / 0.526 GB, free: 11.76 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: 6.137241727905348]