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.0006266/0.0006266, allocations: 77.11 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009046/0.001531, allocations: 444 kB / 10.41 MB, free: 276 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.0006967/0.0006967, allocations: 161.2 kB / 11.33 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009166/0.001613, allocations: 475.5 kB / 11.8 MB, free: 2.367 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.9949/0.9949, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08989/1.085, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.8478/0.8478, allocations: 155.3 MB / 399.5 MB, free: 15.82 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.2925/1.14, allocations: 49.13 MB / 448.6 MB, free: 5.93 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 1.753e-06/1.753e-06, allocations: 0 / 450 MB, free: 4.613 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.704e-05, allocations: 4.844 kB / 450 MB, free: 4.609 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001723/0.00175, allocations: 0.81 MB / 450.8 MB, free: 3.836 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008356/0.002585, allocations: 0.9246 MB / 451.7 MB, free: 2.898 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.002634, allocations: 0 / 451.7 MB, free: 2.898 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.002669, allocations: 8.781 kB / 451.7 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.819e-05/0.002727, allocations: 6.781 kB / 451.7 MB, free: 2.887 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.002838, allocations: 45.03 kB / 451.8 MB, free: 2.844 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.002952, allocations: 80.08 kB / 451.8 MB, free: 2.777 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.003049, allocations: 30.72 kB / 451.9 MB, free: 2.75 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.003174, allocations: 56 kB / 451.9 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.402e-05/0.003258, allocations: 42.67 kB / 452 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.003288, allocations: 12.81 kB / 452 MB, free: 2.648 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.003303, allocations: 8.875 kB / 452 MB, free: 2.641 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.003325, allocations: 10.62 kB / 452 MB, free: 2.633 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.00336, allocations: 18.95 kB / 452 MB, free: 2.617 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.003473, allocations: 53.3 kB / 452.1 MB, free: 2.566 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.451e-05/0.003487, allocations: 0.7812 kB / 452.1 MB, free: 2.566 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003488, allocations: 0 / 452.1 MB, free: 2.566 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.003498, allocations: 4.938 kB / 452.1 MB, free: 2.562 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.0004542/0.003952, allocations: 290.4 kB / 452.4 MB, free: 2.258 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.003985, allocations: 10 kB / 452.4 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.004025, allocations: 12.92 kB / 452.4 MB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.004133, allocations: 117.6 kB / 452.5 MB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.004155, allocations: 8.375 kB / 452.5 MB, free: 2.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.004171, allocations: 4.375 kB / 452.5 MB, free: 2.086 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.004347, allocations: 93.58 kB / 452.6 MB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.004356, allocations: 3.938 kB / 452.6 MB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.004365, allocations: 0.9062 kB / 452.6 MB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.004371, allocations: 0 / 452.6 MB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.342e-05/0.004415, allocations: 24.92 kB / 452.6 MB, free: 1.961 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.004746, allocations: 205.5 kB / 452.8 MB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.005047, allocations: 63.83 kB / 452.9 MB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.005076, allocations: 17.36 kB / 452.9 MB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.005099, allocations: 5.562 kB / 452.9 MB, free: 1.652 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.005124, allocations: 34.5 kB / 452.9 MB, free: 1.609 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.005125, allocations: 0 / 452.9 MB, free: 1.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001693/0.005294, allocations: 66.34 kB / 453 MB, free: 1.539 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.005326, allocations: 51.41 kB / 453.1 MB, free: 1.477 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.501e-05/0.005401, allocations: 127.7 kB / 453.2 MB, free: 1.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.005415, allocations: 25.7 kB / 453.2 MB, free: 1.309 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.005471, allocations: 92.08 kB / 453.3 MB, free: 1.215 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.005515, allocations: 24.41 kB / 453.3 MB, free: 1.191 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.005554, allocations: 27.88 kB / 453.4 MB, free: 1.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.005657, allocations: 322.8 kB / 453.7 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.005681, allocations: 7.984 kB / 453.7 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.005702, allocations: 11.94 kB / 453.7 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.581e-05/0.005758, allocations: 29.3 kB / 453.7 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.005765, allocations: 5.344 kB / 453.7 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000101/0.005866, allocations: 65.66 kB / 453.8 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.005883, allocations: 7.984 kB / 453.8 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.005887, allocations: 0.5312 kB / 453.8 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.005903, allocations: 1.281 kB / 453.8 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.006007, allocations: 19.98 kB / 453.8 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.006012, allocations: 3.938 kB / 453.8 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.585e-05/0.006048, allocations: 12.67 kB / 453.8 MB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.006054, allocations: 0 / 453.8 MB, free: 0.668 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.414e-05/0.006128, allocations: 115 kB / 453.9 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.006148, allocations: 9.062 kB / 453.9 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.006278, allocations: 67.34 kB / 454 MB, free: 480 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.006281, allocations: 4 kB / 454 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006282, allocations: 0.625 kB / 454 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.006286, allocations: 0.625 kB / 454 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.006398, allocations: 93.81 kB / 454.1 MB, free: 364 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.006399, allocations: 0.9375 kB / 454.1 MB, free: 364 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.788e-05/0.006467, allocations: 27.92 kB / 454.1 MB, free: 336 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.006478, allocations: 9.641 kB / 454.1 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.006481, allocations: 0 / 454.1 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.006488, allocations: 4 kB / 454.2 MB, free: 324 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.006491, allocations: 0 / 454.2 MB, free: 324 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.006492, allocations: 0 / 454.2 MB, free: 324 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.006621, allocations: 165.3 kB / 454.3 MB, free: 144 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.006634, allocations: 0 / 454.3 MB, free: 144 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.062e-05/0.006685, allocations: 8.984 kB / 454.3 MB, free: 136 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.00675, allocations: 23.97 kB / 454.3 MB, free: 112 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.006755, allocations: 4.531 kB / 454.4 MB, free: 108 kB / 426.7 MB Notification: Performance of sorting global known variables: time 2.313e-05/0.006778, allocations: 17.5 kB / 454.4 MB, free: 88 kB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006778, allocations: 5.25 kB / 454.4 MB, free: 84 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001306/0.006909, allocations: 19.89 kB / 454.4 MB, free: 64 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 0.000139/0.007048, allocations: 89 kB / 454.5 MB, free: 15.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.007155, allocations: 34.05 kB / 454.5 MB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.007164, allocations: 4 kB / 454.5 MB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.875e-05/0.007213, allocations: 25.91 kB / 454.5 MB, free: 15.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.007429, allocations: 75.94 kB / 454.6 MB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.007919, allocations: 170.9 kB / 454.8 MB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.673e-05/0.007955, allocations: 59.22 kB / 454.8 MB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.551e-05/0.008001, allocations: 19.11 kB / 454.9 MB, free: 15.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.973e-05/0.008091, allocations: 68.67 kB / 454.9 MB, free: 15.46 MB / 442.7 MB Notification: Performance of SimCode: time 6.32e-07/0.008091, allocations: 0 / 454.9 MB, free: 15.46 MB / 442.7 MB Notification: Performance of Templates: time 0.004087/0.01218, allocations: 1.674 MB / 456.6 MB, free: 13.9 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.6648957822471857]