Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.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.00173/0.00173, allocations: 88.83 kB / 19.44 MB, free: 456 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.002149/0.002149, allocations: 157.3 kB / 22.75 MB, free: 1.785 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.514/1.514, allocations: 177.2 MB / 203.1 MB, free: 5.598 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.209/1.209, allocations: 154.8 MB / 414.4 MB, free: 452 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.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 3.938 kB / 0.5199 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.503e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Less): time 0.002037/0.002072, allocations: 0.8218 MB / 0.5207 GB, free: 1.395 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.003439, allocations: 0.9179 MB / 0.5216 GB, free: 476 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.332e-05/0.003522, allocations: 3.938 kB / 0.5216 GB, free: 472 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.003666, allocations: 16.86 kB / 0.5216 GB, free: 456 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.003713, allocations: 16.55 kB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.00392, allocations: 35.89 kB / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.004076, allocations: 105.5 kB / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.004209, allocations: 39.89 kB / 0.5218 GB, free: 260 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.004413, allocations: 67.75 kB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.025e-05/0.004483, allocations: 23.97 kB / 0.5219 GB, free: 168 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.004507, allocations: 12.44 kB / 0.5219 GB, free: 156 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.531e-05/0.004552, allocations: 13.23 kB / 0.5219 GB, free: 144 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.004574, allocations: 15.98 kB / 0.522 GB, free: 128 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.004621, allocations: 23.92 kB / 0.522 GB, free: 104 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.004825, allocations: 107.7 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.004827, allocations: 0.5312 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004827, allocations: 5 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.004832, allocations: 0 / 0.5221 GB, free: 15.99 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006842/0.005516, allocations: 339.2 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.005551, allocations: 8.031 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.00585, allocations: 33.5 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.006107, allocations: 144.5 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.006126, allocations: 8.375 kB / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.00615, allocations: 6.188 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.006411, allocations: 90.2 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.006419, allocations: 4.188 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.006434, allocations: 6.062 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.006439, allocations: 384 / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.006696, allocations: 76.56 kB / 0.5228 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.007235, allocations: 285.7 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.007484, allocations: 67.81 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.00761, allocations: 32.92 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.00763, allocations: 1.875 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.007665, allocations: 34.56 kB / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.007666, allocations: 0 / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0005036/0.00817, allocations: 123.6 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.008216, allocations: 51.41 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.008346, allocations: 136.3 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.00837, allocations: 25.7 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.008453, allocations: 100.6 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.008478, allocations: 15.91 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.008529, allocations: 22.23 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.008711, allocations: 323.8 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.008836, allocations: 31.92 kB / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.00895, allocations: 33.84 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.009173, allocations: 53.78 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.009175, allocations: 0 / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002849/0.00946, allocations: 100.8 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.009475, allocations: 4 kB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.009479, allocations: 0 / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.009498, allocations: 4 kB / 0.5242 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.009609, allocations: 11.98 kB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.009616, allocations: 3.984 kB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.009724, allocations: 22.91 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.009732, allocations: 0 / 0.5242 GB, free: 13.69 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 (5): * Single equations (assignments): 5 * 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.0001228/0.009855, allocations: 126 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.00989, allocations: 7.953 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/0.009929, allocations: 16.33 kB / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.009931, allocations: 0 / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.009935, allocations: 0 / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.00994, allocations: 5.5 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.01013, allocations: 125.2 kB / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.01013, allocations: 0 / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-05/0.01022, allocations: 12.48 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01022, allocations: 6.719 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.01023, allocations: 4 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01023, allocations: 0 / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01023, allocations: 0 / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.01057, allocations: 187.4 kB / 0.5247 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.01059, allocations: 11.94 kB / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.01062, allocations: 6.438 kB / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.01075, allocations: 11.98 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.01081, allocations: 15.97 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.01082, allocations: 4 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.745e-05/0.01091, allocations: 95.27 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01091, allocations: 1.469 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002327/0.01114, allocations: 16 kB / 0.5248 GB, free: 13 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 (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 Backend phase and start with SimCode phase: time 0.0001409/0.01128, allocations: 92.28 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.01158, allocations: 69 kB / 0.525 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01158, allocations: 3.938 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.0117, allocations: 33.38 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.01201, allocations: 24.88 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/0.01246, allocations: 184.5 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.019e-05/0.01255, allocations: 83.31 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.314e-05/0.01259, allocations: 6.172 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.01264, allocations: 12.5 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.01264, allocations: 0 / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.004058/0.0167, allocations: 1.083 MB / 0.5264 GB, free: 11.41 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.853263693978079]