Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.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.000737/0.000737, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001055/0.001792, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.0007173/0.0007173, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009205/0.001638, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 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.9916/0.9916, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1309/1.123, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7901/0.7901, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2789/1.069, allocations: 49.14 MB / 448.4 MB, free: 6.027 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 449.7 MB, free: 4.742 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.438e-05, allocations: 6.5 kB / 449.7 MB, free: 4.738 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001665/0.00168, allocations: 0.805 MB / 450.5 MB, free: 3.973 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009808/0.002661, allocations: 0.9141 MB / 451.4 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.002698, allocations: 3.938 kB / 451.4 MB, free: 3.043 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.002727, allocations: 3.938 kB / 451.4 MB, free: 3.039 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.712e-05/0.002785, allocations: 19.31 kB / 451.4 MB, free: 3.023 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.002896, allocations: 41.8 kB / 451.5 MB, free: 2.984 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.003016, allocations: 88.39 kB / 451.6 MB, free: 2.91 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.58e-05/0.003112, allocations: 19.97 kB / 451.6 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.003255, allocations: 68.61 kB / 451.6 MB, free: 2.832 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.841e-05/0.003344, allocations: 38.78 kB / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.003375, allocations: 9.406 kB / 451.7 MB, free: 2.789 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.00339, allocations: 8.547 kB / 451.7 MB, free: 2.781 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.003415, allocations: 18.12 kB / 451.7 MB, free: 2.766 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.003448, allocations: 12 kB / 451.7 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.003747, allocations: 56.3 kB / 451.8 MB, free: 2.699 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-05/0.003763, allocations: 0.625 kB / 451.8 MB, free: 2.699 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003763, allocations: 4 kB / 451.8 MB, free: 2.695 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.003782, allocations: 1.906 kB / 451.8 MB, free: 2.695 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004978/0.00428, allocations: 286.4 kB / 452.1 MB, free: 2.395 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.004315, allocations: 12.03 kB / 452.1 MB, free: 2.383 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.004354, allocations: 8.922 kB / 452.1 MB, free: 2.375 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.004457, allocations: 122.6 kB / 452.2 MB, free: 2.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.004479, allocations: 4.375 kB / 452.2 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.004493, allocations: 4.375 kB / 452.2 MB, free: 2.223 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.004675, allocations: 88.89 kB / 452.3 MB, free: 2.129 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.004683, allocations: 8.75 kB / 452.3 MB, free: 2.121 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.004695, allocations: 4 kB / 452.3 MB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.004702, allocations: 4.5 kB / 452.3 MB, free: 2.113 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.223e-05/0.004764, allocations: 16.48 kB / 452.3 MB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.005111, allocations: 201.4 kB / 452.5 MB, free: 1.887 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.005406, allocations: 68.11 kB / 452.6 MB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.005443, allocations: 14.83 kB / 452.6 MB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.005465, allocations: 4 kB / 452.6 MB, free: 1.793 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.617e-05/0.005552, allocations: 34.56 kB / 452.7 MB, free: 1.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.005553, allocations: 0 / 452.7 MB, free: 1.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001769/0.00573, allocations: 62.23 kB / 452.7 MB, free: 1.684 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.005766, allocations: 59.34 kB / 452.8 MB, free: 1.613 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.005842, allocations: 123.3 kB / 452.9 MB, free: 1.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.005857, allocations: 30.77 kB / 452.9 MB, free: 1.445 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.005901, allocations: 92.03 kB / 453 MB, free: 1.352 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.005929, allocations: 27.77 kB / 453 MB, free: 1.324 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.005972, allocations: 22.42 kB / 453.1 MB, free: 1.297 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.006062, allocations: 318.8 kB / 453.4 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.752e-05/0.006089, allocations: 12.89 kB / 453.4 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.299e-05/0.006112, allocations: 4 kB / 453.4 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.119e-05/0.006184, allocations: 37.88 kB / 453.4 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.006187, allocations: 5.375 kB / 453.4 MB, free: 0.918 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001006/0.006288, allocations: 57.61 kB / 453.5 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.0063, allocations: 4 kB / 453.5 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.006307, allocations: 8.766 kB / 453.5 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.006316, allocations: 0.9375 kB / 453.5 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.00643, allocations: 21.42 kB / 453.5 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.006434, allocations: 8 kB / 453.5 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.006482, allocations: 7.984 kB / 453.5 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.006489, allocations: 0.8438 kB / 453.5 MB, free: 0.8086 MB / 426.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 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.829e-05/0.006557, allocations: 113.8 kB / 453.7 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.006587, allocations: 12.64 kB / 453.7 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.006723, allocations: 74.86 kB / 453.7 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.006725, allocations: 0.625 kB / 453.7 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.006727, allocations: 0 / 453.7 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.00673, allocations: 1.5 kB / 453.7 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.006872, allocations: 93.94 kB / 453.8 MB, free: 496 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.006874, allocations: 1.219 kB / 453.8 MB, free: 496 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.046e-05/0.006964, allocations: 22.08 kB / 453.9 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.006978, allocations: 15.92 kB / 453.9 MB, free: 460 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.006979, allocations: 0 / 453.9 MB, free: 460 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.006986, allocations: 0 / 453.9 MB, free: 460 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.006987, allocations: 0 / 453.9 MB, free: 460 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.006989, allocations: 0 / 453.9 MB, free: 460 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.007117, allocations: 156.1 kB / 454 MB, free: 288 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.007133, allocations: 4.906 kB / 454 MB, free: 284 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.007214, allocations: 11.98 kB / 454 MB, free: 272 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.007277, allocations: 25.09 kB / 454.1 MB, free: 248 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.007284, allocations: 0 / 454.1 MB, free: 248 kB / 426.7 MB Notification: Performance of sorting global known variables: time 2.514e-05/0.007309, allocations: 24.83 kB / 454.1 MB, free: 220 kB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007309, allocations: 0 / 454.1 MB, free: 220 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.007519, allocations: 20.52 kB / 454.1 MB, free: 200 kB / 426.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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 8.504e-05/0.007604, allocations: 81.67 kB / 454.2 MB, free: 112 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.007713, allocations: 37.36 kB / 454.2 MB, free: 72 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.007722, allocations: 7.984 kB / 454.2 MB, free: 64 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.145e-05/0.007773, allocations: 29.34 kB / 454.3 MB, free: 32 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.007975, allocations: 21.42 kB / 454.3 MB, free: 12 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006062/0.008581, allocations: 166.1 kB / 454.4 MB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.005e-05/0.008621, allocations: 63.2 kB / 454.5 MB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.564e-05/0.008687, allocations: 15.19 kB / 454.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.557e-05/0.008782, allocations: 68.67 kB / 454.6 MB, free: 15.67 MB / 442.7 MB Notification: Performance of SimCode: time 6.12e-07/0.008783, allocations: 0 / 454.6 MB, free: 15.67 MB / 442.7 MB Notification: Performance of Templates: time 0.003838/0.01262, allocations: 1.747 MB / 456.3 MB, free: 14.04 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.633503525517881]