Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008174/0.0008174, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001222/0.00204, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008869/0.0008869, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.001981, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.066/1.066, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1224/1.189, allocations: 53.65 MB / 243.2 MB, free: 15.61 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8093/0.8093, allocations: 154.5 MB / 398.5 MB, free: 0.5273 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2799/1.089, allocations: 49.05 MB / 447.6 MB, free: 6.715 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/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_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_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0.6562 kB / 448.9 MB, free: 5.426 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.499e-05, allocations: 3.438 kB / 448.9 MB, free: 5.422 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.002163/0.002188, allocations: 0.8001 MB / 449.7 MB, free: 4.664 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.003296, allocations: 0.9156 MB / 450.6 MB, free: 3.738 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.003338, allocations: 0.9062 kB / 450.6 MB, free: 3.738 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.003366, allocations: 7.875 kB / 450.6 MB, free: 3.73 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.865e-05/0.003425, allocations: 16.81 kB / 450.6 MB, free: 3.719 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001115/0.003536, allocations: 35.89 kB / 450.7 MB, free: 3.684 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.00366, allocations: 86.56 kB / 450.7 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.003762, allocations: 28.72 kB / 450.8 MB, free: 3.582 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.003905, allocations: 61.03 kB / 450.8 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.396e-05/0.003999, allocations: 42.23 kB / 450.9 MB, free: 3.488 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.004032, allocations: 9.719 kB / 450.9 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.909e-05/0.004051, allocations: 9.312 kB / 450.9 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.004074, allocations: 10.52 kB / 450.9 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.004116, allocations: 21.47 kB / 450.9 MB, free: 3.445 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.004247, allocations: 51.81 kB / 451 MB, free: 3.395 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.826e-05/0.004265, allocations: 0.5312 kB / 451 MB, free: 3.395 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004266, allocations: 1.562 kB / 451 MB, free: 3.395 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.004288, allocations: 0 / 451 MB, free: 3.395 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.0005383/0.004826, allocations: 294.4 kB / 451.3 MB, free: 3.086 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.004861, allocations: 8.031 kB / 451.3 MB, free: 3.078 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.004899, allocations: 11.34 kB / 451.3 MB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.005012, allocations: 123.4 kB / 451.4 MB, free: 2.926 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.005039, allocations: 8.375 kB / 451.4 MB, free: 2.918 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.005053, allocations: 4.375 kB / 451.4 MB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.005264, allocations: 93.77 kB / 451.5 MB, free: 2.816 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.005276, allocations: 4.906 kB / 451.5 MB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.005288, allocations: 0 / 451.5 MB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.005296, allocations: 2.781 kB / 451.5 MB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.371e-05/0.00537, allocations: 27.86 kB / 451.5 MB, free: 2.785 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.005798, allocations: 196.1 kB / 451.7 MB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.006123, allocations: 64.31 kB / 451.8 MB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.006164, allocations: 16.86 kB / 451.8 MB, free: 2.488 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.006198, allocations: 4.562 kB / 451.8 MB, free: 2.484 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.006236, allocations: 38.55 kB / 451.9 MB, free: 2.438 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.006238, allocations: 2.625 kB / 451.9 MB, free: 2.438 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002319/0.00647, allocations: 65.66 kB / 451.9 MB, free: 2.367 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.006519, allocations: 51.41 kB / 452 MB, free: 2.305 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.006605, allocations: 126.7 kB / 452.1 MB, free: 2.168 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.00662, allocations: 25.7 kB / 452.1 MB, free: 2.137 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.006663, allocations: 92.08 kB / 452.2 MB, free: 2.043 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.00669, allocations: 20.91 kB / 452.2 MB, free: 2.023 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.006733, allocations: 25.7 kB / 452.3 MB, free: 1.992 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.006832, allocations: 322.8 kB / 452.6 MB, free: 1.668 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.577e-05/0.006858, allocations: 8.438 kB / 452.6 MB, free: 1.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.006881, allocations: 10.03 kB / 452.6 MB, free: 1.652 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.63e-05/0.006948, allocations: 36.95 kB / 452.6 MB, free: 1.613 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.006951, allocations: 3.938 kB / 452.6 MB, free: 1.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000104/0.007055, allocations: 67.33 kB / 452.7 MB, free: 1.539 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.007069, allocations: 4 kB / 452.7 MB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007073, allocations: 0.75 kB / 452.7 MB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.007082, allocations: 0 / 452.7 MB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.007193, allocations: 28.53 kB / 452.7 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.007196, allocations: 0 / 452.7 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.846e-05/0.007244, allocations: 5.312 kB / 452.7 MB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.007256, allocations: 7.984 kB / 452.7 MB, free: 1.496 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 7.109e-05/0.007327, allocations: 114.3 kB / 452.9 MB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.007354, allocations: 9.094 kB / 452.9 MB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.007485, allocations: 66.09 kB / 452.9 MB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.007487, allocations: 2.141 kB / 452.9 MB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.00749, allocations: 4 kB / 452.9 MB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.007495, allocations: 3.984 kB / 452.9 MB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.007634, allocations: 90.98 kB / 453 MB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.007635, allocations: 0 / 453 MB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.63e-05/0.007721, allocations: 25.34 kB / 453.1 MB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.007737, allocations: 15.92 kB / 453.1 MB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.007739, allocations: 0 / 453.1 MB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.007746, allocations: 0 / 453.1 MB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.007748, allocations: 4.781 kB / 453.1 MB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007749, allocations: 0 / 453.1 MB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.007878, allocations: 160.9 kB / 453.2 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.007892, allocations: 0 / 453.2 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.007965, allocations: 4 kB / 453.2 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.008028, allocations: 21.66 kB / 453.3 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.008037, allocations: 7.984 kB / 453.3 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.348e-05/0.008061, allocations: 23.27 kB / 453.3 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008061, allocations: 0 / 453.3 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.008284, allocations: 19.89 kB / 453.3 MB, free: 0.8945 MB / 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.446e-05/0.008368, allocations: 86.28 kB / 453.4 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.008479, allocations: 36.84 kB / 453.4 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.008484, allocations: 0.625 kB / 453.4 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.39e-05/0.008538, allocations: 29.41 kB / 453.5 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.008747, allocations: 22.58 kB / 453.5 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.009229, allocations: 170.6 kB / 453.6 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.068e-05/0.00927, allocations: 59.36 kB / 453.7 MB, free: 456 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.009331, allocations: 19.73 kB / 453.7 MB, free: 440 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.357e-05/0.009425, allocations: 64.58 kB / 453.8 MB, free: 376 kB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/0.009426, allocations: 4 kB / 453.8 MB, free: 372 kB / 426.7 MB Notification: Performance of Templates: time 0.00429/0.01372, allocations: 1.738 MB / 455.5 MB, free: 14.73 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.623858300037682]