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.001402/0.001402, allocations: 85.84 kB / 19.16 MB, free: 2.535 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.001972/0.001972, allocations: 169.3 kB / 22.44 MB, free: 5.336 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.588/1.588, allocations: 177.2 MB / 202.8 MB, free: 9.191 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.257/1.257, allocations: 155 MB / 414.2 MB, free: 4.953 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 66.47 kB / 0.6192 GB, free: 4.117 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.531/0.5335, allocations: 102 MB / 0.7188 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001762/0.5352, allocations: 0.7871 MB / 0.7196 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008851/0.5361, allocations: 0.9084 MB / 0.7205 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.508e-05/0.5362, allocations: 6.125 kB / 0.7205 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.5363, allocations: 11.41 kB / 0.7205 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.535e-05/0.5364, allocations: 14.11 kB / 0.7205 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.5365, allocations: 39.08 kB / 0.7205 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.5366, allocations: 68.59 kB / 0.7206 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.5367, allocations: 22.23 kB / 0.7206 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.5369, allocations: 56.81 kB / 0.7207 GB, free: 488 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.308e-05/0.5369, allocations: 24.45 kB / 0.7207 GB, free: 476 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.537, allocations: 5.75 kB / 0.7207 GB, free: 476 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.049e-05/0.537, allocations: 12.84 kB / 0.7207 GB, free: 472 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.537, allocations: 12.52 kB / 0.7207 GB, free: 464 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.537, allocations: 27.52 kB / 0.7207 GB, free: 444 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.5372, allocations: 90.66 kB / 0.7208 GB, free: 404 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.5372, allocations: 0 / 0.7208 GB, free: 404 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5372, allocations: 0 / 0.7208 GB, free: 404 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5372, allocations: 1 kB / 0.7208 GB, free: 404 kB / 0.6075 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.0004078/0.5376, allocations: 319.8 kB / 0.7211 GB, free: 96 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.5376, allocations: 10.95 kB / 0.7211 GB, free: 96 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.5378, allocations: 21.11 kB / 0.7212 GB, free: 88 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.538, allocations: 153.5 kB / 0.7213 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.538, allocations: 2.5 kB / 0.7213 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.538, allocations: 3.938 kB / 0.7213 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.5382, allocations: 62.91 kB / 0.7214 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.5382, allocations: 192 / 0.7214 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.5382, allocations: 4.969 kB / 0.7214 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5382, allocations: 1.797 kB / 0.7214 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.5383, allocations: 34.8 kB / 0.7214 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.5388, allocations: 252.9 kB / 0.7217 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.539, allocations: 46.47 kB / 0.7217 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.628e-05/0.539, allocations: 19.36 kB / 0.7217 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.5391, allocations: 0 / 0.7217 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.5391, allocations: 32.55 kB / 0.7218 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.5391, allocations: 0 / 0.7218 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0002524/0.5393, allocations: 80.31 kB / 0.7218 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.5394, allocations: 57.33 kB / 0.7219 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.5395, allocations: 140.2 kB / 0.722 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.5395, allocations: 25.7 kB / 0.722 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.5396, allocations: 107.5 kB / 0.7221 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.5396, allocations: 9.891 kB / 0.7222 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.5396, allocations: 19.52 kB / 0.7222 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5398, allocations: 323.8 kB / 0.7225 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.335e-05/0.5398, allocations: 14.72 kB / 0.7225 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.5399, allocations: 14.94 kB / 0.7225 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.174e-05/0.54, allocations: 30.38 kB / 0.7225 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.54, allocations: 0 / 0.7225 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001452/0.5401, allocations: 66.42 kB / 0.7226 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.5401, allocations: 5.875 kB / 0.7226 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.5401, allocations: 0.5625 kB / 0.7226 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.5402, allocations: 5.344 kB / 0.7226 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.838e-05/0.5402, allocations: 3.891 kB / 0.7226 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5402, allocations: 1.844 kB / 0.7226 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.006e-05/0.5403, allocations: 17.7 kB / 0.7226 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.5403, allocations: 9.281 kB / 0.7226 GB, free: 14.77 MB / 0.6231 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 9.567e-05/0.5404, allocations: 120.5 kB / 0.7228 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.5404, allocations: 10.67 kB / 0.7228 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.5405, allocations: 12.31 kB / 0.7228 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5405, allocations: 0 / 0.7228 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.5405, allocations: 0.7031 kB / 0.7228 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5405, allocations: 1.125 kB / 0.7228 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.5406, allocations: 122.8 kB / 0.7229 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5406, allocations: 1.469 kB / 0.7229 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.5407, allocations: 4.141 kB / 0.7229 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5407, allocations: 4.891 kB / 0.7229 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.5407, allocations: 1.188 kB / 0.7229 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.5407, allocations: 0.75 kB / 0.7229 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5407, allocations: 1.406 kB / 0.7229 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.5409, allocations: 163.4 kB / 0.7231 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.5409, allocations: 7.062 kB / 0.7231 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.5409, allocations: 2.188 kB / 0.7231 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.541, allocations: 9.406 kB / 0.7231 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.5411, allocations: 12.17 kB / 0.7231 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.5411, allocations: 5.875 kB / 0.7231 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.916e-05/0.5411, allocations: 104.9 kB / 0.7232 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.5411, allocations: 0 / 0.7232 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002158/0.5414, allocations: 11.75 kB / 0.7232 GB, free: 14.24 MB / 0.6231 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.0001064/0.5415, allocations: 94.64 kB / 0.7233 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.5416, allocations: 37.77 kB / 0.7233 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5416, allocations: 0 / 0.7233 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 5.627e-05/0.5417, allocations: 16.95 kB / 0.7234 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.5419, allocations: 17.52 kB / 0.7234 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.5424, allocations: 169.5 kB / 0.7235 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.517e-05/0.5424, allocations: 77.7 kB / 0.7236 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.5425, allocations: 5.297 kB / 0.7236 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.5425, allocations: 16.42 kB / 0.7236 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.5425, allocations: 0 / 0.7236 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of Templates: time 0.004275/0.5468, allocations: 0.9131 MB / 0.7245 GB, free: 13.78 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.374519534409046] Failed to read output from testmodel.py, exit status != 0: 0.5562066826969385 0.570680162 0.030367028 Calling exit ...