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.001382/0.001382, allocations: 80.3 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001634/0.001634, allocations: 161 kB / 22.45 MB, free: 5.375 MB / 14.72 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.522/1.522, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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-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 1.238/1.238, allocations: 154.6 MB / 413.7 MB, free: 5.312 MB / 382.1 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.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.495e-06/2.495e-06, allocations: 3.938 kB / 0.6185 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.257e-05/3.507e-05, allocations: 4.797 kB / 0.6185 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001927/0.001962, allocations: 0.7388 MB / 0.6193 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.003391, allocations: 0.8898 MB / 0.6201 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.003443, allocations: 0 / 0.6201 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.00348, allocations: 3.938 kB / 0.6201 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.003586, allocations: 7.938 kB / 0.6201 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.003798, allocations: 47.81 kB / 0.6202 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.003934, allocations: 83.77 kB / 0.6203 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.004052, allocations: 15.98 kB / 0.6203 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.004189, allocations: 55.89 kB / 0.6203 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.027e-05/0.00428, allocations: 43.88 kB / 0.6204 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.004311, allocations: 8 kB / 0.6204 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.857e-05/0.004329, allocations: 8 kB / 0.6204 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.004365, allocations: 15.92 kB / 0.6204 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.004408, allocations: 27.95 kB / 0.6204 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.004582, allocations: 91.66 kB / 0.6205 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.004586, allocations: 4 kB / 0.6205 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.92e-07/0.004587, allocations: 0 / 0.6205 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.004592, allocations: 3.938 kB / 0.6205 GB, free: 2.602 MB / 0.5294 GB 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.0006811/0.005273, allocations: 326 kB / 0.6208 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.005314, allocations: 9.469 kB / 0.6209 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.00536, allocations: 12.88 kB / 0.6209 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.005509, allocations: 125.7 kB / 0.621 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.005527, allocations: 4.375 kB / 0.621 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.005548, allocations: 8.375 kB / 0.621 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.005876, allocations: 102.2 kB / 0.6211 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.005888, allocations: 3.938 kB / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.005903, allocations: 11.94 kB / 0.6211 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.00591, allocations: 4 kB / 0.6211 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.006297, allocations: 87.91 kB / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/0.006858, allocations: 272.3 kB / 0.6215 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/0.007503, allocations: 118.5 kB / 0.6216 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.007701, allocations: 52.88 kB / 0.6216 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.007725, allocations: 3.984 kB / 0.6216 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.007751, allocations: 38.55 kB / 0.6217 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.007752, allocations: 0 / 0.6217 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007058/0.008458, allocations: 185.5 kB / 0.6218 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.008503, allocations: 55.41 kB / 0.6219 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.008609, allocations: 121.8 kB / 0.622 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.008632, allocations: 25.7 kB / 0.622 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.008689, allocations: 92.03 kB / 0.6221 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.00872, allocations: 27.78 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.008772, allocations: 25.7 kB / 0.6222 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.008915, allocations: 322.7 kB / 0.6225 GB, free: 456 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.009109, allocations: 47.95 kB / 0.6225 GB, free: 408 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.009289, allocations: 48.25 kB / 0.6226 GB, free: 360 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.009658, allocations: 100.8 kB / 0.6227 GB, free: 256 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.00966, allocations: 0 / 0.6227 GB, free: 256 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004472/0.01011, allocations: 145.5 kB / 0.6228 GB, free: 104 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.01012, allocations: 7.984 kB / 0.6228 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01013, allocations: 0 / 0.6228 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.01015, allocations: 0 / 0.6228 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.01032, allocations: 23.97 kB / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.01033, allocations: 0 / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.01044, allocations: 11.98 kB / 0.6228 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.01046, allocations: 8 kB / 0.6229 GB, free: 52 kB / 0.5294 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 (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 0.0001412/0.0106, allocations: 118.8 kB / 0.623 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.01064, allocations: 11.94 kB / 0.623 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005256/0.01116, allocations: 150 kB / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01116, allocations: 0 / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.01117, allocations: 0 / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.01118, allocations: 8 kB / 0.6231 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.01138, allocations: 137.2 kB / 0.6233 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01138, allocations: 0 / 0.6233 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.01154, allocations: 23.97 kB / 0.6233 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01154, allocations: 0 / 0.6233 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.01156, allocations: 0 / 0.6233 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.01156, allocations: 3.984 kB / 0.6233 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01156, allocations: 0 / 0.6233 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/0.0121, allocations: 247.3 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.01212, allocations: 7.891 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.01215, allocations: 8 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.0123, allocations: 7.984 kB / 0.6235 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.01239, allocations: 23.97 kB / 0.6236 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.0124, allocations: 0 / 0.6236 GB, free: 15.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.265e-05/0.01247, allocations: 99.09 kB / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01247, allocations: 3.938 kB / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002314/0.01271, allocations: 16 kB / 0.6237 GB, free: 15.14 MB / 0.545 GB 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 0.0001605/0.01287, allocations: 103.2 kB / 0.6238 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004347/0.0133, allocations: 95.91 kB / 0.6239 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.0133, allocations: 4 kB / 0.6239 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.01352, allocations: 71.86 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.01387, allocations: 17.91 kB / 0.624 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.01435, allocations: 170.1 kB / 0.6241 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.674e-05/0.01444, allocations: 75.33 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.291e-05/0.0145, allocations: 12 kB / 0.6242 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.796e-05/0.01458, allocations: 24.48 kB / 0.6242 GB, free: 14.52 MB / 0.545 GB Notification: Performance of SimCode: time 3.8e-07/0.01458, allocations: 0 / 0.6242 GB, free: 14.52 MB / 0.545 GB Notification: Performance of Templates: time 0.004916/0.0195, allocations: 1.683 MB / 0.6259 GB, free: 12.87 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.917302303016186] Failed to read output from testmodel.py, exit status != 0: 0.028529439121484756 0.043088488 0.0352147 Calling exit ...