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.0009186/0.0009186, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001103/0.001103, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8618/0.8618, allocations: 177.1 MB / 203.5 MB, free: 5.75 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-531:190: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-531:198: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.6734/0.6734, allocations: 154.5 MB / 414.5 MB, free: 0.8633 MB / 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.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.695e-06/2.695e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.7e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Less): time 0.001381/0.001408, allocations: 0.8338 MB / 0.6201 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008648/0.002273, allocations: 0.9211 MB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.703e-05/0.00236, allocations: 3.938 kB / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.002474, allocations: 15.86 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.509e-05/0.002509, allocations: 15.88 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.002709, allocations: 43.83 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.002821, allocations: 103.7 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.002936, allocations: 31.97 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.00309, allocations: 67.75 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.003143, allocations: 23.97 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.00316, allocations: 11.94 kB / 0.6214 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.334e-05/0.003203, allocations: 15.98 kB / 0.6214 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.003219, allocations: 11.98 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.003246, allocations: 27.92 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.003394, allocations: 115.5 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003396, allocations: 0 / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.232e-06/0.003397, allocations: 0 / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.003402, allocations: 0 / 0.6215 GB, free: 10.91 MB / 0.5886 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.0004153/0.003817, allocations: 334 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.003853, allocations: 9.469 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.003967, allocations: 20.88 kB / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.004168, allocations: 145.5 kB / 0.622 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.004181, allocations: 8.375 kB / 0.622 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.004191, allocations: 4.375 kB / 0.622 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.004349, allocations: 90.2 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.004357, allocations: 192 / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.004369, allocations: 8.375 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.004373, allocations: 4.375 kB / 0.6221 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.004497, allocations: 71.88 kB / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.004837, allocations: 288.2 kB / 0.6225 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.004976, allocations: 62.48 kB / 0.6225 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.005034, allocations: 32.92 kB / 0.6225 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.005048, allocations: 4 kB / 0.6225 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.005068, allocations: 42.5 kB / 0.6226 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.005069, allocations: 0 / 0.6226 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002625/0.005332, allocations: 113.6 kB / 0.6227 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.005361, allocations: 55.41 kB / 0.6228 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.97e-05/0.00543, allocations: 131.9 kB / 0.6229 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.005443, allocations: 25.7 kB / 0.6229 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.00549, allocations: 104.1 kB / 0.623 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.005507, allocations: 19.84 kB / 0.623 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.005538, allocations: 21.7 kB / 0.623 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.614e-05/0.005614, allocations: 326.7 kB / 0.6234 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.89e-05/0.005673, allocations: 31.92 kB / 0.6234 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.294e-05/0.005726, allocations: 31.97 kB / 0.6234 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.005828, allocations: 56.81 kB / 0.6235 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005829, allocations: 0 / 0.6235 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000134/0.005963, allocations: 97.59 kB / 0.6236 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.005975, allocations: 4 kB / 0.6236 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.005978, allocations: 0 / 0.6236 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.005989, allocations: 0 / 0.6236 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.006053, allocations: 15.92 kB / 0.6236 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.006058, allocations: 4 kB / 0.6236 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.006106, allocations: 19.97 kB / 0.6236 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.006113, allocations: 0 / 0.6236 GB, free: 8.602 MB / 0.5886 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 6.126e-05/0.006175, allocations: 118.8 kB / 0.6237 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.006191, allocations: 7.953 kB / 0.6237 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.006215, allocations: 16.33 kB / 0.6237 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.006217, allocations: 0 / 0.6237 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.00622, allocations: 0 / 0.6237 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.006223, allocations: 192 / 0.6237 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.006326, allocations: 133.4 kB / 0.6239 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.006329, allocations: 8 kB / 0.6239 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/0.006365, allocations: 15.97 kB / 0.6239 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.006367, allocations: 0 / 0.6239 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.006374, allocations: 0 / 0.6239 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.006374, allocations: 0 / 0.6239 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006375, allocations: 0 / 0.6239 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.006537, allocations: 195.3 kB / 0.6241 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.467e-06/0.006546, allocations: 7.938 kB / 0.6241 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.006562, allocations: 8 kB / 0.6241 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.776e-05/0.00662, allocations: 11.98 kB / 0.6241 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.006664, allocations: 15.97 kB / 0.6241 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.006668, allocations: 0 / 0.6241 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.006708, allocations: 101.3 kB / 0.6242 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006708, allocations: 3.938 kB / 0.6242 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001492/0.006857, allocations: 15.94 kB / 0.6242 GB, free: 7.895 MB / 0.5886 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 9.066e-05/0.006948, allocations: 95.25 kB / 0.6243 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.00735, allocations: 67.94 kB / 0.6244 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007351, allocations: 7.875 kB / 0.6244 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-05/0.007409, allocations: 35.97 kB / 0.6244 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.007602, allocations: 15.83 kB / 0.6244 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.00791, allocations: 203 kB / 0.6246 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.914e-05/0.007959, allocations: 75.33 kB / 0.6247 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.007998, allocations: 20.48 kB / 0.6247 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of SimCode: time 3.3e-07/0.007999, allocations: 0 / 0.6247 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of Templates: time 0.001755/0.009754, allocations: 1.157 MB / 0.6259 GB, free: 6.168 MB / 0.5886 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: 4.781745715066791] Failed to read output from testmodel.py, exit status != 0: 0.015487151220440865 0.024032711000000002 0.018680258 Calling exit ...