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.001142/0.001142, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009848/0.0009848, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9051/0.9051, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.7824/0.7824, allocations: 154.9 MB / 415.1 MB, free: 272 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 1.753e-06/1.753e-06, allocations: 0 / 0.5212 GB, free: 388 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/2.012e-05, allocations: 8.609 kB / 0.5212 GB, free: 384 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001812/0.001832, allocations: 0.8002 MB / 0.522 GB, free: 15.6 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.003075, allocations: 0.9261 MB / 0.5229 GB, free: 14.66 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.003184, allocations: 9.375 kB / 0.5229 GB, free: 14.65 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.003326, allocations: 14.44 kB / 0.5229 GB, free: 14.64 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.174e-05/0.003368, allocations: 11.88 kB / 0.5229 GB, free: 14.63 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.003556, allocations: 28.75 kB / 0.5229 GB, free: 14.6 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.003664, allocations: 75.72 kB / 0.523 GB, free: 14.53 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.003764, allocations: 28.55 kB / 0.523 GB, free: 14.5 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.003919, allocations: 51.25 kB / 0.5231 GB, free: 14.45 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.173e-05/0.00398, allocations: 23.89 kB / 0.5231 GB, free: 14.43 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.003997, allocations: 8 kB / 0.5231 GB, free: 14.42 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.031e-05/0.004037, allocations: 8 kB / 0.5231 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.004051, allocations: 11.94 kB / 0.5231 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.004075, allocations: 23.91 kB / 0.5232 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.004176, allocations: 51.77 kB / 0.5232 GB, free: 14.33 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004178, allocations: 0 / 0.5232 GB, free: 14.33 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.004179, allocations: 0 / 0.5232 GB, free: 14.33 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.004183, allocations: 0.75 kB / 0.5232 GB, free: 14.33 MB / 458.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.000398/0.004581, allocations: 408.3 kB / 0.5236 GB, free: 13.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.004618, allocations: 8.594 kB / 0.5236 GB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.004746, allocations: 25.81 kB / 0.5236 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.004898, allocations: 150 kB / 0.5238 GB, free: 13.69 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.004907, allocations: 384 / 0.5238 GB, free: 13.69 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.004917, allocations: 4.375 kB / 0.5238 GB, free: 13.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.00502, allocations: 62.94 kB / 0.5238 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.005028, allocations: 5.062 kB / 0.5238 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.005036, allocations: 4.375 kB / 0.5238 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.005042, allocations: 2.375 kB / 0.5238 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.348e-05/0.005076, allocations: 15.92 kB / 0.5239 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.005369, allocations: 272.2 kB / 0.5241 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.176e-05/0.00545, allocations: 39.7 kB / 0.5242 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.005471, allocations: 11.84 kB / 0.5242 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.005487, allocations: 8.594 kB / 0.5242 GB, free: 13.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.00554, allocations: 41.33 kB / 0.5242 GB, free: 13.17 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.005542, allocations: 0.6562 kB / 0.5242 GB, free: 13.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001326/0.005674, allocations: 46.34 kB / 0.5243 GB, free: 13.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.005698, allocations: 55.41 kB / 0.5243 GB, free: 13.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.0058, allocations: 198.1 kB / 0.5245 GB, free: 12.85 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.005818, allocations: 29.7 kB / 0.5245 GB, free: 12.81 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.005876, allocations: 142.9 kB / 0.5247 GB, free: 12.67 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.005892, allocations: 7.938 kB / 0.5247 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.005926, allocations: 20.16 kB / 0.5247 GB, free: 12.63 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.006053, allocations: 0.4961 MB / 0.5252 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.006067, allocations: 0.875 kB / 0.5252 GB, free: 12.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.425e-05/0.006081, allocations: 7.984 kB / 0.5252 GB, free: 12.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.006115, allocations: 18.72 kB / 0.5252 GB, free: 12.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.006118, allocations: 8 kB / 0.5252 GB, free: 12.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.875e-05/0.006197, allocations: 53.52 kB / 0.5253 GB, free: 12.03 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.006208, allocations: 4 kB / 0.5253 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.006212, allocations: 0 / 0.5253 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.006225, allocations: 4 kB / 0.5253 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.14e-05/0.006266, allocations: 0 / 0.5253 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.006269, allocations: 0 / 0.5253 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.006306, allocations: 8.484 kB / 0.5253 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.006314, allocations: 9.094 kB / 0.5253 GB, free: 12.01 MB / 458.7 MB 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 6.9e-05/0.006383, allocations: 152.6 kB / 0.5254 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.006411, allocations: 12.39 kB / 0.5254 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.006446, allocations: 12.34 kB / 0.5255 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006448, allocations: 0.9688 kB / 0.5255 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.00645, allocations: 3.984 kB / 0.5255 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.006453, allocations: 0.9688 kB / 0.5255 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.914e-05/0.006542, allocations: 109.2 kB / 0.5256 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.006543, allocations: 0 / 0.5256 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.006561, allocations: 8.875 kB / 0.5256 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.006562, allocations: 0 / 0.5256 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.006566, allocations: 4.719 kB / 0.5256 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.006568, allocations: 7.938 kB / 0.5256 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.006569, allocations: 0.9688 kB / 0.5256 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.446e-05/0.006653, allocations: 195.9 kB / 0.5258 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-06/0.006662, allocations: 7.953 kB / 0.5258 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.006674, allocations: 5.219 kB / 0.5258 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.702e-05/0.006711, allocations: 7.938 kB / 0.5258 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.006739, allocations: 11.97 kB / 0.5258 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.006742, allocations: 0.625 kB / 0.5258 GB, free: 11.42 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.281e-05/0.006825, allocations: 140.9 kB / 0.5259 GB, free: 11.28 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006825, allocations: 0 / 0.5259 GB, free: 11.28 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001295/0.006954, allocations: 8 kB / 0.526 GB, free: 11.27 MB / 458.7 MB 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 6.219e-05/0.007017, allocations: 96.88 kB / 0.526 GB, free: 11.17 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.788e-05/0.007075, allocations: 31.59 kB / 0.5261 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.02e-07/0.007075, allocations: 0 / 0.5261 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.8e-05/0.007093, allocations: 19.66 kB / 0.5261 GB, free: 11.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.007246, allocations: 13.88 kB / 0.5261 GB, free: 11.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.007576, allocations: 190.4 kB / 0.5263 GB, free: 10.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.05e-05/0.007607, allocations: 63.34 kB / 0.5263 GB, free: 10.81 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.986e-05/0.007627, allocations: 0 / 0.5263 GB, free: 10.81 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.007678, allocations: 87.84 kB / 0.5264 GB, free: 10.72 MB / 458.7 MB Notification: Performance of SimCode: time 6.52e-07/0.007678, allocations: 0 / 0.5264 GB, free: 10.72 MB / 458.7 MB Notification: Performance of Templates: time 0.002121/0.009799, allocations: 0.9958 MB / 0.5274 GB, free: 9.785 MB / 458.7 MB " [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.4675886379554868]