Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001862/0.001862, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002368/0.002368, allocations: 163.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.512/1.512, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.192/1.192, allocations: 154.6 MB / 413.7 MB, free: 5.273 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.475e-05, allocations: 3.562 kB / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002049/0.002074, allocations: 0.7786 MB / 0.6194 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.003462, allocations: 0.9117 MB / 0.6202 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.956e-05/0.003552, allocations: 4 kB / 0.6203 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.003677, allocations: 11.81 kB / 0.6203 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.237e-05/0.003719, allocations: 11.86 kB / 0.6203 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.003975, allocations: 39.91 kB / 0.6203 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.004099, allocations: 67.78 kB / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.004227, allocations: 27.91 kB / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.004382, allocations: 51.78 kB / 0.6205 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.683e-05/0.004449, allocations: 23.95 kB / 0.6205 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.004468, allocations: 7.938 kB / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.834e-05/0.004506, allocations: 8 kB / 0.6205 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.004522, allocations: 8 kB / 0.6205 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.004553, allocations: 19.92 kB / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.004721, allocations: 87.72 kB / 0.6206 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.004724, allocations: 0 / 0.6206 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004725, allocations: 4 kB / 0.6206 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.004729, allocations: 0 / 0.6206 GB, free: 2.5 MB / 0.5294 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.0006312/0.00536, allocations: 317.9 kB / 0.6209 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.005398, allocations: 9.469 kB / 0.6209 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.005554, allocations: 16.88 kB / 0.6209 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.005825, allocations: 145.6 kB / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.005836, allocations: 4.375 kB / 0.6211 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.00585, allocations: 8.312 kB / 0.6211 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.006012, allocations: 66.17 kB / 0.6211 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.006022, allocations: 192 / 0.6211 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.006033, allocations: 384 / 0.6211 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.006037, allocations: 384 / 0.6211 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.006156, allocations: 39.91 kB / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004931/0.006649, allocations: 252.5 kB / 0.6214 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.006845, allocations: 46.56 kB / 0.6215 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.993e-05/0.006904, allocations: 24.94 kB / 0.6215 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.006927, allocations: 8.016 kB / 0.6215 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.006956, allocations: 38.5 kB / 0.6215 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.006957, allocations: 0 / 0.6215 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002649/0.007221, allocations: 69.62 kB / 0.6216 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.007275, allocations: 55.41 kB / 0.6217 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.007403, allocations: 143.9 kB / 0.6218 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.007425, allocations: 29.7 kB / 0.6218 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.007509, allocations: 100.1 kB / 0.6219 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.007525, allocations: 3.953 kB / 0.6219 GB, free: 1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.007568, allocations: 21.7 kB / 0.6219 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.007727, allocations: 318.8 kB / 0.6222 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-05/0.007786, allocations: 15.98 kB / 0.6223 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-05/0.007838, allocations: 19.92 kB / 0.6223 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.007944, allocations: 28.84 kB / 0.6223 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.007945, allocations: 0 / 0.6223 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001545/0.0081, allocations: 69.58 kB / 0.6224 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.008116, allocations: 8 kB / 0.6224 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.00812, allocations: 0 / 0.6224 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.008135, allocations: 3.984 kB / 0.6224 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.008199, allocations: 4 kB / 0.6224 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.008204, allocations: 0 / 0.6224 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.693e-05/0.008281, allocations: 7.984 kB / 0.6224 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.008289, allocations: 4 kB / 0.6224 GB, free: 496 kB / 0.5294 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.0001042/0.008393, allocations: 118.8 kB / 0.6225 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.008427, allocations: 15.89 kB / 0.6225 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.008461, allocations: 12.33 kB / 0.6225 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.008463, allocations: 0 / 0.6225 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.008466, allocations: 3.938 kB / 0.6225 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.008469, allocations: 0 / 0.6225 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.008627, allocations: 121.3 kB / 0.6227 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.00863, allocations: 3.984 kB / 0.6227 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.509e-05/0.008675, allocations: 7.938 kB / 0.6227 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.008677, allocations: 0 / 0.6227 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.008685, allocations: 0 / 0.6227 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.008688, allocations: 8 kB / 0.6227 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008689, allocations: 0 / 0.6227 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.008922, allocations: 155.5 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.008944, allocations: 19.83 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.008962, allocations: 0 / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.009072, allocations: 11.98 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.009131, allocations: 16.34 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.009136, allocations: 0 / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.538e-05/0.009221, allocations: 101.6 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009221, allocations: 3.938 kB / 0.623 GB, free: 15.83 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002349/0.009456, allocations: 16 kB / 0.623 GB, free: 15.82 MB / 0.545 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.0001174/0.009574, allocations: 95.23 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001641/0.009738, allocations: 35.97 kB / 0.6231 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.009739, allocations: 0 / 0.6231 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.009811, allocations: 19.94 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.01008, allocations: 15.97 kB / 0.6232 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.01048, allocations: 176.5 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.256e-05/0.01055, allocations: 71.33 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.01058, allocations: 4 kB / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.01062, allocations: 12.5 kB / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.01062, allocations: 0 / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of Templates: time 0.003832/0.01446, allocations: 0.9052 MB / 0.6243 GB, free: 14.46 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.870642337948084] Failed to read output from testmodel.py, exit status != 0: 0.02427605539560318 0.050913656 0.040816067000000004 Calling exit ...