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.001379/0.001379, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001546/0.001546, allocations: 173 kB / 23.49 MB, free: 1.059 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8407/0.8407, allocations: 154.8 MB / 415.1 MB, free: 496 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 179] 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 2.715e-06/2.715e-06, allocations: 0.9844 kB / 0.5206 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/3.058e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.156 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001463/0.001494, allocations: 0.8069 MB / 0.5214 GB, free: 1.379 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.002496, allocations: 0.9296 MB / 0.5223 GB, free: 448 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.002597, allocations: 4 kB / 0.5223 GB, free: 444 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.002719, allocations: 16.77 kB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.089e-05/0.00275, allocations: 7.875 kB / 0.5224 GB, free: 420 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.002955, allocations: 36.64 kB / 0.5224 GB, free: 384 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.003058, allocations: 75.78 kB / 0.5225 GB, free: 308 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.003158, allocations: 16.98 kB / 0.5225 GB, free: 292 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.003293, allocations: 47.89 kB / 0.5225 GB, free: 244 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.003351, allocations: 20.47 kB / 0.5226 GB, free: 224 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.003368, allocations: 12.44 kB / 0.5226 GB, free: 212 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.871e-05/0.003407, allocations: 12 kB / 0.5226 GB, free: 200 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.003421, allocations: 12.64 kB / 0.5226 GB, free: 188 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.003447, allocations: 23.92 kB / 0.5226 GB, free: 164 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.003566, allocations: 52.97 kB / 0.5227 GB, free: 112 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.003568, allocations: 0 / 0.5227 GB, free: 112 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003569, allocations: 0 / 0.5227 GB, free: 112 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.003572, allocations: 0.5625 kB / 0.5227 GB, free: 112 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.0004102/0.003983, allocations: 410.1 kB / 0.5231 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.004019, allocations: 8.031 kB / 0.5231 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.004145, allocations: 16.89 kB / 0.5231 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.004311, allocations: 150.1 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.004321, allocations: 8.312 kB / 0.5232 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.004331, allocations: 4.375 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.004446, allocations: 66.88 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-06/0.004453, allocations: 1.656 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.004463, allocations: 4.375 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.004469, allocations: 384 / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.894e-05/0.004508, allocations: 15.92 kB / 0.5233 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.004833, allocations: 300.3 kB / 0.5236 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.491e-05/0.004918, allocations: 48.55 kB / 0.5237 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.004941, allocations: 15.69 kB / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.004953, allocations: 0 / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.004974, allocations: 38.73 kB / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.004975, allocations: 0 / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001436/0.005119, allocations: 57.66 kB / 0.5238 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.005146, allocations: 52 kB / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/0.005235, allocations: 187.8 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.005251, allocations: 37.02 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.005305, allocations: 146.8 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.005319, allocations: 3.953 kB / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.005349, allocations: 27.31 kB / 0.5242 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.005457, allocations: 0.4923 MB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.005475, allocations: 4 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.155e-05/0.005487, allocations: 0 / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.415e-05/0.005521, allocations: 27.94 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005523, allocations: 0 / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.311e-05/0.005586, allocations: 50.12 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.005599, allocations: 4.531 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.005603, allocations: 0.5625 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.005615, allocations: 0 / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.552e-05/0.005671, allocations: 12.81 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.005676, allocations: 0 / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/0.005702, allocations: 13.41 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.005708, allocations: 0 / 0.5248 GB, free: 13.75 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.987e-05/0.005788, allocations: 160.6 kB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.005806, allocations: 12.83 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.00583, allocations: 8.344 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.005833, allocations: 6.719 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.005838, allocations: 0 / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.005841, allocations: 0 / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.005956, allocations: 136.5 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.005957, allocations: 0 / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.755e-05/0.005974, allocations: 3.984 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.005978, allocations: 3.938 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.005984, allocations: 4 kB / 0.5251 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.005985, allocations: 2.75 kB / 0.5251 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.005986, allocations: 0 / 0.5251 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.006096, allocations: 195.8 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.324e-05/0.006109, allocations: 11.94 kB / 0.5253 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.006128, allocations: 0 / 0.5253 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/0.006166, allocations: 11.92 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.006215, allocations: 7.984 kB / 0.5253 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.006218, allocations: 0.9375 kB / 0.5253 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.004e-05/0.006268, allocations: 145.2 kB / 0.5255 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006268, allocations: 0.9375 kB / 0.5255 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000149/0.006417, allocations: 15.94 kB / 0.5255 GB, free: 12.97 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 9.378e-05/0.006511, allocations: 98.44 kB / 0.5256 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.331e-05/0.006594, allocations: 27.67 kB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.006596, allocations: 0.5938 kB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.012e-05/0.006616, allocations: 17.03 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.006805, allocations: 8 kB / 0.5256 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.007258, allocations: 184.2 kB / 0.5258 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.61e-05/0.007294, allocations: 59.36 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.007323, allocations: 8.25 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.007356, allocations: 15.34 kB / 0.5259 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/0.007357, allocations: 0 / 0.5259 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.002445/0.009802, allocations: 0.9114 MB / 0.5268 GB, free: 11.62 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: 3.9865392569918185]