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.0009774/0.0009774, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001003/0.001003, allocations: 173 kB / 23.36 MB, free: 1.133 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.987/0.987, allocations: 177.1 MB / 203.8 MB, free: 5.457 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-535:34: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-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 master/package.mo): time 0.8506/0.8506, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 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.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.282e-06/1.282e-06, allocations: 0 / 480.4 MB, free: 6.539 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.221e-05, allocations: 2.844 kB / 480.4 MB, free: 6.535 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001971/0.001993, allocations: 0.7547 MB / 481.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.003223, allocations: 0.9176 MB / 482 MB, free: 4.891 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.003275, allocations: 5.781 kB / 482 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.616e-05/0.003311, allocations: 3.938 kB / 482 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.003426, allocations: 14.72 kB / 482.1 MB, free: 4.871 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.00365, allocations: 39.88 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.003823, allocations: 88.27 kB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.003938, allocations: 23.95 kB / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.004092, allocations: 52 kB / 482.3 MB, free: 4.688 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.136e-05/0.004184, allocations: 34.47 kB / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.004217, allocations: 8.875 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.823e-05/0.004235, allocations: 8.812 kB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.004276, allocations: 32.66 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.004315, allocations: 21.11 kB / 482.4 MB, free: 4.59 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.004526, allocations: 71.72 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.00453, allocations: 0 / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.004531, allocations: 0.6875 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.004536, allocations: 0 / 482.4 MB, free: 4.52 MB / 442.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.0004964/0.005032, allocations: 281.5 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.005079, allocations: 9.188 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.005126, allocations: 8.938 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.00526, allocations: 121.6 kB / 482.8 MB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.005285, allocations: 5.344 kB / 482.9 MB, free: 4.062 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.005308, allocations: 8.375 kB / 482.9 MB, free: 4.055 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.005537, allocations: 93.75 kB / 483 MB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.005551, allocations: 3.938 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.005567, allocations: 8.625 kB / 483 MB, free: 3.945 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.005577, allocations: 4 kB / 483 MB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.326e-05/0.00564, allocations: 17.3 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.006067, allocations: 196.8 kB / 483.2 MB, free: 3.719 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.006407, allocations: 71.69 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.006444, allocations: 12.86 kB / 483.3 MB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.006466, allocations: 1.062 kB / 483.3 MB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.006499, allocations: 30.56 kB / 483.3 MB, free: 3.586 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 2.675e-06/0.006501, allocations: 4 kB / 483.3 MB, free: 3.582 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002156/0.006717, allocations: 74.53 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.006762, allocations: 52.09 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.077e-05/0.006853, allocations: 129.1 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.00687, allocations: 30.3 kB / 483.6 MB, free: 3.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.006919, allocations: 97.48 kB / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.006947, allocations: 15.86 kB / 483.7 MB, free: 3.156 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.007006, allocations: 29.69 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.007147, allocations: 314.8 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.715e-05/0.007184, allocations: 12.77 kB / 484 MB, free: 2.793 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.576e-05/0.00721, allocations: 4 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.524e-05/0.007295, allocations: 38.2 kB / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.0073, allocations: 3.938 kB / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001556/0.007456, allocations: 58.97 kB / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.007481, allocations: 8 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.00749, allocations: 0.8438 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.00751, allocations: 0 / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.007656, allocations: 16.64 kB / 484.2 MB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.007661, allocations: 0 / 484.2 MB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.007724, allocations: 16.48 kB / 484.2 MB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.007735, allocations: 9.234 kB / 484.2 MB, free: 2.641 MB / 442.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 0.0001231/0.007858, allocations: 113.7 kB / 484.3 MB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.007892, allocations: 4 kB / 484.3 MB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.008104, allocations: 79.56 kB / 484.4 MB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.008111, allocations: 4 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.008114, allocations: 0.625 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.00812, allocations: 0 / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.008299, allocations: 86.45 kB / 484.5 MB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.008302, allocations: 0.625 kB / 484.5 MB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.745e-05/0.0084, allocations: 19.97 kB / 484.5 MB, free: 2.309 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.008404, allocations: 4.562 kB / 484.5 MB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.008417, allocations: 4.625 kB / 484.5 MB, free: 2.301 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.00842, allocations: 3.938 kB / 484.5 MB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.008423, allocations: 4.938 kB / 484.5 MB, free: 2.293 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.008597, allocations: 155.5 kB / 484.7 MB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.008612, allocations: 9.453 kB / 484.7 MB, free: 2.117 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.008629, allocations: 7.984 kB / 484.7 MB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.00871, allocations: 12 kB / 484.7 MB, free: 2.098 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.008776, allocations: 19.97 kB / 484.7 MB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.008783, allocations: 0.9062 kB / 484.7 MB, free: 2.078 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.484e-05/0.008808, allocations: 16.84 kB / 484.7 MB, free: 2.059 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008808, allocations: 2.031 kB / 484.7 MB, free: 2.059 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.00902, allocations: 16 kB / 484.7 MB, free: 2.043 MB / 442.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.0001248/0.009144, allocations: 80.41 kB / 484.8 MB, free: 1.957 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.00926, allocations: 37.67 kB / 484.9 MB, free: 1.918 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.009263, allocations: 0 / 484.9 MB, free: 1.918 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.443e-05/0.009317, allocations: 34.28 kB / 484.9 MB, free: 1.883 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.009538, allocations: 19.92 kB / 484.9 MB, free: 1.863 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.009911, allocations: 167.3 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.297e-05/0.009954, allocations: 59.34 kB / 485.1 MB, free: 1.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.51e-05/0.01001, allocations: 12.19 kB / 485.1 MB, free: 1.582 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.55e-05/0.0101, allocations: 67.36 kB / 485.2 MB, free: 1.516 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01011, allocations: 0 / 485.2 MB, free: 1.516 MB / 442.7 MB Notification: Performance of Templates: time 0.004297/0.0144, allocations: 1.692 MB / 486.9 MB, free: 15.92 MB / 458.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.6740165282972157]