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.001104/0.001104, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001247/0.001247, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.002/1.002, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.8117/0.8117, allocations: 154.9 MB / 415.9 MB, free: 252 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.424e-06/2.424e-06, allocations: 0 / 0.522 GB, free: 1.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.875e-05, allocations: 4.281 kB / 0.522 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001942/0.001971, allocations: 0.7972 MB / 0.5227 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.002993, allocations: 0.9372 MB / 0.5237 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.003097, allocations: 0.8438 kB / 0.5237 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.003219, allocations: 11.88 kB / 0.5237 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.646e-05/0.003256, allocations: 8.844 kB / 0.5237 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.003422, allocations: 27.91 kB / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.003528, allocations: 84.67 kB / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.00363, allocations: 19.98 kB / 0.5238 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.003762, allocations: 48.42 kB / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.003823, allocations: 24.88 kB / 0.5239 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.003838, allocations: 4 kB / 0.5239 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.784e-05/0.003876, allocations: 12 kB / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.003894, allocations: 17.67 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.003916, allocations: 19.92 kB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.004028, allocations: 51.75 kB / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.00403, allocations: 4 kB / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004031, allocations: 0.5625 kB / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.004035, allocations: 0 / 0.524 GB, free: 15.43 MB / 0.4948 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.0003701/0.004405, allocations: 404.8 kB / 0.5244 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.004437, allocations: 9.062 kB / 0.5244 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.004553, allocations: 16.89 kB / 0.5244 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.004706, allocations: 153.6 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.004716, allocations: 5 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.004724, allocations: 4.375 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.539e-05/0.00482, allocations: 64.47 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.004826, allocations: 192 / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.004834, allocations: 384 / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.004839, allocations: 384 / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.12e-05/0.00487, allocations: 20.73 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.005154, allocations: 277.3 kB / 0.5249 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.941e-05/0.005234, allocations: 43.08 kB / 0.5249 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.005251, allocations: 12.84 kB / 0.5249 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.005262, allocations: 0 / 0.5249 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.005284, allocations: 45.31 kB / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.005285, allocations: 0.9062 kB / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001268/0.005412, allocations: 49.73 kB / 0.525 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.005439, allocations: 51.94 kB / 0.5251 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.867e-05/0.005527, allocations: 191.8 kB / 0.5253 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.005543, allocations: 26.42 kB / 0.5253 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.0056, allocations: 150.8 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.005613, allocations: 4.703 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.005649, allocations: 27.36 kB / 0.5255 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.005765, allocations: 0.4927 MB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.00578, allocations: 8.828 kB / 0.526 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.005792, allocations: 4 kB / 0.526 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.049e-05/0.005822, allocations: 14.59 kB / 0.526 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005824, allocations: 0 / 0.526 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.573e-05/0.0059, allocations: 49.62 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.005912, allocations: 8 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.005916, allocations: 3.938 kB / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.005925, allocations: 0 / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.742e-05/0.005973, allocations: 7.984 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.005975, allocations: 0 / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.345e-05/0.006008, allocations: 13.05 kB / 0.5261 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.006013, allocations: 0 / 0.5261 GB, free: 13.11 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 6.703e-05/0.00608, allocations: 157.1 kB / 0.5262 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.006103, allocations: 8.5 kB / 0.5262 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.006125, allocations: 12.66 kB / 0.5262 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.006127, allocations: 0.9375 kB / 0.5262 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006128, allocations: 0 / 0.5262 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006132, allocations: 5.422 kB / 0.5262 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.006253, allocations: 125.1 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006254, allocations: 0 / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.792e-05/0.006272, allocations: 4 kB / 0.5264 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.006273, allocations: 1.5 kB / 0.5264 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.006279, allocations: 3.984 kB / 0.5264 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.006281, allocations: 3.938 kB / 0.5264 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.006281, allocations: 0 / 0.5264 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.006385, allocations: 192.4 kB / 0.5265 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-06/0.006395, allocations: 7.953 kB / 0.5266 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.006409, allocations: 1.219 kB / 0.5266 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.765e-05/0.006467, allocations: 11.92 kB / 0.5266 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.006503, allocations: 11.98 kB / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.006507, allocations: 2.75 kB / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.006554, allocations: 135.2 kB / 0.5267 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006554, allocations: 0 / 0.5267 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001978/0.006752, allocations: 11.95 kB / 0.5267 GB, free: 12.38 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.0001007/0.006852, allocations: 99.23 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.392e-05/0.006926, allocations: 33.98 kB / 0.5268 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.006928, allocations: 0 / 0.5268 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.436e-05/0.006952, allocations: 19.67 kB / 0.5269 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.007174, allocations: 5.875 kB / 0.5269 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.007599, allocations: 178.5 kB / 0.527 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.824e-05/0.007637, allocations: 60.34 kB / 0.5271 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.007669, allocations: 8.641 kB / 0.5271 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.007733, allocations: 77.64 kB / 0.5272 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.007733, allocations: 0 / 0.5272 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.002883/0.01062, allocations: 1.017 MB / 0.5282 GB, free: 10.88 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.890039303805679]