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.001792/0.001792, allocations: 85.48 kB / 19.44 MB, free: 344 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.002038/0.002038, allocations: 177.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.664/1.664, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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-535:34: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-535:42: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.4/1.4, allocations: 154.8 MB / 414.3 MB, free: 472 kB / 378.7 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.904e-06/1.904e-06, allocations: 0 / 0.5199 GB, free: 2.262 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.158e-05/3.348e-05, allocations: 6.141 kB / 0.5199 GB, free: 2.258 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002068/0.002102, allocations: 0.8103 MB / 0.5207 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.003473, allocations: 0.9094 MB / 0.5216 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.369e-05/0.003556, allocations: 7.938 kB / 0.5216 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.003693, allocations: 11.81 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.003739, allocations: 16.92 kB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.003938, allocations: 27.91 kB / 0.5217 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.004069, allocations: 76.33 kB / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.004188, allocations: 20.55 kB / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.00437, allocations: 52.77 kB / 0.5218 GB, free: 356 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.361e-05/0.004454, allocations: 19.92 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.004477, allocations: 4 kB / 0.5218 GB, free: 332 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.455e-05/0.004522, allocations: 9.469 kB / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.004549, allocations: 15.92 kB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.004585, allocations: 19.92 kB / 0.5219 GB, free: 288 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.00477, allocations: 91.66 kB / 0.5219 GB, free: 196 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.004772, allocations: 0.9688 kB / 0.5219 GB, free: 196 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004773, allocations: 0 / 0.5219 GB, free: 196 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.004777, allocations: 2.031 kB / 0.522 GB, free: 196 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.0006724/0.00545, allocations: 408 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.005488, allocations: 8.031 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.005652, allocations: 16.89 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.00591, allocations: 155.6 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.005923, allocations: 1.188 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.005933, allocations: 4.375 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.006094, allocations: 63.23 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.006103, allocations: 192 / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.006112, allocations: 384 / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.006121, allocations: 5.812 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.00624, allocations: 35.86 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.00676, allocations: 308.5 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.006941, allocations: 59.92 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.006994, allocations: 19.62 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.007014, allocations: 3.031 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.007048, allocations: 41.33 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.007049, allocations: 0 / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002756/0.007325, allocations: 73.72 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.007371, allocations: 55.34 kB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.007563, allocations: 201.9 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.007586, allocations: 25.7 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.007698, allocations: 150.8 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.007717, allocations: 8.453 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.007771, allocations: 28.11 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002761/0.008047, allocations: 0.4884 MB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.489e-05/0.008102, allocations: 16.83 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.93e-05/0.008141, allocations: 12 kB / 0.5241 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.008493, allocations: 36.91 kB / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.008495, allocations: 0 / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001497/0.008645, allocations: 70.23 kB / 0.5242 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.00866, allocations: 8 kB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.008664, allocations: 0.9375 kB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.008679, allocations: 0 / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.073e-05/0.00874, allocations: 8.484 kB / 0.5242 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.008744, allocations: 0 / 0.5242 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.551e-05/0.008799, allocations: 8.984 kB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.008806, allocations: 0 / 0.5242 GB, free: 13.71 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.0001359/0.008942, allocations: 165.8 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.008976, allocations: 11.92 kB / 0.5244 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.009011, allocations: 12.97 kB / 0.5244 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.009012, allocations: 0 / 0.5244 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.009015, allocations: 1.531 kB / 0.5244 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.009018, allocations: 0 / 0.5244 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.009227, allocations: 144.6 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.009228, allocations: 0 / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.009267, allocations: 4.906 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.009272, allocations: 3.938 kB / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.00928, allocations: 0 / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.009282, allocations: 1 kB / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.009282, allocations: 0 / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.009522, allocations: 211.3 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.009541, allocations: 15.83 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.00956, allocations: 4 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.009643, allocations: 7.984 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.009698, allocations: 7.984 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.009703, allocations: 0 / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001165/0.009819, allocations: 154.8 kB / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009819, allocations: 0 / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002136/0.01003, allocations: 15.89 kB / 0.5249 GB, free: 12.91 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.0001353/0.01017, allocations: 102.1 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.01032, allocations: 39.61 kB / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.01033, allocations: 4 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.701e-05/0.01038, allocations: 19.69 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.01064, allocations: 13.55 kB / 0.5251 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.01105, allocations: 177.8 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.232e-05/0.01115, allocations: 78.95 kB / 0.5253 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.288e-05/0.01119, allocations: 14.48 kB / 0.5253 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.01123, allocations: 12.48 kB / 0.5254 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.01123, allocations: 0 / 0.5254 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.003958/0.01519, allocations: 0.9028 MB / 0.5262 GB, free: 11.53 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.1256043129833415]