Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.0007318/0.0007318, allocations: 72.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.0007067/0.0007067, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.835/0.835, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.6611/0.6611, allocations: 154.6 MB / 414.5 MB, free: 0.8242 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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.809e-05, allocations: 5.672 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001582/0.00161, allocations: 0.6862 MB / 0.62 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007402/0.00235, allocations: 0.851 MB / 0.6208 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.002372, allocations: 0 / 0.6208 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.002389, allocations: 3.938 kB / 0.6208 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.944e-05/0.002428, allocations: 3.938 kB / 0.6208 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 9.339e-05/0.002521, allocations: 31.84 kB / 0.6208 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.828e-05/0.00257, allocations: 39.92 kB / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.794e-05/0.002628, allocations: 15.97 kB / 0.6209 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.454e-05/0.002672, allocations: 27.92 kB / 0.6209 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.208e-05/0.002704, allocations: 19.97 kB / 0.6209 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.00272, allocations: 4 kB / 0.6209 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.642e-06/0.002726, allocations: 4 kB / 0.6209 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.00274, allocations: 19.92 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.002756, allocations: 11.98 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.342e-05/0.00282, allocations: 51.78 kB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.002821, allocations: 0 / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002822, allocations: 0 / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.535e-06/0.002824, allocations: 0 / 0.621 GB, free: 11.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002937/0.003118, allocations: 282.3 kB / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.003145, allocations: 13.47 kB / 0.6213 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.71e-05/0.003162, allocations: 4.891 kB / 0.6213 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.371e-05/0.003225, allocations: 113.7 kB / 0.6214 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.003235, allocations: 4.375 kB / 0.6214 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.003244, allocations: 4.375 kB / 0.6214 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.797e-05/0.003342, allocations: 66.22 kB / 0.6215 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.003347, allocations: 7.875 kB / 0.6215 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.003354, allocations: 0 / 0.6215 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-06/0.003355, allocations: 0 / 0.6215 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.003458, allocations: 51.95 kB / 0.6215 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.003676, allocations: 236.4 kB / 0.6218 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.00378, allocations: 70.5 kB / 0.6218 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.00383, allocations: 32.88 kB / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.003839, allocations: 0 / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.003854, allocations: 34.56 kB / 0.6219 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 4.61e-07/0.003854, allocations: 0 / 0.6219 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002921/0.004147, allocations: 109.6 kB / 0.622 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.004171, allocations: 51.41 kB / 0.6221 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.148e-05/0.004222, allocations: 113.8 kB / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.004235, allocations: 25.7 kB / 0.6222 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.004269, allocations: 88.03 kB / 0.6223 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.004284, allocations: 15.94 kB / 0.6223 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.004309, allocations: 17.72 kB / 0.6223 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.004381, allocations: 314.8 kB / 0.6226 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.004427, allocations: 23.98 kB / 0.6226 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/0.00447, allocations: 27.97 kB / 0.6226 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.769e-05/0.004558, allocations: 52.81 kB / 0.6227 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.004559, allocations: 3.938 kB / 0.6227 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001131/0.004673, allocations: 85.55 kB / 0.6228 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.004681, allocations: 4 kB / 0.6228 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.004684, allocations: 4 kB / 0.6228 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.481e-06/0.004689, allocations: 0 / 0.6228 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.957e-05/0.004739, allocations: 11.98 kB / 0.6228 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.004743, allocations: 7.984 kB / 0.6228 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.801e-05/0.004771, allocations: 4 kB / 0.6228 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.004776, allocations: 3.984 kB / 0.6228 GB, free: 9.355 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: 2 (reaToInt.y,intLesThr.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 5.758e-05/0.004833, allocations: 118.8 kB / 0.6229 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.004846, allocations: 0 / 0.6229 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.647e-05/0.004863, allocations: 12 kB / 0.6229 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.004864, allocations: 8 kB / 0.623 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.004867, allocations: 0 / 0.623 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.004869, allocations: 0 / 0.623 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.899e-05/0.004958, allocations: 113.3 kB / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.004959, allocations: 3.938 kB / 0.6231 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.004995, allocations: 15.98 kB / 0.6231 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.004997, allocations: 7.938 kB / 0.6231 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.005003, allocations: 3.984 kB / 0.6231 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005003, allocations: 0 / 0.6231 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005004, allocations: 3.938 kB / 0.6231 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.005148, allocations: 179.8 kB / 0.6233 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.005159, allocations: 19.83 kB / 0.6233 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.005167, allocations: 0 / 0.6233 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.477e-05/0.005212, allocations: 7.984 kB / 0.6233 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.005247, allocations: 11.98 kB / 0.6233 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.00525, allocations: 3.938 kB / 0.6233 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.441e-05/0.005284, allocations: 95.56 kB / 0.6234 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005284, allocations: 0 / 0.6234 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001307/0.005415, allocations: 8 kB / 0.6234 GB, free: 8.691 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 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * 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 5.199e-05/0.005467, allocations: 95.25 kB / 0.6235 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.005588, allocations: 55.89 kB / 0.6236 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.00559, allocations: 4 kB / 0.6236 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.745e-05/0.005647, allocations: 27.97 kB / 0.6236 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.005803, allocations: 7.938 kB / 0.6236 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.006132, allocations: 154.6 kB / 0.6237 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.006167, allocations: 63.34 kB / 0.6238 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.006202, allocations: 24.42 kB / 0.6238 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.006203, allocations: 0 / 0.6238 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of Templates: time 0.001181/0.007384, allocations: 0.8345 MB / 0.6246 GB, free: 7.383 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8412793427705765] Failed to read output from testmodel.py, exit status != 0: 0.011740061454474926 0.018289955 0.014042579000000001 Calling exit ...